Use this with our eslint config.
Install:
npm install --save-dev @barsoom/prettier-config
Then put this in package.json:
"prettier": "@barsoom/prettier-config"
- Change the config in
prettierrc.json
. - Bump the version in
package.json
. - Run
npm publish
. - Run
npm update @barsoom/prettier-config
(or update all deps) in projects that use this.