diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 13:50:22 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 13:50:22 +0300 |
commit | bdb1aa037fbba13eff334bd6639fb8b1935e9eda (patch) | |
tree | a7ca363b99caca983389e3a34ba6da78680be7a9 | |
parent | f5078c07677db2227d0fb75895405706e80822cd (diff) | |
download | eslint-config-bdb1aa037fbba13eff334bd6639fb8b1935e9eda.tar.xz eslint-config-bdb1aa037fbba13eff334bd6639fb8b1935e9eda.zip |
feat(eslint): Rule "no-catch-shadow"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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", { |