feat(eslint): Rule "no-new-func"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
94cbe35417
commit
93df216d0d
@ -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"
|
||||||
|
@ -296,6 +296,9 @@
|
|||||||
"no-nested-ternary": [
|
"no-nested-ternary": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"no-new-func": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
"no-spaced-func": [
|
"no-spaced-func": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user