diff --git a/packages/eslint-config-react/index.js b/packages/eslint-config-react/index.js index 0e636a6..328ab73 100644 --- a/packages/eslint-config-react/index.js +++ b/packages/eslint-config-react/index.js @@ -2,6 +2,7 @@ module.exports = { extends: ['airbnb', '@oacore/eslint-config-base', 'prettier/react'], rules: { + 'react/jsx-props-no-spreading': 'off', 'react/prop-types': [ 'error', { @@ -9,5 +10,6 @@ module.exports = { ignore: ['children', 'class', 'className', 'id', 'tag'], }, ], + 'react/state-in-constructor': ['error', 'never'], }, }