diff --git a/.eslintrc.js b/.eslintrc.js index 1af50a2fdbf9a1..fbbf2ac8395a85 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -88,7 +88,10 @@ module.exports = { ], 'react-hooks/rules-of-hooks': 'error', - 'react-hooks/exhaustive-deps': 'error', + 'react-hooks/exhaustive-deps': [ + 'error', + { additionalHooks: 'useEnhancedEffect' }, + ], }, overrides: [ {