Skip to content

Commit 1093f02

Browse files
committed
Add Editorconfig
1 parent 5664d29 commit 1093f02

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
# Set default charset
9+
charset = utf-8
10+
# Unix-style newlines
11+
end_of_line = lf
12+
# newline ending every file
13+
insert_final_newline = true
14+
# 4 space indentation
15+
indent_style = space
16+
indent_size = 4
17+
18+
# Indentation override for all JS files
19+
[*.js]
20+
indent_style = space
21+
indent_size = 2
22+
23+
# Matches the exact files either package.json or .travis.yml
24+
[{package.json,.travis.yml}]
25+
indent_style = space
26+
indent_size = 2

0 commit comments

Comments
 (0)