Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit a4d79bd

Browse files
committed
.editorconfig based on Felix style guide
1 parent 9503720 commit a4d79bd

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.editorconfig

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# Howto with your editor:
4+
# Sublime: https://github.com/sindresorhus/editorconfig-sublime
5+
6+
# top-most EditorConfig file
7+
root = true
8+
9+
# Unix-style newlines with a newline ending every file
10+
[**]
11+
end_of_line = lf
12+
insert_final_newline = true
13+
14+
# Standard at: https://github.com/felixge/node-style-guide
15+
[**.js, **.json]
16+
trim_trailing_whitespace = true
17+
indent_style = space
18+
indent_size = 2
19+
max_line_length = 80
20+
quote_type = single
21+
curly_bracket_next_line = false
22+
spaces_around_operators = true
23+
space_after_control_statements = true
24+
space_after_anonymous_functions = false
25+
spaces_in_brackets = false
26+
27+
# https://github.com/jedmao/codepainter
28+
[node_modules/**.js]
29+
codepaint = false
30+
31+
# No Standard. Please document a standard if different from .js
32+
[**.yml, **.html, **.css]
33+
trim_trailing_whitespace = true
34+
indent_style = space
35+
indent_size = 2
36+
37+
# No standard. Please document a standard if different from .js
38+
[**.md]
39+
indent_style = space
40+
41+
# Standard at:
42+
[**.py]
43+
indent_style = space
44+
indent_size = 4
45+
46+
# Standard at:
47+
[Makefile]
48+
indent_style = tab
49+
indent_size = 8

0 commit comments

Comments
 (0)