Skip to content

Commit f737e61

Browse files
committed
fix: allow Function type for ts/ban-types
1 parent e66c063 commit f737e61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/configs/typescript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export function typescript(
2121
'no-implied-eval': OFF,
2222
'no-throw-literal': OFF,
2323
'ts/await-thenable': 'error',
24+
'ts/ban-types': ['error', { types: { Function: false } }],
2425
'ts/dot-notation': ['error', { allowKeywords: true }],
2526
'ts/no-floating-promises': 'error',
2627
'ts/no-for-in-array': 'error',

0 commit comments

Comments
 (0)