forked from home-assistant/android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
30 lines (26 loc) · 771 Bytes
/
.editorconfig
File metadata and controls
30 lines (26 loc) · 771 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
root = true
[*]
charset = utf-8
indent_size = 4
indent_style = space
insert_final_newline = true
end_of_line = lf
trim_trailing_whitespace = true
[*.{yml,yaml}]
indent_size = 2
ij_yaml_spaces_within_braces = false
ij_yaml_spaces_within_brackets = false
[*.{kt,kts}]
ktlint_code_style = android_studio
# Disable wildcard imports
ij_kotlin_name_count_to_use_star_import = 9999
ij_kotlin_name_count_to_use_star_import_for_members = 9999
# ktlint overrides
ktlint_function_naming_ignore_when_annotated_with=Composable
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_allow_trailing_comma = true
# Disable converting functions to expression bodies
ktlint_standard_function-expression-body = disabled
max_line_length = 120
[**/test/**.kt]
max_line_length = off