aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:33:19 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:33:19 +0300
commit273e1d7ed18e90484d6d9a52e2533d1d90447c9e (patch)
tree238364ff7835a2db01dfc0fbe1554df8bcf54749
parent7061ae1ad706832662d2c72bc866facae00676f2 (diff)
downloadeslint-config-273e1d7ed18e90484d6d9a52e2533d1d90447c9e.tar.xz
eslint-config-273e1d7ed18e90484d6d9a52e2533d1d90447c9e.zip
feat(eslint): Rule "no-with"
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 7a53064..0441607 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -220,7 +220,7 @@
- [ ] "no-void"
- [ ] "no-warning-comments"
- [ ] "no-whitespace-before-property"
-- [ ] "no-with"
+- [X] "no-with"
- [ ] "nonblock-statement-body-position"
- [X] "object-curly-newline"
- [X] "object-curly-spacing"
diff --git a/src/rules/default.json b/src/rules/default.json
index 0611be9..71e824c 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -394,6 +394,9 @@
"no-var": [
"error"
],
+ "no-with": [
+ "error"
+ ],
"object-curly-newline": [
"error",
{