Disable prettier per repository
In VS Code I have Prettier extension enabled and a workspace with multiple repositories. Most of them have Prettier configuration but some are legacy projects without such config. I don't touch those often but when I do, I don't want Prettier blowing up my commits with formatting changes.
Fix is to add
prettierignore file to those repos with
** as content.