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

Yes, and, write custom linters for things you want to prevent forever. Have a look at https://github.com/cadamsdotcom/CodeLeash/blob/main/scripts/... for an example (enforced before all commits via https://github.com/cadamsdotcom/CodeLeash/blob/main/.pre-com...)

Basically I got sick of telling the agent to put dynamic imports at the top of the file so I made them into an error that blocks commits.

Now I don’t even need that in the review.md because it can’t make it though to /review.



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

Search: