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"
|
||||
- [ ] "nonblock-statement-body-position"
|
||||
- [ ] "object-curly-newline"
|
||||
- [ ] "object-curly-spacing"
|
||||
- [X] "object-curly-spacing"
|
||||
- [ ] "object-property-newline"
|
||||
- [ ] "object-shorthand"
|
||||
- [X] "one-var"
|
||||
|
@ -64,6 +64,14 @@
|
||||
"allowIndentationTabs": true
|
||||
}
|
||||
],
|
||||
"object-curly-spacing": [
|
||||
"error",
|
||||
"always",
|
||||
{
|
||||
"arraysInObjects": false,
|
||||
"objectsInObjects": false
|
||||
}
|
||||
],
|
||||
"one-var": [
|
||||
"error",
|
||||
"never"
|
||||
|
Loading…
x
Reference in New Issue
Block a user