From 3467c5b216bd22a397355600f1a4f43311e9cc5f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:35:51 +0400 Subject: feat(unicorn): no-console-spaces Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/unicorn/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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", { -- cgit v1.2.3