feat(eslint): Rule "no-catch-shadow"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 14:50:22 +04:00
parent f5078c0767
commit bdb1aa037f
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -15,6 +15,9 @@
"newline-before-return": [
"off"
],
"no-catch-shadow": [
"off"
],
"no-tabs": [
"error",
{