style(editorconfig): Add json rule to editor config (#297)

We aggreed to use 2 indent size in json files. The reason is npm use 2 indent in package.json and this is the defacto
This commit is contained in:
Róbert Kiss
2017-06-07 08:57:56 +02:00
committed by László Monda
parent 85db54b00f
commit 8e823b57b4
3 changed files with 104 additions and 96 deletions

View File

@@ -9,3 +9,6 @@ indent_style = space
endofline = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.json]
indent_size = 2

View File

@@ -9,5 +9,10 @@
"removeComments": false,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true
}
},
"exclude": [
"./node_modules",
".electron/dist",
"./dist"
]
}