Skip to content

Commit

Permalink
Add option to the explicit-function-return-type rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 10, 2019
1 parent 465a11c commit 8fc8601
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': [
'error',
{
allowExpressions: true
allowExpressions: true,
allowTypedFunctionExpressions: true
}
],
'@typescript-eslint/generic-type-naming': [
Expand Down

0 comments on commit 8fc8601

Please sign in to comment.