> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ts-suppression-without-reason

> A @ts-ignore, @ts-expect-error or @ts-nocheck directive has no explanation.

## What it flags

`@ts-ignore`, `@ts-expect-error` or `@ts-nocheck` with no explanation. A reason can follow the directive or appear earlier in the same block comment. In tests, a `// invalid: <reason>` comment immediately above `@ts-expect-error` also explains an intentionally invalid case. A directive nested in a commented-out line is ignored. Declaration files, fixtures, docs, examples, generated and vendored code are skipped.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "ts-suppression-without-reason": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.