diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 00:51:45 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 00:51:45 +0300 |
commit | 6feb5456418b15b25cdd6408a43c9af6f8c58fa9 (patch) | |
tree | 9dd20811b1eb17fee7b0de40183aa154d330c8e0 | |
parent | 31982f91ad2ef7312afe10a752aec67359e60fe7 (diff) | |
download | eslint-config-6feb5456418b15b25cdd6408a43c9af6f8c58fa9.tar.xz eslint-config-6feb5456418b15b25cdd6408a43c9af6f8c58fa9.zip |
feat(eslint): Rule "no-unmodified-loop-condition"
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
@@ -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", { |