Skip to content

Commit fec00b2

Browse files
committed
gitignore updated and added .editorconfig
1 parent 0956601 commit fec00b2

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

.editorconfig

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
2+
# http://editorconfig.org
3+
4+
# top-most EditorConfig file
5+
root = true
6+
7+
[*]
8+
indent_style = tab
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
14+
[*.php]
15+
indent_size = 4
16+
17+
[*.json]
18+
indent_style = space
19+
indent_size = 2
20+
21+
[{.jshintrc, .bowerrc, .sailsrc}]
22+
indent_style = space
23+
indent_size = 2
24+
25+
[*.js]
26+
indent_style = tab
27+
indent_size = 2
28+
29+
[{.css,.sass,*.scss,.styl,.less}]
30+
indent_style = tab
31+
indent_size = 2
32+
33+
[*.md]
34+
trim_trailing_whitespace = false

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
*#
33
.DS_Store
44
.node_history
5-
.editorconfig
65
npm-debug.log
76

87
node_modules/*/*

0 commit comments

Comments
 (0)