aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:35:51 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:35:51 +0300
commit3467c5b216bd22a397355600f1a4f43311e9cc5f (patch)
treeaebacdfef08ac261656d9f4784227a77b03362e6
parentca6f51b6658cb1dc0d0b4b069ffc0e444abb0db9 (diff)
downloadeslint-config-3467c5b216bd22a397355600f1a4f43311e9cc5f.tar.xz
eslint-config-3467c5b216bd22a397355600f1a4f43311e9cc5f.zip
feat(unicorn): no-console-spaces
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/unicorn/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 50b0d0a..71d87c4 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -484,7 +484,7 @@
- [ ] "new-for-builtins"
- [ ] "no-abusive-eslint-disable"
- [ ] "no-array-instanceof"
-- [ ] "no-console-spaces"
+- [X] "no-console-spaces"
- [ ] "no-fn-reference-in-iterator"
- [ ] "no-for-loop"
- [ ] "no-hex-escape"
diff --git a/src/rules/unicorn/default.json b/src/rules/unicorn/default.json
index 2530a4a..fd05b65 100644
--- a/src/rules/unicorn/default.json
+++ b/src/rules/unicorn/default.json
@@ -6,6 +6,9 @@
"pascalCase": true
}
],
+ "unicorn/no-console-spaces": [
+ "error"
+ ],
"unicorn/prevent-abbreviations": [
"error",
{