feat(eslint): Rule "no-alert"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 15:59:37 +04:00
parent 3a12b56865
commit 3628767ff2
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -77,7 +77,7 @@
- [X] "newline-after-var" - [X] "newline-after-var"
- [X] "newline-before-return" - [X] "newline-before-return"
- [ ] "newline-per-chained-call" - [ ] "newline-per-chained-call"
- [ ] "no-alert" - [X] "no-alert"
- [ ] "no-array-constructor" - [ ] "no-array-constructor"
- [ ] "no-async-promise-executor" - [ ] "no-async-promise-executor"
- [ ] "no-await-in-loop" - [ ] "no-await-in-loop"

View File

@ -54,6 +54,9 @@
"newline-before-return": [ "newline-before-return": [
"off" "off"
], ],
"no-alert": [
"warn"
],
"no-catch-shadow": [ "no-catch-shadow": [
"off" "off"
], ],