Hacker News new | ask | show | jobs
by lamontcg 1887 days ago
We do this with rubocop and its ability to parse the ruby AST. The API to actually write rules in rubocop is not particularly the best, but it has been highly successful in codebase and domain-specific ruby linting and autofixing.