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:
parent
5eb084fd3b
commit
1fec7d5558
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user