forked from musicbeeremote/mbrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
34 lines (29 loc) · 846 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
33
34
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
[*.java]
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
[*.xml]
charset = utf-8
indent_style = space
indent_size = 2
continuation_indent_size = 4
trim_trailing_whitespace = true
[*.{kt,kts}]
# possible values: number (e.g. 2), "unset" (makes ktlint ignore indentation completely)
indent_size = 2
# possible values: number (e.g. 2), "unset"
continuation_indent_size = 2
# true (recommended) / false
insert_final_newline = unset
# possible values: number (e.g. 120) (package name, imports & comments are ignored), "off"
# it's automatically set to 100 on `ktlint --android ...` (per Android Kotlin Style Guide)
max_line_length = 100
[*.gradle]
indent_size = 2
continuation_indent_size = 2