Hacker News new | ask | show | jobs
by Hasnep 255 days ago
Which tools are you using that allow custom linter rules? I'd like to try this on some of my repos
2 comments

In ESLint I use eslint-plugin-local-rules and have my rules in a .js file (or folder) in the repo.

For golang I just use go/ast directly and make a small tool.

eslint and biome allow custom lint rules and it is not that hard to write new ones yourself.