Hacker News new | ask | show | jobs
by stevekemp 1638 days ago
Agreed. Simple checks like these are trivial:

A call to function "Foo" Must always have an argument matching the regexp "/blah/". Otherwise raise an error.

And they're so lightweight you can add them to any CI/CD/automation steps in your repository. Once you get a few things like that, or validating naming-standards, you can roll them up into a simple "linter".