Shared Prettier configuration.
Install:
$ npm install -D @gilbarbara/prettier-config
Edit package.json
:
{
// ...
"prettier": "@gilbarbara/prettier-config"
}
Read more on sharing configurations.
By far the biggest reason for adopting Prettier is to stop all the on-going debates over styles.
This configuration is intended to provide consistent, automatic formatting throughout a project and pairs well with eslint-config.