This is my base prettier config. It's a work in progress, but I'm using it in my projects.
Install the package:
> pnpm install -D @jrock2004/prettier-config
> yarn install -D @jrock2004/prettier-config
> npm install -save-dev @jrock2004/prettier-config
Add the following somewhere to your package.json
:
{
"prettier": "@jrock2004/prettier-config"
}