feat(eslint): Rule "no-unused-vars"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
eaa0627dae
commit
4fa76141e1
@ -205,7 +205,7 @@
|
|||||||
- [ ] "no-unsafe-negation"
|
- [ ] "no-unsafe-negation"
|
||||||
- [ ] "no-unused-expressions"
|
- [ ] "no-unused-expressions"
|
||||||
- [ ] "no-unused-labels"
|
- [ ] "no-unused-labels"
|
||||||
- [ ] "no-unused-vars"
|
- [X] "no-unused-vars"
|
||||||
- [ ] "no-use-before-define"
|
- [ ] "no-use-before-define"
|
||||||
- [ ] "no-useless-backreference"
|
- [ ] "no-useless-backreference"
|
||||||
- [ ] "no-useless-call"
|
- [ ] "no-useless-call"
|
||||||
|
@ -105,6 +105,15 @@
|
|||||||
"allowIndentationTabs": true
|
"allowIndentationTabs": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"no-unused-vars": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"args": "after-used",
|
||||||
|
"caughtErrors": "all",
|
||||||
|
"ignoreRestSiblings": false,
|
||||||
|
"vars": "all"
|
||||||
|
}
|
||||||
|
],
|
||||||
"object-curly-newline": [
|
"object-curly-newline": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user