mirror of
https://github.com/WilliamsNY/linter-configs.git
synced 2024-11-09 19:46:39 -05:00
Specify the default value for the number of spaces in the indent rule so its object parameter isn't parsed as the number of spaces
This commit is contained in:
parent
1a73daabbe
commit
d13004e775
1 changed files with 1 additions and 1 deletions
2
eslintrc
2
eslintrc
|
@ -86,7 +86,7 @@
|
||||||
"comma-spacing": [ "warn" ],
|
"comma-spacing": [ "warn" ],
|
||||||
"comma-style": [ "warn" ],
|
"comma-style": [ "warn" ],
|
||||||
"computed-property-spacing": [ "warn" ],
|
"computed-property-spacing": [ "warn" ],
|
||||||
"indent": [ "warn", { "SwitchCase": 1 } ],
|
"indent": [ "warn", 4, { "SwitchCase": 1 } ],
|
||||||
"key-spacing": [ "warn", { "align": "value" } ],
|
"key-spacing": [ "warn", { "align": "value" } ],
|
||||||
"keyword-spacing": [ "warn" ],
|
"keyword-spacing": [ "warn" ],
|
||||||
"linebreak-style": [ "warn" ],
|
"linebreak-style": [ "warn" ],
|
||||||
|
|
Loading…
Reference in a new issue