feat(eslint): Rule "no-useless-call"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-14 02:30:32 +04:00
parent 0fdc1f6b95
commit 8941741394
2 changed files with 4 additions and 1 deletions

View File

@ -208,7 +208,7 @@
- [X] "no-unused-vars"
- [ ] "no-use-before-define"
- [ ] "no-useless-backreference"
- [ ] "no-useless-call"
- [X] "no-useless-call"
- [ ] "no-useless-catch"
- [X] "no-useless-computed-key"
- [ ] "no-useless-concat"

View File

@ -368,6 +368,9 @@
"vars": "all"
}
],
"no-useless-call": [
"error"
],
"no-useless-computed-key": [
"error",
{