feat(eslint): Rule "callback-return"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
7928a93ea7
commit
059976ca5a
@ -13,7 +13,7 @@
|
|||||||
- [ ] "block-scoped-var"
|
- [ ] "block-scoped-var"
|
||||||
- [ ] "block-spacing"
|
- [ ] "block-spacing"
|
||||||
- [X] "brace-style"
|
- [X] "brace-style"
|
||||||
- [ ] "callback-return"
|
- [X] "callback-return"
|
||||||
- [X] "camelcase"
|
- [X] "camelcase"
|
||||||
- [ ] "capitalized-comments"
|
- [ ] "capitalized-comments"
|
||||||
- [X] "class-methods-use-this"
|
- [X] "class-methods-use-this"
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
"allowSingleLine": false
|
"allowSingleLine": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"callback-return": [
|
||||||
|
"warn"
|
||||||
|
],
|
||||||
"camelcase": [
|
"camelcase": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user