aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 14:59:37 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:00:20 +0300
commit3628767ff2ddd6e52b8b3eb0fa0651d9c2faa5ad (patch)
tree5707348ea58ae62618beaf586e214831dcfaf8d4
parent3a12b56865e72ab69ea0be7292394faa9a7126bc (diff)
downloadeslint-config-3628767ff2ddd6e52b8b3eb0fa0651d9c2faa5ad.tar.xz
eslint-config-3628767ff2ddd6e52b8b3eb0fa0651d9c2faa5ad.zip
feat(eslint): Rule "no-alert"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 9a81278..33264eb 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -77,7 +77,7 @@
- [X] "newline-after-var"
- [X] "newline-before-return"
- [ ] "newline-per-chained-call"
-- [ ] "no-alert"
+- [X] "no-alert"
- [ ] "no-array-constructor"
- [ ] "no-async-promise-executor"
- [ ] "no-await-in-loop"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 96823ca..16c1d72 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -54,6 +54,9 @@
"newline-before-return": [
"off"
],
+ "no-alert": [
+ "warn"
+ ],
"no-catch-shadow": [
"off"
],