From 1fec7d55584371035364aa10d2bb2a628e03b58c Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Wed, 20 May 2020 00:17:09 +0000 Subject: [PATCH] Tools: Added rule no-new-func --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) 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",