Skip to content

Commit 04aa267

Browse files
Add .editorconfig
1 parent 4b56423 commit 04aa267

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.editorconfig

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
2+
# editorconfig.org
3+
4+
5+
# Use top-most EditorConfig file
6+
root = true
7+
8+
9+
[*]
10+
# Unix-style newlines at the bottom of every file
11+
end_of_line = lf
12+
13+
charset = utf-8
14+
15+
# Remove any whitespace characters preceding newline characters
16+
trim_trailing_whitespace = true
17+
18+
insert_final_newline = false
19+
20+
# Tab indentation
21+
indent_style = space
22+
indent_size = 4
23+
24+
# Give operators breathing room, but not brackets
25+
spaces_around_operators = true
26+
spaces_around_brackets = false
27+
28+
29+
[.js]
30+
quote_type = single
31+
curly_bracket_next_line = false
32+
33+
34+
[.html]
35+
quote_type = double
36+
37+
38+
[*.{diff, md}]
39+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)