How tools parse comments that ignore rules.
Tool | Section | Next Line Only | Current Line Only | Specific Rules | Link |
---|---|---|---|---|---|
ESLint | eslint-{disable,enable} |
eslint-disable-next-line |
eslint-disable-line |
Yes | Docs |
TSLint | tslint:{disable,enable} |
tslint:disable-next-line |
tslint:disable-line |
Yes | Docs |
Prettier | prettier-ignore-{start,end} |
prettier-ignore |
Yes | Docs | |
Stylelint | stylelint-{disable,enable} |
stylelint-disable-next-line |
stylelint-disable-line |
Yes | Docs |
Markdownlint | markdownlint-{disable,enable} |
markdownlint-disable-next-line |
markdownlint-disable-line |
Yes | Docs |
Biome | biome-ignore lint: |
Yes | Docs | ||
Go | nolint:* |
||||
RuboCop | rubocop:{enable,disable} |
Docs | |||
Sorbet | typed: true |
Docs | |||
Cpp | #pragma GCC diagnostic ignored * |