-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.editorconfig
More file actions
21 lines (18 loc) · 782 Bytes
/
Copy path.editorconfig
File metadata and controls
21 lines (18 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# kotlin rules
[*.{kt,kts}]
indent_size = 4
indent_style = space
insert_final_newline = false
max_line_length = 120
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_imports_layout = *
ij_kotlin_packages_to_use_import_on_demand = java.util.*
ij_kotlin_name_count_to_use_star_import = 2147483647
ij_kotlin_name_count_to_use_star_import_for_members = 2147483647
# ktlint rules
ktlint_code_style = android_studio
# disable ktlint_standard_function-naming rule for @Composable functions
ktlint_function_naming_ignore_when_annotated_with = Composable
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 2
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 1