-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy path.editorconfig
More file actions
44 lines (35 loc) · 684 Bytes
/
.editorconfig
File metadata and controls
44 lines (35 loc) · 684 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
38
39
40
41
42
43
44
# editorconfig
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
[*.cpp]
indent_style = space
indent_size = 2
[*.dart]
indent_style = space
indent_size = 2
# Groovy Gradle build scripts style (build.gradle files)
[*.gradle]
indent_style = space
indent_size = 4
[*.h]
indent_style = space
indent_size = 2
# Kotlin code style according to https://developer.android.com/kotlin/style-guide
[*.{kt, kts}]
indent_size = 4
max_line_length = 100
[*.java]
indent_style = space
indent_size = 2
tab_width = 2
max_line_length = 100
insert_final_newline = false
[*.m]
indent_style = space
indent_size = 2
[*.yml]
indent_size = 2