feat(eslint): Rule "no-eval"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 16:05:48 +04:00
parent 263c8c736e
commit 020e6eabcc
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 7 additions and 1 deletions

View File

@ -111,7 +111,7 @@
- [ ] "no-empty-function" - [ ] "no-empty-function"
- [ ] "no-empty-pattern" - [ ] "no-empty-pattern"
- [ ] "no-eq-null" - [ ] "no-eq-null"
- [ ] "no-eval" - [X] "no-eval"
- [ ] "no-ex-assign" - [ ] "no-ex-assign"
- [ ] "no-extend-native" - [ ] "no-extend-native"
- [ ] "no-extra-bind" - [ ] "no-extra-bind"

View File

@ -69,6 +69,12 @@
"no-debugger": [ "no-debugger": [
"error" "error"
], ],
"no-eval": [
"error",
{
"allowIndirect": false
}
],
"no-multi-spaces": [ "no-multi-spaces": [
"error", "error",
{ {