Skip to content

Commit 7904006

Browse files
author
helpfulrobot
committed
Added standard .editorconfig file
1 parent d7f1e50 commit 7904006

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

.editorconfig

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
1-
# For more information about the properties used in
2-
# this file, please see the EditorConfig documentation:
3-
# http://editorconfig.org/
1+
# For more information about the properties used in this file,
2+
# please see the EditorConfig documentation:
3+
# http://editorconfig.org
44

55
[*]
66
charset = utf-8
77
end_of_line = lf
88
indent_size = 4
9-
indent_style = tab
9+
indent_style = space
1010
insert_final_newline = true
1111
trim_trailing_whitespace = true
1212

13-
[*.md]
14-
trim_trailing_whitespace = false
15-
16-
[*.yml]
13+
[{*.yml,package.json}]
1714
indent_size = 2
18-
indent_style = space
1915

20-
[{.travis.yml,package.json}]
21-
# The indent size used in the `package.json` file cannot be changed
16+
# The indent size used in the package.json file cannot be changed:
2217
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
23-
indent_size = 2
24-
indent_style = space

0 commit comments

Comments
 (0)