feat(eslint): Rule "no-new-func"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 01:40:57 +04:00
parent 94cbe35417
commit 93df216d0d
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -152,7 +152,7 @@
- [X] "no-negated-in-lhs" - [X] "no-negated-in-lhs"
- [X] "no-nested-ternary" - [X] "no-nested-ternary"
- [ ] "no-new" - [ ] "no-new"
- [ ] "no-new-func" - [X] "no-new-func"
- [ ] "no-new-object" - [ ] "no-new-object"
- [ ] "no-new-require" - [ ] "no-new-require"
- [ ] "no-new-symbol" - [ ] "no-new-symbol"

View File

@ -296,6 +296,9 @@
"no-nested-ternary": [ "no-nested-ternary": [
"error" "error"
], ],
"no-new-func": [
"error"
],
"no-spaced-func": [ "no-spaced-func": [
"off" "off"
], ],