Hacker News new | ask | show | jobs
by chipdart 567 days ago
> style fixes should always be separate commits.

Not really. If you're already changing the code and running linters afterwards introduces changes over your change, this means you are the one introducing the problems. Separate commits just add noise.

Your comment is like saying that bug fixes should be separate commits when arguing about how not to add bugs to begin with.

1 comments

ok, yes, you should not introduce style problems to begin with. but if the problem is already there from an older PR, it should be fixed separately.