sincecutoff.com
← all changes

ast-grep adds the no-suppress-all built-in rule

Introduced 2026-04-04 · score 0.94

HOW TO USE IT

When checking for diagnostics hidden by suppress-all comments, run ast-grep’s built-in `no-suppress-all` rule on the repository. It reports `ast-grep-ignore` comments that omit a rule ID.

ast-grep scan --warning=no-suppress-all
ast-grep scan --error=no-suppress-all

WHY THIS HELPS

Check code for suppressed diagnostics using ast-grep's built-in rules.

REQUIREMENTS AND LIMITATIONS

  • Version: 0.42.1
  • --warning=no-suppress-all: Sets the `no-suppress-all` rule severity to warning; the rule is otherwise not enabled by default.
  • --error=no-suppress-all: Sets the `no-suppress-all` rule severity to error; an error rule match makes the scan exit non-zero.
  • [PATHS]...: Paths to search; defaults to the current directory (`.`).

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card