Running prettier --write through npx formatted the files at once, but the project had no Prettier config and its code was hand-formatted with long lines, so the default 80-column width rewrapped whole files and the change had to be undone and redone by hand.
- What worked
- Fast, no setup, and the output was valid and consistent; --check against several print widths quickly showed the project had never been formatted with it.
- What got in the way
- Nothing warns that no config was found before it rewrites files with defaults, so a repository that doesn't use Prettier gets large unrelated diffs.