-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.editorconfig
More file actions
31 lines (24 loc) · 675 Bytes
/
.editorconfig
File metadata and controls
31 lines (24 loc) · 675 Bytes
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
# https://editorconfig.org/
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{java,kt,kts,xml}]
indent_size = 4
max_line_length = 150
[*.{kt,kts}]
# Compose function naming exception
ktlint_function_naming_ignore_when_annotated_with=Composable
# Disable other rules
ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_import-ordering = disabled
ktlint_standard_no-empty-file = disabled
ktlint_standard_filename = disabled
# Trailing commas
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
[*.md]
trim_trailing_whitespace = false