Skip to content

Commit

Permalink
Merge pull request #6 from WTTJ/chore-disable-no-multi-comp-no-danger
Browse files Browse the repository at this point in the history
chore: disable no-multi-comp & no-danger
  • Loading branch information
anucreative authored Sep 28, 2020
2 parents 8d99ebd + c906f13 commit 9a01cfa
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
es6: true,
browser: true,
node: true,
jest: true
jest: true,
},
extends: ['eslint:recommended', 'plugin:prettier/recommended', 'plugin:react/all'],
parser: 'babel-eslint',
Expand All @@ -14,7 +14,7 @@ module.exports = {
'react-hooks/rules-of-hooks': 'error',
'no-unused-vars': ['error', { ignoreRestSiblings: true }],
'react/prop-types': ['error', { ignore: ['dataTestId'] }],
quotes: [2, "single", { avoidEscape: true }],
quotes: [2, 'single', { avoidEscape: true }],
// Warnings
'no-console': 'warn',
'import/order': ['warn', { 'newlines-between': 'always' }],
Expand All @@ -23,8 +23,8 @@ module.exports = {
{
ignoreCase: true,
ignoreDeclarationSort: true,
memberSyntaxSortOrder: ['single', 'all', 'multiple', 'none']
}
memberSyntaxSortOrder: ['single', 'all', 'multiple', 'none'],
},
],
'sort-destructure-keys/sort-destructure-keys': ['warn', { caseSensitive: false }],
'react-hooks/exhaustive-deps': 'warn',
Expand All @@ -42,11 +42,13 @@ module.exports = {
'react/forbid-prop-types': 'off',
'react/jsx-no-literals': 'off',
'react/forbid-component-props': 'off',
'react/jsx-props-no-spreading': 'off'
'react/jsx-props-no-spreading': 'off',
'react/no-multi-comp': 'off',
'react/no-danger': 'off',
},
settings: {
react: {
version: 'detect'
}
}
version: 'detect',
},
},
}

0 comments on commit 9a01cfa

Please sign in to comment.