My personal Prettier config.
Install
$ yarn add --dev @chrishiste/prettier-config
If you want to keep the end of line consistent you need to ask Windows users to run git config core.autocrlf false
before working on your repo so that git does not convert LF to CRLF on checkout. Alternatively, you can add * text=auto eol=lf
to the repo's .gitattributes file to achieve this