feat(eslint): Rule "callback-return"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 11:59:25 +04:00
parent 7928a93ea7
commit 059976ca5a
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -23,6 +23,9 @@
"allowSingleLine": false "allowSingleLine": false
} }
], ],
"callback-return": [
"warn"
],
"camelcase": [ "camelcase": [
"error", "error",
{ {