These prettier config settings are intended to reduce merge conflicts as much as possible.
My original google searches:
what prettier options are best for git diffs
what prettier options are best for git diffs avoid merge conflicts
what prettier options are best for git diffs avoid merge conflicts "trailingComma"
prettier lowest printWidth
Something I would like, is an eslint config that is very similar to prettier, but does has less deterministic formatting
- I sense starting with Standard.js or XO eslint style config would be a good starting point.
I'm curious what doing a format with printWidth: 1, and then doing a normal format would be like.
Sometimes prettier will make things more vertical, but not make them more horizontal.
Obviously more vertical is best for reducing merge conflicts.
Cross-referencing: prettier defaults: https://gist.github.com/adbutterfield/6b91625b5b07ca2c29f6322245e3e2bb