logoalt Hacker News

tayo42today at 4:31 PM1 replyview on HN

The person running the Ai needs to know to set up linting in the first place and have it be applied. It's not a default.

Ive had ai make code that doesn't pass a linter and make code look like hand aligned code.


Replies

aleqstoday at 5:25 PM

Shameless plug - I've been working on a general repo linting tool alint [0], which helps keep a repo cleanly structured and hygienic - essentially a linter for everything in a repo that a language-specific linter doesn't cover. It also has some considerations for integrating/playing nicely with agentic coding [1]. This started as a replacement to a bunch of scripts I had in repos that did similar things - but more cohesive, readable and much faster.

[0] https://github.com/asamarts/alint

[1] https://alint.org/agent-friendly-linter/