From bdb1aa037fbba13eff334bd6639fb8b1935e9eda Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 14:50:22 +0400 Subject: feat(eslint): Rule "no-catch-shadow" 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 1d72b25..d025770 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -85,7 +85,7 @@ - [ ] "no-buffer-constructor" - [ ] "no-caller" - [ ] "no-case-declarations" -- [ ] "no-catch-shadow" +- [X] "no-catch-shadow" - [ ] "no-class-assign" - [ ] "no-compare-neg-zero" - [ ] "no-cond-assign" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 1c3919d..b1439c2 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -15,6 +15,9 @@ "newline-before-return": [ "off" ], + "no-catch-shadow": [ + "off" + ], "no-tabs": [ "error", { -- cgit v1.2.3