Skip to content

Commit

Permalink
fix: disable ts/no-invalid-void-type
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 21, 2023
1 parent cb41654 commit db397b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/configs/typescript.ts
Expand Up @@ -67,13 +67,12 @@ export function typescript(options?: OptionsComponentExts): FlatESLintConfigItem
'ts/naming-convention': OFF,
'ts/no-dupe-class-members': 'error',
'ts/no-empty-function': OFF,

'ts/no-empty-interface': OFF,
'ts/no-explicit-any': OFF,
'ts/no-extra-parens': ['error', 'functions'],
'ts/no-invalid-this': 'error',
'ts/no-loss-of-precision': 'error',

'ts/no-invalid-void-type': OFF,
'ts/no-non-null-assertion': OFF,
'ts/no-redeclare': 'error',
'ts/no-require-imports': 'error',
Expand Down

0 comments on commit db397b6

Please sign in to comment.