aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 20:02:23 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 20:02:23 +0300
commit937a2257f801f784ab03719abf6875612d9649f0 (patch)
treee60810b12050d3ceb6e74eda3406038e2f9027da
parent0419c2558d380cd13f6d0c1f3944b8474b4cf87c (diff)
downloadeslint-config-937a2257f801f784ab03719abf6875612d9649f0.tar.xz
eslint-config-937a2257f801f784ab03719abf6875612d9649f0.zip
feat(eslint): no-whitespace-before-property
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/javascript/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 2c12875..bf996be 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -219,7 +219,7 @@
- [X] "no-var"
- [ ] "no-void"
- [ ] "no-warning-comments"
-- [ ] "no-whitespace-before-property"
+- [X] "no-whitespace-before-property"
- [X] "no-with"
- [ ] "nonblock-statement-body-position"
- [X] "object-curly-newline"
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json
index 231730c..1ca2593 100644
--- a/src/rules/javascript/default.json
+++ b/src/rules/javascript/default.json
@@ -449,6 +449,9 @@
"no-var": [
"error"
],
+ "no-whitespace-before-property": [
+ "error"
+ ],
"no-with": [
"error"
],