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-with"
|
||||
- [ ] "nonblock-statement-body-position"
|
||||
- [ ] "object-curly-newline"
|
||||
- [X] "object-curly-newline"
|
||||
- [X] "object-curly-spacing"
|
||||
- [ ] "object-property-newline"
|
||||
- [ ] "object-shorthand"
|
||||
|
@ -108,6 +108,14 @@
|
||||
"allowIndentationTabs": true
|
||||
}
|
||||
],
|
||||
"object-curly-newline": [
|
||||
"error",
|
||||
{
|
||||
"consistent": true,
|
||||
"minProperties": 2,
|
||||
"multiline": true
|
||||
}
|
||||
],
|
||||
"object-curly-spacing": [
|
||||
"error",
|
||||
"always",
|
||||
|
Loading…
x
Reference in New Issue
Block a user