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:
committed by
László Monda
parent
85db54b00f
commit
8e823b57b4
@@ -9,3 +9,6 @@ indent_style = space
|
||||
endofline = lf
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.json]
|
||||
indent_size = 2
|
||||
|
||||
@@ -9,5 +9,10 @@
|
||||
"removeComments": false,
|
||||
"noImplicitAny": true,
|
||||
"suppressImplicitAnyIndexErrors": true
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"./node_modules",
|
||||
".electron/dist",
|
||||
"./dist"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user