Skip to content

Commit c2b148e

Browse files
committed
🚨 add editorconfig
1 parent 8727171 commit c2b148e

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.editorconfig

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
quote_type = double
11+
max_line_length = 88
12+
indent_style = tab
13+
indent_size = 4
14+
15+
[*.{rst,md,markdown}]
16+
indent_style = tab
17+
indent_size = 4
18+
19+
[*.{yaml,yml,json}]
20+
indent_style = space
21+
indent_size = 2
22+
23+
[*.toml]
24+
indent_style = tab
25+
indent_size = 2
26+
27+
[*.{html,css,sass,scss}]
28+
indent_style = space
29+
indent_size = 2
30+
31+
[*.{js,coffee}]
32+
indent_style = space
33+
indent_size = 4
34+
35+
[*.sh]
36+
indent_style = tab
37+
indent_size = 4
38+
39+
[Makefile]
40+
indent_style = tab
41+
indent_size = 4
42+
43+
[*.py]
44+
indent_style = space
45+
indent_size = 4

0 commit comments

Comments
 (0)