Shared Prettier config for standardizing formatting across projects.
-
Install Prettier and this config package.
yarn add prettier @aaronlabrie/prettier
-
Add this line to your package.json
"prettier": "@aaronlabrie/prettier"
-
Set up Prettier with your editor: https://prettier.io/docs/en/editors.html
-
Enjoy your new formatting!