diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 15:01:33 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 15:01:33 +0300 |
commit | c871e1ed51b09d05fbd875c75c40bdfeb4d52ee6 (patch) | |
tree | 467263162c26d02be5ae1746952e0565fe57056a | |
parent | 3628767ff2ddd6e52b8b3eb0fa0651d9c2faa5ad (diff) | |
download | eslint-config-c871e1ed51b09d05fbd875c75c40bdfeb4d52ee6.tar.xz eslint-config-c871e1ed51b09d05fbd875c75c40bdfeb4d52ee6.zip |
feat(eslint): Rule "no-console"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -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", { |