8000 Rules: Deprecate prefer-ts-expect-error in favor of ban-ts-comment · Issue #8333 · typescript-eslint/typescript-eslint · GitHub
[go: up one dir, main page]

Skip to content 10000
Rules: Deprecate prefer-ts-expect-error in favor of ban-ts-comment #8333
Closed
@fregante

Description

@fregante

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0