Skip to content

Commit 23fb597

Browse files
committed
add editor config
1 parent 142e520 commit 23fb597

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
[*.{js,jsx}]
12+
charset = utf-8
13+
indent_size = 2
14+
15+
[*.php]
16+
indent_style = space
17+
indent_size = 4
18+
19+
[{package.json,.travis.yml}]
20+
indent_style = space
21+
indent_size = 2

0 commit comments

Comments
 (0)