Skip to content

Commit 144c9a9

Browse files
committed
Merge pull request niklasvh#724 from usmonster/adds-editorconfig
Adds .editorconfig
2 parents 6d168f4 + 57dd9b5 commit 144c9a9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
indent_style = space
12+
indent_size = 4
13+
14+
[{.travis.yml,package.json}]
15+
# The indent size used in the `package.json` file cannot be changed
16+
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
17+
indent_size = 2

0 commit comments

Comments
 (0)