lint-creator
Guides creation, registration, and testing of custom dylint lints in the tooling/lints crate, including UI test conventions, stderr snapshots, and validating lints against the real codebase.
What it does
Add, modify, or test a custom dylint lint in `tooling/lints`. Covers the module/registration layout, UI test conventions (including negative tests and the gpui test fixture), how to run tests with the crate's pinned nightly and update `.stderr` files, and how to validate a lint against the real codebase with `single-lint`. Use whenever the user asks to write a new lint or debug an existing one.
Quality judgment
Highly specific, actionable guidance with concrete file paths, commands, and anti-patterns to avoid. Lacks a full worked code example but compensates with a template reference and precise conventions.