feat(typescript): explicit-function-return-type
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
18c9632298
commit
b9cabcb54b
@ -394,7 +394,7 @@
|
|||||||
- [ ] "consistent-type-assertions"
|
- [ ] "consistent-type-assertions"
|
||||||
- [ ] "consistent-type-definitions"
|
- [ ] "consistent-type-definitions"
|
||||||
- [ ] "default-param-last"
|
- [ ] "default-param-last"
|
||||||
- [ ] "explicit-function-return-type"
|
- [X] "explicit-function-return-type"
|
||||||
- [ ] "explicit-member-accessibility"
|
- [ ] "explicit-member-accessibility"
|
||||||
- [ ] "explicit-module-boundary-types"
|
- [ ] "explicit-module-boundary-types"
|
||||||
- [ ] "func-call-spacing"
|
- [ ] "func-call-spacing"
|
||||||
|
@ -9,6 +9,14 @@
|
|||||||
"before": false
|
"before": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/explicit-function-return-type": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowExpressions": false,
|
||||||
|
"allowHigherOrderFunctions": false,
|
||||||
|
"allowTypedFunctionExpressions": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/indent": [
|
"@typescript-eslint/indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user