forked from eclipse-kuksa/kuksa-android-companion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
32 lines (26 loc) · 871 Bytes
/
.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
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
[*.{java,kt,kts,xml}]
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
max_line_length = 120
[*.md]
trim_trailing_whitespace = false
[{version.txt,versioncode.txt}]
trim_trailing_whitespace = true
insert_final_newline = false
[*.{kt,kts}]
ktlint_code_style = ktlint_official
ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_annotation = disabled # false positive with @JvmOverloads and default constructor
ktlint_function_naming_ignore_when_annotated_with = Composable
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_string-template-indent = disabled
ktlint_standard_property-naming = disabled