Skip to content

Commit 8b00025

Browse files
committed
🐛 disable ts/prefer-function-type for bug
1 parent 6a81d31 commit 8b00025

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/configs/_ts.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ module.exports = {
4545
"@mysticatea/ts/no-unnecessary-type-assertion": "off",
4646
"@mysticatea/ts/no-useless-constructor": "error",
4747
"@mysticatea/ts/no-var-requires": "error",
48-
"@mysticatea/ts/prefer-function-type": "error",
48+
// https://github.com/typescript-eslint/typescript-eslint/issues/454
49+
"@mysticatea/ts/prefer-function-type": "off",
4950
"@mysticatea/ts/prefer-includes": "error",
5051
"@mysticatea/ts/prefer-namespace-keyword": "error",
5152
"@mysticatea/ts/prefer-string-starts-ends-with": "error",

0 commit comments

Comments
 (0)