logoalt Hacker News

tshaddoxyesterday at 11:25 PM3 repliesview on HN

If a whole of people thought that running code through a linter or formatter was objectionable, I'd probably just dismiss their beliefs as invalid rather than adding the linter or formatter as a co-author to every commit.


Replies

jacquesmtoday at 1:07 AM

A linter or a formatter does not open you up to compliance and copyright issues.

runarbergtoday at 12:56 AM

Linters and formatters are different tools then LLMs. There is a general understanding that linters and formatters don’t alter the behavior of your program. And even still most projects require a particular linter and a formatter to pass before a PR is accepted, and will flag a PR as part of the CI pipeline if a particular linter or a particular formatter fails on the code you wrote. This particular linter and formatter is very likely to be mentioned somewhere in the configuration or at least in the README of the project.

mikkupikkuyesterday at 11:32 PM

Like frying a veggie burger in bacon grease. Just because somebody's beliefs are dumb doesn't mean we should be deliberately tricking them. If they want to opt out of your code, let them.

show 1 reply