|
|
@ -7,13 +7,18 @@ trim_trailing_whitespace = true |
|
|
|
max_line_length = 120 |
|
|
|
max_line_length = 120 |
|
|
|
indent_style = tab |
|
|
|
indent_style = tab |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Prevent IDEA from translating *.{kt,kts} -> *.{kt, kts}. This confuses ktlint. |
|
|
|
|
|
|
|
# @formatter:off |
|
|
|
[*.{kt,kts}] |
|
|
|
[*.{kt,kts}] |
|
|
|
|
|
|
|
# @formatter:on |
|
|
|
indent_style = space |
|
|
|
indent_style = space |
|
|
|
indent_size = 4 |
|
|
|
indent_size = 4 |
|
|
|
# see https://github.com/pinterest/ktlint/issues/527 |
|
|
|
# see https://github.com/pinterest/ktlint/issues/527 |
|
|
|
# noinspection EditorConfigKeyCorrectness |
|
|
|
# noinspection EditorConfigKeyCorrectness |
|
|
|
disabled_rules = import-ordering |
|
|
|
disabled_rules = import-ordering |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# @formatter:off |
|
|
|
[*.{xml,yaml,yml}] |
|
|
|
[*.{xml,yaml,yml}] |
|
|
|
|
|
|
|
# @formatter:on |
|
|
|
indent_style = space |
|
|
|
indent_style = space |
|
|
|
indent_size = 2 |
|
|
|
indent_size = 2 |
|
|
|