A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/typescript-eslint/typescript-eslint/issues/8333 below:

Deprecate prefer-ts-expect-error in favor of ban-ts-comment · Issue #8333 · typescript-eslint/typescript-eslint · GitHub

Before You File a Proposal Please Confirm You Have Done The Following... Description

One line of code triggers two different rules:

So if I must use @ts-ignore-error (due to flaky typescript errors) I have to disable two rules.

Why are there two rules that do the same thing? Given that prefer-ts-expect-error already exists, I think it would make sense to drop the specific check from ban-ts-comment

Impacted Configurations

I think one is in recommended and the other one is just in strict

Additional Info

No response


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4