diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 00:34:37 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 00:34:37 +0300 |
commit | 3a8aa43fb935e37e60edae5ca3982844222b8ced (patch) | |
tree | 0eaaba896fab0b4a3c4ca4894f50aa7d8164b909 | |
parent | e5250261a7a7aa0febfb68ccfda94db45cebf226 (diff) | |
download | eslint-config-3a8aa43fb935e37e60edae5ca3982844222b8ced.tar.xz eslint-config-3a8aa43fb935e37e60edae5ca3982844222b8ced.zip |
feat(eslint): Rule "no-iterator"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -132,7 +132,7 @@ - [ ] "no-invalid-regexp" - [ ] "no-invalid-this" - [ ] "no-irregular-whitespace" -- [ ] "no-iterator" +- [X] "no-iterator" - [ ] "no-label-var" - [ ] "no-labels" - [ ] "no-lone-blocks" diff --git a/src/rules/default.json b/src/rules/default.json index a0527c9..73490d2 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -248,6 +248,9 @@ "no-implied-eval": [ "error" ], + "no-iterator": [ + "error" + ], "no-magic-numbers": [ "warn", { |