Skip to content

Commit 6b32b3a

Browse files
authored
Merge pull request #2313 from daiyam/editorconfig
add EditorConfig
2 parents 6a22427 + b39ef59 commit 6b32b3a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.editorconfig

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

0 commit comments

Comments
 (0)