feat(eslint): Rule "no-console"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 16:01:33 +04:00
parent 3628767ff2
commit c871e1ed51
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 7 additions and 1 deletions

View File

@ -90,7 +90,7 @@
- [ ] "no-compare-neg-zero" - [ ] "no-compare-neg-zero"
- [ ] "no-cond-assign" - [ ] "no-cond-assign"
- [ ] "no-confusing-arrow" - [ ] "no-confusing-arrow"
- [ ] "no-console" - [X] "no-console"
- [ ] "no-const-assign" - [ ] "no-const-assign"
- [ ] "no-constant-condition" - [ ] "no-constant-condition"
- [ ] "no-constructor-return" - [ ] "no-constructor-return"

View File

@ -60,6 +60,12 @@
"no-catch-shadow": [ "no-catch-shadow": [
"off" "off"
], ],
"no-console": [
"warn",
{
"allow": []
}
],
"no-multi-spaces": [ "no-multi-spaces": [
"error", "error",
{ {