Hacker News new | ask | show | jobs
by __initbrian__ 2410 days ago
> running it on the entire codebase

The autoformatter config file is checked in with the PR that’s runs it on the entire codebase. Everybody’s machine autoformats the same way.

Only things that are changed in the PR will be formatted along with the PR.

The separate problem I’ve found is any outstanding PRs at the time of running it on the whole codebase should merge in the commit before the format all, then the format all change, then current master. It’s made resolving the PR merge conflicts easier

idk what the ignore rev file does

1 comments

> idk what the ignore rev file does

Sorry - my question was ambiguous. That's the part that I don't understand.