diff --git a/.eslintrc.js b/.eslintrc.js index 189eb673a..4027d6048 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -57,6 +57,7 @@ module.exports = { "require-atomic-updates": 0, "prefer-const": ["error"], "no-var": ["error"], + "no-new-func": ["error"], // Checks rules of Hooks "react-hooks/rules-of-hooks": "error",