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(
6161 ] ,
6262 // This rule enforces the preference for using '@ts-expect-error' comments in TypeScript
6363 // 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+ ] ,
6568 // Enforce the use of 'import type' for importing types
6669 '@typescript-eslint/consistent-type-imports' : [
6770 '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 */
22import type { NativeElements , ReservedProps , VNode } from '@vue/runtime-dom'
33
44/**
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 */
22// global JSX namespace registration
33// somehow we have to copy=pase the jsx-runtime types here to make TypeScript happy
44import type { NativeElements , ReservedProps , VNode } from '@vue/runtime-dom'
You can’t perform that action at this time.
0 commit comments