feat(eslint): Rule "no-iterator"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 01:34:37 +04:00
parent e5250261a7
commit 3a8aa43fb9
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -132,7 +132,7 @@
- [ ] "no-invalid-regexp" - [ ] "no-invalid-regexp"
- [ ] "no-invalid-this" - [ ] "no-invalid-this"
- [ ] "no-irregular-whitespace" - [ ] "no-irregular-whitespace"
- [ ] "no-iterator" - [X] "no-iterator"
- [ ] "no-label-var" - [ ] "no-label-var"
- [ ] "no-labels" - [ ] "no-labels"
- [ ] "no-lone-blocks" - [ ] "no-lone-blocks"

View File

@ -248,6 +248,9 @@
"no-implied-eval": [ "no-implied-eval": [
"error" "error"
], ],
"no-iterator": [
"error"
],
"no-magic-numbers": [ "no-magic-numbers": [
"warn", "warn",
{ {