We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
antfu
Learn more about funding links in repositories.
Report abuse
Function
ts/ban-types
1 parent 5f554fd commit 6a4cfecCopy full SHA for 6a4cfec
src/configs/typescript.ts
@@ -92,6 +92,7 @@ export function typescript(
92
'no-use-before-define': OFF,
93
'no-useless-constructor': OFF,
94
'ts/ban-ts-comment': ['error', { 'ts-ignore': 'allow-with-description' }],
95
+ 'ts/ban-types': ['error', { types: { Function: false } }],
96
'ts/consistent-type-definitions': ['error', 'interface'],
97
'ts/consistent-type-imports': ['error', { disallowTypeAnnotations: false, prefer: 'type-imports' }],
98
'ts/no-dupe-class-members': 'error',
0 commit comments