Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd do this by only running the linter locally and using this as a custom rule for the LLM, but I need to think about it a bit harder.


There is probably something you can do to only apply some rules to the actual changed lines in a git diff.

You may have to write your own linter for that specifically.


you'd probs want a commit hook for that


Does "don't write comments" not work?


about as effective as don't make mistakes... For anthropic's models at least


It’ll work sometimes.

You’re using a non-deterministic algorithm to generate output. If you want deterministic rules applied to it, you have to use deterministic systems to do it.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: