aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:50:17 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:50:17 +0300
commit31982f91ad2ef7312afe10a752aec67359e60fe7 (patch)
tree8ca94ededb3f19a62807315f885b82fbff6fcafa
parentdce1b1ae89e9a59ab437df750bd5f3997c53f750 (diff)
downloadeslint-config-31982f91ad2ef7312afe10a752aec67359e60fe7.tar.xz
eslint-config-31982f91ad2ef7312afe10a752aec67359e60fe7.zip
feat(eslint): Rule "no-sequences"
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 2e95c71..cc0e64d 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -180,7 +180,7 @@
- [X] "no-script-url"
- [ ] "no-self-assign"
- [X] "no-self-compare"
-- [ ] "no-sequences"
+- [X] "no-sequences"
- [ ] "no-setter-return"
- [ ] "no-shadow"
- [ ] "no-shadow-restricted-names"
diff --git a/src/rules/default.json b/src/rules/default.json
index a9c99db..a3dcce4 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -317,6 +317,9 @@
"no-self-compare": [
"error"
],
+ "no-sequences": [
+ "error"
+ ],
"no-spaced-func": [
"off"
],