#2633·ast-grep

[feature] announce total number of issues, not only errors

Author: birkenfeldCreated May 11, 2026Updated May 23, 2026
Labelsenhancement

⭐ Suggestion

Currently, if some rules are set to severity error, the total number of errors will be shown at the end of the sg scan run.

Suggestion is to show counts for all issues found, not only errors.

Use Cases

  • This is customary for lint type tools
  • It helps in easily gauging the number of issues added/removed when changing rules or code
  • IDEs will show this automatically but console users will need to use --report-style=short | wc -l or something like that.

Thanks :heart: