Skip to content

Commit a0d4a20

Browse files
committedOct 25, 2019
Add .editorconfig file
1 parent 0d8e8bf commit a0d4a20

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
 

‎.editorconfig

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
indent_size = 4
6+
tab_width = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[{*.json,*.json.example,*.gyp,*.yml,*.yaml,*.workflow}]
13+
indent_style = space
14+
indent_size = 2
15+
16+
[{*.py,*.asm}]
17+
indent_style = space
18+
19+
[*.py]
20+
indent_size = 4
21+
22+
[*.asm]
23+
indent_size = 8
24+
25+
[*.md]
26+
trim_trailing_whitespace = false
27+
28+
# Ideal settings - some plugins might support these.
29+
[*.js]
30+
quote_type = single
31+
32+
[{*.c,*.cc,*.h,*.hh,*.cpp,*.hpp,*.m,*.mm,*.mpp,*.js,*.java,*.go,*.rs,*.php,*.ng,*.jsx,*.ts,*.d,*.cs,*.swift}]
33+
curly_bracket_next_line = false
34+
spaces_around_operators = true
35+
spaces_around_brackets = outside
36+
# close enough to 1TB
37+
indent_brace_style = K&R

0 commit comments

Comments
 (0)
Failed to load comments.