/
.editorconfig
121 lines (97 loc) · 1.79 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
tab_width = 8
indent_size = 4
indent_style = space
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace=true
# Specific file
[ChangeLog]
indent_size = 8
[[Mm]akefile]
indent_style = tab
indent_size = 4
max_line_length = null
[package.json]
indent_style = space
indent_size = 2
max_line_length = null
# Type of files
[*.css]
indent_style = tab
indent_size = 4
[*.gemspec]
indent_size = 2
[*.go]
indent_style = tab
indent_size = 4
[*.html]
indent_style = tab
indent_size = 4
[*.java]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.js]
indent_style = tab
indent_size = 2
[*.json]
max_line_length = null
[*.md]
trim_trailing_whitespace = false
max_line_length = null
[**.min.js]
indent_style = ignore
insert_final_newline = ignore
max_line_length = null
[*.php]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
[*.py]
indent_style = space
tab_width = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
max_line_length = 100
[*.rb]
indent_size = 2
[*.rs]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
[*.scss]
charset = utf-8
indent_size = 4
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.tex]
indent_style = space
indent_size = 3
charset = utf-8
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[{gitconfig,.gitconfig}]
indent_style = space
indent_size = 2
[ssh/*_config]
indent_style = tab
indent_size = 4