Skip to content

Commit b654366

Browse files
committed
add editorconfig
1 parent 9521706 commit b654366

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.editorconfig

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_size = 4
7+
indent_style = space
8+
charset = utf-8
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.py]
14+
max_line_length = 88
15+
16+
[*.{html,css,scss,json,yml,xml,yaml}]
17+
indent_size = 2
18+
19+
[*.md]
20+
trim_trailing_whitespace = false
21+
22+
[*.json]
23+
indent_size = 2
24+
insert_final_newline = ignore
25+
26+
[*.min.js]
27+
indent_style = ignore
28+
indent_size = ignore
29+
30+
[*.bat]
31+
indent_style = tab
32+
33+
[docs/**.txt]
34+
max_line_length = 79
35+
36+
[Makefile]
37+
indent_style = tab
38+
39+
[default.conf]
40+
indent_size = 2
41+

0 commit comments

Comments
 (0)