Skip to content

Commit

Permalink
fix(typescript): replace deprecated prefer-ts-expect-error with ban-t…
Browse files Browse the repository at this point in the history
…s-comment
  • Loading branch information
teppeis committed Jun 2, 2024
1 parent dd6d2d6 commit 4bf2447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ export const typescript = merge(
"@typescript-eslint/no-inferrable-types": 2,

// Additional rules
"@typescript-eslint/ban-ts-comment": 2,
"@typescript-eslint/consistent-type-imports": 2,
"@typescript-eslint/no-import-type-side-effects": 2,
// allow require for power-assert and verbatimModuleSyntax
// '@typescript-eslint/no-require-imports': 2,
"@typescript-eslint/prefer-literal-enum-member": 2,
"@typescript-eslint/prefer-ts-expect-error": 2,
},
settings: {
// Don't enable rules that requires TypeScript parser for perf reasons.
Expand Down

0 comments on commit 4bf2447

Please sign in to comment.