-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
56 lines (47 loc) · 1.03 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# EditorConfig: http://EditorConfig.org
# Top-most EditorConfig file
root = true
# Defaults for all editor files
[*]
insert_final_newline = true
indent_style = space
indent_size = 4
continuation_indent_size = 8
trim_trailing_whitespace = true
max_line_length = 120
# YAML is fussy about indenting and charset
[*.yml]
indent_style = space
indent_size = 2
continuation_indent_size = unset
charset = utf-8
# Markdown is fussy about indenting
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespaces = false
# Follow Google Style for TypeScript
[*.{ts,tsx}]
indent_style = space
indent_size = 2
continuation_indent_size = unset
charset = utf-8
# Python
[*.py]
indent_style = space
indent_size = 4
continuation_indent_size = unset
# Follow Kotlin Coding Conventions
[*.{kt,kts}]
indent_style = space
indent_size = 4
continuation_indent_size = 4
charset = utf-8
# Files with a smaller indent
[*.{xml,json}]
indent_style = space
indent_size = 2
continuation_indent_size = 4
# IntelliJ files
[{.idea/**,*.iml}]
insert_final_newline = false