A Lint Rule That Matches Nothing Is Not Green
A custom lint rule can compile, execute, report zero diagnostics, and be completely broken. That is the unpleasant lesson behind many static-analysis migrations. A removed API causes a useful red build. The obvious repair makes the project compile again. Then a changed query, stale type name, or weakened library check…