Skip to content

Commit

Permalink
[eslint] Allow declaring upto 10 names in object-curly
Browse files Browse the repository at this point in the history
  • Loading branch information
syaau committed Jan 30, 2019
1 parent a4d4f9d commit 2430745
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"exports": "always-multiline",
"functions": "never"
}],
"object-curly-newline": ["error", {
"ObjectExpression": { "minProperties": 10, "multiline": true, "consistent": true },
"ObjectPattern": { "minProperties": 10, "multiline": true, "consistent": true }
}],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-one-expression-per-line": "off"
},
Expand Down

0 comments on commit 2430745

Please sign in to comment.