Skip to content

Commit

Permalink
fix: keep using typescripts "explicit-function-return-type" rule
Browse files Browse the repository at this point in the history
  • Loading branch information
atheck committed Oct 29, 2024
1 parent 225e078 commit 0862ecb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion biomeLinting.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
}
},
"useDeprecatedReason": "off",
"useExplicitType": "error",
"useExplicitType": "off",
"useGoogleFontDisplay": "error",
"useGuardForIn": "error",
"useImportRestrictions": "error",
Expand Down
11 changes: 10 additions & 1 deletion nodeWithBiome.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,16 @@ const overrides = [
"@typescript-eslint/default-param-last": "off",
"dot-notation": "off",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-function-return-type": [
"error",
{
allowExpressions: true,
allowTypedFunctionExpressions: true,
allowHigherOrderFunctions: true,
allowDirectConstAssertionInArrowFunctions: true,
allowConciseArrowFunctionExpressionsStartingWithVoid: false,
},
],
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"init-declarations": "off",
Expand Down

0 comments on commit 0862ecb

Please sign in to comment.