diff --git a/configurations/react.js b/configurations/react.js index b1bf91f..500174a 100644 --- a/configurations/react.js +++ b/configurations/react.js @@ -19,6 +19,8 @@ module.exports.recommended = { }, rules: { 'canonical/sort-react-dependencies': 2, + 'react-hooks/exhaustive-deps': 2, + 'react-hooks/rules-of-hooks': 2, 'react/boolean-prop-naming': 0, 'react/button-has-type': 2, 'react/default-props-match-prop-types': 2, @@ -205,8 +207,6 @@ module.exports.recommended = { 'react/static-property-placement': 0, 'react/style-prop-object': 2, 'react/void-dom-elements-no-children': 2, - 'react-hooks/exhaustive-deps': 2, - 'react-hooks/rules-of-hooks': 2, }, settings: { react: {