From 6feb5456418b15b25cdd6408a43c9af6f8c58fa9 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:51:45 +0400 Subject: feat(eslint): Rule "no-unmodified-loop-condition" 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 cc0e64d..c28c3f2 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -198,7 +198,7 @@ - [X] "no-undefined" - [X] "no-underscore-dangle" - [ ] "no-unexpected-multiline" -- [ ] "no-unmodified-loop-condition" +- [X] "no-unmodified-loop-condition" - [X] "no-unneeded-ternary" - [ ] "no-unreachable" - [ ] "no-unsafe-finally" diff --git a/src/rules/default.json b/src/rules/default.json index a3dcce4..f6d347b 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -344,6 +344,9 @@ "enforceInMethodNames": false } ], + "no-unmodified-loop-condition": [ + "error" + ], "no-unneeded-ternary": [ "error", { -- cgit v1.2.3