feat(eslint): Rule "object-curly-newline"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
90014ad8f6
commit
55d7364ea2
@ -222,7 +222,7 @@
|
|||||||
- [ ] "no-whitespace-before-property"
|
- [ ] "no-whitespace-before-property"
|
||||||
- [ ] "no-with"
|
- [ ] "no-with"
|
||||||
- [ ] "nonblock-statement-body-position"
|
- [ ] "nonblock-statement-body-position"
|
||||||
- [ ] "object-curly-newline"
|
- [X] "object-curly-newline"
|
||||||
- [X] "object-curly-spacing"
|
- [X] "object-curly-spacing"
|
||||||
- [ ] "object-property-newline"
|
- [ ] "object-property-newline"
|
||||||
- [ ] "object-shorthand"
|
- [ ] "object-shorthand"
|
||||||
|
@ -108,6 +108,14 @@
|
|||||||
"allowIndentationTabs": true
|
"allowIndentationTabs": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"object-curly-newline": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"consistent": true,
|
||||||
|
"minProperties": 2,
|
||||||
|
"multiline": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"object-curly-spacing": [
|
"object-curly-spacing": [
|
||||||
"error",
|
"error",
|
||||||
"always",
|
"always",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user