feat(eslint): Rule "no-useless-return"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
8941741394
commit
7061ae1ad7
@ -215,7 +215,7 @@
|
||||
- [X] "no-useless-constructor"
|
||||
- [ ] "no-useless-escape"
|
||||
- [X] "no-useless-rename"
|
||||
- [ ] "no-useless-return"
|
||||
- [X] "no-useless-return"
|
||||
- [X] "no-var"
|
||||
- [ ] "no-void"
|
||||
- [ ] "no-warning-comments"
|
||||
|
@ -388,6 +388,9 @@
|
||||
"ignoreImport": false
|
||||
}
|
||||
],
|
||||
"no-useless-return": [
|
||||
"error"
|
||||
],
|
||||
"no-var": [
|
||||
"error"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user