prettier-config
/
2.0.0
prettier-config 2.0.0
Install from the command line:
Learn more about npm packages
$ npm install @bepower/prettier-config@2.0.0
Install via package.json:
"@bepower/prettier-config": "2.0.0"
About this version
Opinionated prettier configuration
Place a .npmrc
file in the root of the project:
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
@bepower:registry=https://npm.pkg.github.com
and then add the GITHUB_TOKEN
environment variable
Then install the npm package:
$ npm install --save-dev @bepower/prettier-config
.prettierrc.json
or "prettier"
property inside package.json
"@bepower/prettier-config"
prettier --write "**/*.{js,ts,json,md,yml}"