Skip to content

Rules: Deprecate prefer-ts-expect-error in favor of ban-ts-comment #8333

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy