summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:51:45 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:51:45 +0300
commit6feb5456418b15b25cdd6408a43c9af6f8c58fa9 (patch)
tree9dd20811b1eb17fee7b0de40183aa154d330c8e0
parent31982f91ad2ef7312afe10a752aec67359e60fe7 (diff)
downloadeslint-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.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
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",
{