forked from tuskyapp/Tusky
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.editorconfig
More file actions
37 lines (27 loc) · 979 Bytes
/
.editorconfig
File metadata and controls
37 lines (27 loc) · 979 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
32
33
34
35
36
37
root = true
[*]
charset = utf-8
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{java,kt}]
ij_kotlin_imports_layout = *
# Disable wildcard imports
ij_kotlin_name_count_to_use_star_import = 999
ij_kotlin_name_count_to_use_star_import_for_members = 999
ij_java_class_count_to_use_import_on_demand = 999
ktlint_code_style = android_studio
# Disable trailing comma
ktlint_standard_trailing-comma-on-call-site = disabled
ktlint_standard_trailing-comma-on-declaration-site = disabled
# Composable functions are allowed to start uppercase
ktlint_function_naming_ignore_when_annotated_with=Composable
# It is fine when a function body is just a return statement
ktlint_standard_function-expression-body = disabled
# Write functions and class signatures single or multiline, whatever
ktlint_standard_function-signature = disabled
ktlint_standard_class-signature = disabled
max_line_length = off
[*.{yml,yaml}]
indent_size = 2