aboutsummaryrefslogtreecommitdiff
path: root/modern/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/.eslintrc.js')
-rw-r--r--modern/.eslintrc.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js
index 6cef63d8..df0dcd15 100644
--- a/modern/.eslintrc.js
+++ b/modern/.eslintrc.js
@@ -16,6 +16,12 @@ module.exports = {
'no-nested-ternary': [0],
'operator-linebreak': [0],
'import/no-unresolved': [0],
+ 'object-curly-newline': [1, {
+ ObjectExpression: { minProperties: 8, multiline: true, consistent: true },
+ ObjectPattern: { minProperties: 8, multiline: true, consistent: true },
+ ImportDeclaration: { minProperties: 4, multiline: true, consistent: true },
+ ExportDeclaration: { minProperties: 4, multiline: true, consistent: true },
+ }],
'react/jsx-filename-extension': [1, { extensions: ['.js'] }],
'react/function-component-definition': [1, { namedComponents: 'arrow-function', unnamedComponents: 'arrow-function' }],
'react/prop-types': [0],