File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,10 @@ export default defineConfig(
61
61
] ,
62
62
// This rule enforces the preference for using '@ts-expect-error' comments in TypeScript
63
63
// code to indicate intentional type errors, improving code clarity and maintainability.
64
- '@typescript-eslint/prefer-ts-expect-error' : 'error' ,
64
+ '@typescript-eslint/ban-ts-comment' : [
65
+ 'error' ,
66
+ { minimumDescriptionLength : 0 } ,
67
+ ] ,
65
68
// Enforce the use of 'import type' for importing types
66
69
'@typescript-eslint/consistent-type-imports' : [
67
70
'error' ,
Original file line number Diff line number Diff line change 1
- /* eslint-disable @typescript-eslint/prefer -ts-expect-error */
1
+ /* eslint-disable @typescript-eslint/ban -ts-comment */
2
2
import type { NativeElements , ReservedProps , VNode } from '@vue/runtime-dom'
3
3
4
4
/**
Original file line number Diff line number Diff line change 1
- /* eslint-disable @typescript-eslint/prefer -ts-expect-error */
1
+ /* eslint-disable @typescript-eslint/ban -ts-comment */
2
2
// global JSX namespace registration
3
3
// somehow we have to copy=pase the jsx-runtime types here to make TypeScript happy
4
4
import type { NativeElements , ReservedProps , VNode } from '@vue/runtime-dom'
You can’t perform that action at this time.
0 commit comments