microsoft/vscode

alint covers 75% of vscode's hand-rolled build/hygiene.ts script declaratively, in one file.

Narrative
Replaces N hand-rolled validation scripts
Rules
67
Last revalidated
Engineering reference
README on GitHub · .alint.yml

Why this matters

microsoft/vscode is the most-watched OSS desktop application on GitHub (~160k stars), and the case study with the highest direct apples-to-apples comparison surface alint has competed against in any case study to date: the repo literally ships a custom hygiene-check script (build/hygiene.ts) that does exactly what alint is designed to do.

The vscode case study answers the question every adopter asks: “What would it look like if I rewrote my hand-rolled hygiene script as alint rules?” The answer here is concrete and verifiable: 6 of 8 stages port cleanly; the remaining 2 either need new primitives or stay in the script.

Headline catch

alint is what build/hygiene.ts would look like as a tool, not a per-repo script.

vscode’s 335-line bespoke hygiene pipeline runs 8 distinct checks. alint covers 6 of those 8 declaratively — productJson gating, copyright headers across src/ and the public extension API surface, line-endings discipline, and the cross-file copilot/engines version invariant — verified against the live tree. The remaining 2 (TS-printer round-trip; the per-line // allow-any-unicode-next-line escape-hatch unicode stream) belong in a custom script, and shell out via command:.

If alint can replace 75% of what the most-watched developer-tools repo on GitHub maintains as a 335-line custom hygiene script, it can replace most of yours too.

Where alint earns its keep here

Future story angles

The factual engineering writeup (tooling inventory, mapping table, gap catalogue, validation status footer) lives in the public alint repo at github.com/asamarts/alint/tree/main/examples/microsoft-vscode/README.md.