Skip to content

Commit

Permalink
Add some ktlint properties
Browse files Browse the repository at this point in the history
Those settings mostly match the styling in the project. We
don't enforce those rules, they are just for convenience for
setups with a coresponding IDE plugin.
  • Loading branch information
jp7677 committed Oct 29, 2023
1 parent 1795f5d commit 0c9d82b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@ indent_style = space
[Dockerfile]
# indent_size = 4
indent_style = space

[*.{kt,kts}]
max_line_length = 160
ij_kotlin_allow_trailing_comma_on_call_site = false
ij_kotlin_allow_trailing_comma = false

ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_argument-list-wrapping = disabled
ktlint_standard_multiline_if_else = disabled

0 comments on commit 0c9d82b

Please sign in to comment.