Skip to content

Commit

Permalink
feat: enable @typescript-eslint/prefer-function-type
Browse files Browse the repository at this point in the history
  • Loading branch information
gjbkz committed Sep 3, 2023
1 parent 33f3239 commit 78d44dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@
"@typescript-eslint/prefer-as-const": 2,
"@typescript-eslint/prefer-enum-initializers": 2,
"@typescript-eslint/prefer-for-of": 2,
"@typescript-eslint/prefer-function-type": 0,
"@typescript-eslint/prefer-function-type": 2,
"@typescript-eslint/prefer-includes": 2,
"@typescript-eslint/prefer-literal-enum-member": 2,
"@typescript-eslint/prefer-namespace-keyword": 0,
Expand Down
2 changes: 1 addition & 1 deletion build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ const config = {
'prefer-as-const': ERROR,
'prefer-enum-initializers': ERROR,
'prefer-for-of': ERROR,
'prefer-function-type': OFF,
'prefer-function-type': ERROR,
'prefer-includes': ERROR,
'prefer-literal-enum-member': ERROR,
'prefer-namespace-keyword': OFF,
Expand Down

0 comments on commit 78d44dc

Please sign in to comment.