diff --git a/packages/eslint-plugin/configs/react.js b/packages/eslint-plugin/configs/react.js index 7fd718c8647b8..a30db8442ecc3 100644 --- a/packages/eslint-plugin/configs/react.js +++ b/packages/eslint-plugin/configs/react.js @@ -34,7 +34,7 @@ module.exports = { 'react/no-children-prop': 'off', 'react/prop-types': 'off', 'react/react-in-jsx-scope': 'off', - 'react-hooks/rules-of-hooks': 'error', 'react-hooks/exhaustive-deps': 'warn', + 'react-hooks/rules-of-hooks': 'error', }, };