diff --git a/.eslintrc.js b/.eslintrc.js index 051de2bbf9e..168b40e5923 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -52,17 +52,13 @@ module.exports = { 'jest/no-disabled-tests': 'error', 'object-curly-spacing': ['error', 'always'], quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }], - 'react/jsx-boolean-value': 'warn', + 'react/jsx-boolean-value': 'error', 'react/jsx-no-undef': 'error', 'react/jsx-uses-react': 'error', 'react/jsx-uses-vars': 'error', - 'react/jsx-wrap-multilines': 'warn', - 'react/no-did-mount-set-state': 'warn', - 'react/no-did-update-set-state': 'warn', - 'react/no-unknown-property': 'warn', + 'react/jsx-wrap-multilines': 'error', 'react/react-in-jsx-scope': 'error', - 'react/self-closing-comp': 'warn', - 'react/sort-prop-types': 'warn', + 'react/self-closing-comp': 'error', semi: 'off', strict: 'off', 'no-restricted-syntax': [