chore: allow expressions in explicit-function-return-type rule

This commit is contained in:
Miodec 2024-08-12 14:31:54 +02:00
parent c6e8f413fc
commit ed47fb73a8

View file

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