A good lint has a few properties that would be easy to check for statically. We should consider some tooling.
A few quick thoughts:
~ensure register* calls have corresponding visit* methods implemented~ #3426
flag uses of RecursiveAstVisitors
flag naming convention violations
warn against (certain) internal analyzer API uses
<your idea here>
(Note that some of this is currently done in the build which is great for lints in this repo but ones hosted elsewhere could benefit from similar validation.)
3426 introduces a basic framework for self-checking via lints. I started with a check to ensure that we have visit methods that correspond to all node registrations.
A good lint has a few properties that would be easy to check for statically. We should consider some tooling.
A few quick thoughts:
register*
calls have correspondingvisit*
methods implemented~ #3426RecursiveAstVisitor
s<your idea here>
(Note that some of this is currently done in the build which is great for lints in this repo but ones hosted elsewhere could benefit from similar validation.)
/fyi @bwilkerson @davidmorgan