From 3628767ff2ddd6e52b8b3eb0fa0651d9c2faa5ad Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 15:59:37 +0400 Subject: feat(eslint): Rule "no-alert" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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" ], -- cgit v1.2.3