Skip to content

Commit 6962836

Browse files
committed
Updated curly newline rule
1 parent 2bae58c commit 6962836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"no-trailing-spaces": [ "error", { "skipBlankLines": true, "ignoreComments": true } ],
8686
"no-underscore-dangle": "off",
8787
"no-whitespace-before-property": "error",
88-
"object-curly-newline": [ "error", { "multiline": true, "minProperties": 0 } ],
88+
"object-curly-newline": [ "error", { "multiline": true, "minProperties": 2, "consistent": true } ],
8989
"one-var-declaration-per-line": [ "error", "initializations" ],
9090
"quote-props": [ "error", "as-needed" ],
9191
"quotes": [ "error", "single" ],

0 commit comments

Comments
 (0)