aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:01:33 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:01:33 +0300
commitc871e1ed51b09d05fbd875c75c40bdfeb4d52ee6 (patch)
tree467263162c26d02be5ae1746952e0565fe57056a
parent3628767ff2ddd6e52b8b3eb0fa0651d9c2faa5ad (diff)
downloadeslint-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.md2
-rw-r--r--src/rules/eslint.json6
2 files changed, 7 insertions, 1 deletions
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",
{