Skip to content

Commit b313d2f

Browse files
committed
choer: EditorConfig
1 parent 593b512 commit b313d2f

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.editorconfig

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = false
11+
12+
13+
# Windows files
14+
[*.{vbs,bat}]
15+
indent_style = space
16+
indent_size = 4
17+
end_of_line = crlf
18+
charset = sjis
19+
20+
21+
# 2 space indentation
22+
[*.{yml,js,json,jsx,ts,tsx,json,rst,html,scss,nim,nims,nimble}]
23+
indent_size = 2
24+
25+
# 4 space indentation
26+
[*.{py,php,md,rs}]
27+
indent_size = 4
28+
29+
# Tab indentation (no size specified)
30+
[*.{go,cfg}]
31+
indent_style = tab
32+
33+
[Makefile]
34+
indent_style = tab

0 commit comments

Comments
 (0)