From 225170d18c139859645ab54f92559f76e993ce3a Mon Sep 17 00:00:00 2001 From: Andy Luo Date: Fri, 19 Jul 2024 08:05:09 +0800 Subject: [PATCH] fix: remove deprecated 'ts/prefer-ts-expect-error' rule (#549) Co-authored-by: AndyLuo --- src/configs/typescript.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/configs/typescript.ts b/src/configs/typescript.ts index 9d9c6271ad..ed57cb095f 100644 --- a/src/configs/typescript.ts +++ b/src/configs/typescript.ts @@ -145,7 +145,6 @@ export async function typescript( 'ts/no-use-before-define': ['error', { classes: false, functions: false, variables: true }], 'ts/no-useless-constructor': 'off', 'ts/no-wrapper-object-types': 'error', - 'ts/prefer-ts-expect-error': 'error', 'ts/triple-slash-reference': 'off', 'ts/unified-signatures': 'off',