feat(eslint): Rule "no-unused-vars"

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

View File

@ -205,7 +205,7 @@
- [ ] "no-unsafe-negation"
- [ ] "no-unused-expressions"
- [ ] "no-unused-labels"
- [ ] "no-unused-vars"
- [X] "no-unused-vars"
- [ ] "no-use-before-define"
- [ ] "no-useless-backreference"
- [ ] "no-useless-call"

View File

@ -105,6 +105,15 @@
"allowIndentationTabs": true
}
],
"no-unused-vars": [
"error",
{
"args": "after-used",
"caughtErrors": "all",
"ignoreRestSiblings": false,
"vars": "all"
}
],
"object-curly-newline": [
"error",
{