feat(typescript): Rule "no-implied-eval"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 12:07:39 +04:00
parent e5631d6bbb
commit 407a013100
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 7 additions and 1 deletions

View File

@ -362,7 +362,7 @@
- [ ] "no-extraneous-class" - [ ] "no-extraneous-class"
- [ ] "no-floating-promises" - [ ] "no-floating-promises"
- [ ] "no-for-in-array" - [ ] "no-for-in-array"
- [ ] "no-implied-eval" - [X] "no-implied-eval"
- [X] "no-inferrable-types" - [X] "no-inferrable-types"
- [X] "no-magic-numbers" - [X] "no-magic-numbers"
- [ ] "no-misused-new" - [ ] "no-misused-new"

View File

@ -49,6 +49,9 @@
"ignoreRestArgs": false "ignoreRestArgs": false
} }
], ],
"@typescript-eslint/no-implied-eval": [
"error"
],
"@typescript-eslint/no-inferrable-types": [ "@typescript-eslint/no-inferrable-types": [
"off" "off"
], ],
@ -154,6 +157,9 @@
"indent": [ "indent": [
"off" "off"
], ],
"no-implied-eval": [
"off"
],
"no-magic-numbers": [ "no-magic-numbers": [
"off" "off"
], ],