feat(eslint): Rule "object-curly-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
2ffee5d7a3
commit
053bd64fa4
@ -223,7 +223,7 @@
|
|||||||
- [ ] "no-with"
|
- [ ] "no-with"
|
||||||
- [ ] "nonblock-statement-body-position"
|
- [ ] "nonblock-statement-body-position"
|
||||||
- [ ] "object-curly-newline"
|
- [ ] "object-curly-newline"
|
||||||
- [ ] "object-curly-spacing"
|
- [X] "object-curly-spacing"
|
||||||
- [ ] "object-property-newline"
|
- [ ] "object-property-newline"
|
||||||
- [ ] "object-shorthand"
|
- [ ] "object-shorthand"
|
||||||
- [X] "one-var"
|
- [X] "one-var"
|
||||||
|
@ -64,6 +64,14 @@
|
|||||||
"allowIndentationTabs": true
|
"allowIndentationTabs": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"object-curly-spacing": [
|
||||||
|
"error",
|
||||||
|
"always",
|
||||||
|
{
|
||||||
|
"arraysInObjects": false,
|
||||||
|
"objectsInObjects": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"one-var": [
|
"one-var": [
|
||||||
"error",
|
"error",
|
||||||
"never"
|
"never"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user