New ast-grep perf improvement for multi-language projects! Previously the CLI scans all files even if a file has no matching rule. Now it is will only scan candidate files which can produce lint errors.
In Next.js, where sg lints only Rust, the trick improves linting time by 90%
Post image

Comments