Skip to content

Commit 2d2509e

Browse files
committedSep 11, 2018
add .editorconfig
1 parent 853853f commit 2d2509e

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+
Has a conversation. Original line has a conversation.
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}]
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)
This conversation has been locked and limited to collaborators.