Skip to content

Docs: Add FAQ about ts-expect-error and ts-ignore not doing anything #9499

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

Anecdotally, I get this question multiple times a year: "why isn't my // @ts-ignore stopping lint errors?". A lot of users don't understand the difference between their linter and their type checker. Example: #9476

Now that we have separated-out FAQs, I think it'd be good to add an entry to the TypeScript FAQs about this. I could explain what the difference is, and have links to the docs for each tool.

Affected URL(s)

https://typescript-eslint.io/troubleshooting/faqs/typescript, perhaps?

💖

Metadata

Metadata

Labels

documentationDocumentation ("docs") that needs adding/updatinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.team assignedA member of the typescript-eslint team should work on this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions