mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-21 21:33:25 +08:00
chore: allow expressions in explicit-function-return-type rule
This commit is contained in:
parent
c6e8f413fc
commit
ed47fb73a8
1 changed files with 6 additions and 1 deletions
|
@ -91,7 +91,12 @@ module.exports = {
|
|||
"error",
|
||||
{ ignoreArrowShorthand: true },
|
||||
],
|
||||
"@typescript-eslint/explicit-function-return-type": ["error"],
|
||||
"@typescript-eslint/explicit-function-return-type": [
|
||||
"error",
|
||||
{
|
||||
allowExpressions: true,
|
||||
},
|
||||
],
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"@typescript-eslint/no-empty-function": "error",
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
|
|
Loading…
Reference in a new issue