-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
78 lines (57 loc) · 1.05 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
trim_trailing_whitespace = true
[*.rs]
indent_size = 4
[*.{rb,erb}]
indent_size = 2
[*.{md,markdown}]
trim_trailing_whitespace = false
[*.sh]
end_of_line = lf
indent_size = 2
[*.{h,c,cc,cpp}]
indent_size = 2
[Makefile]
indent_style = tab
indent_size = 8
[*.make]
indent_style = tab
indent_size = 8
[*.diff]
trim_trailing_whitespace = false
[*.json]
indent_size = 2
[*.{js,jsx}]
indent_size = 2
[*.{ts,tsx}]
indent_size = 2
[*.{htm,html}]
indent_size = 2
[*.{css,sass,scss,less}]
indent_size = 2
[*.svg]
indent_size = 2
[*.toml]
indent_size = 4
[*.xml]
indent_size = 2
[*.{yml,yaml}]
indent_size = 2
[Dockerfile]
indent_size = 4
# Ignore paths
[**/{node_modules,target,vendor}/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
indent_size = unset
indent_style = unset
trim_trailing_whitespace = unset