This is my personal Prettier config. Feel free to use it if you want.
Install (npm):
$ npm install --save-dev @nimec/prettier-config
Install (yarn):
$ yarn add -D @nimec/prettier-config
Install (pnpm):
$ pnpm add -D @nimec/prettier-config
Edit package.json
:
{
// ...
"prettier": "@nimec/prettier-config"
}
You can integrate these prettier rules with several linters. You can find further information at the Prettier Documentation.