aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/.eslintrc.js15
1 files changed, 5 insertions, 10 deletions
diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js
index 660f322b..79a95b6f 100644
--- a/modern/.eslintrc.js
+++ b/modern/.eslintrc.js
@@ -6,26 +6,21 @@ module.exports = {
plugins: [
'react',
],
- ignorePatterns: ['switcher.js', 'theme.js'],
+ ignorePatterns: ['build/', 'switcher.js', 'theme.js'],
rules: {
'max-len': [0],
- 'no-shadow': [0],
- 'no-return-assign': [0],
'no-param-reassign': [0],
'no-prototype-builtins': [0],
- '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/function-component-definition': [1, {
+ namedComponents: 'arrow-function',
+ unnamedComponents: 'arrow-function',
+ }],
'react/prop-types': [0],
- 'react/jsx-props-no-spreading': [0],
- 'jsx-a11y/anchor-is-valid': [0],
},
};