-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
34 lines (27 loc) · 1.05 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
root = true
[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{java,kt,kts,scala,rs,xml,kt.spec,kts.spec}]
indent_size = 4
max_line_length = 120
[{*.gradle.kts,*.kt,*.kts,*.main.kts}]
ktlint_code_style = ktlint_official
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ktlint_function_naming_ignore_when_annotated_with = Composable
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_function-signature = disabled
kotlin_imports_layout = ascii
disabled_rules = import-ordering
[*.md]
trim_trailing_whitespace = false
# Starting from ktlint 0.34.2 There is a problem with import "import-ordering" rule - ktlint contradicts
# default AS import arrangement rules, so we have to disable ktlint it.
# See https://github.com/pinterest/ktlint/issues/527
# Since IDE complains about unknown `disabled_rules` key we have to disable it as well:
# noinspection EditorConfigKeyCorrectness
disabled_rules = no-wildcard-imports, experimental:annotation