From c871e1ed51b09d05fbd875c75c40bdfeb4d52ee6 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 16:01:33 +0400 Subject: feat(eslint): Rule "no-console" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 33264eb..6bcc625 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -90,7 +90,7 @@ - [ ] "no-compare-neg-zero" - [ ] "no-cond-assign" - [ ] "no-confusing-arrow" -- [ ] "no-console" +- [X] "no-console" - [ ] "no-const-assign" - [ ] "no-constant-condition" - [ ] "no-constructor-return" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 16c1d72..1065842 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -60,6 +60,12 @@ "no-catch-shadow": [ "off" ], + "no-console": [ + "warn", + { + "allow": [] + } + ], "no-multi-spaces": [ "error", { -- cgit v1.2.3