From 3a8aa43fb935e37e60edae5ca3982844222b8ced Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:34:37 +0400 Subject: feat(eslint): Rule "no-iterator" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index cd883eb..3e695a9 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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", { -- cgit v1.2.3