feat(eslint): Rule "object-curly-newline"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-13 16:19:27 +04:00
parent 90014ad8f6
commit 55d7364ea2
2 changed files with 9 additions and 1 deletions

View File

@ -108,6 +108,14 @@
"allowIndentationTabs": true
}
],
"object-curly-newline": [
"error",
{
"consistent": true,
"minProperties": 2,
"multiline": true
}
],
"object-curly-spacing": [
"error",
"always",