1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Tools: Added rule no-new-func

This commit is contained in:
Laurent Cozic 2020-05-20 00:17:09 +00:00
parent 5eb084fd3b
commit 1fec7d5558

View File

@ -57,6 +57,7 @@ module.exports = {
"require-atomic-updates": 0, "require-atomic-updates": 0,
"prefer-const": ["error"], "prefer-const": ["error"],
"no-var": ["error"], "no-var": ["error"],
"no-new-func": ["error"],
// Checks rules of Hooks // Checks rules of Hooks
"react-hooks/rules-of-hooks": "error", "react-hooks/rules-of-hooks": "error",