@softwareventures/prettier-config
v4.0.0
Published
Standard Prettier configuration for Software Ventures Limited
Downloads
2,617
Readme
prettier-config
Standard Prettier configuration for Software Ventures Limited.
Install
npm install --save-dev @softwareventures/prettier-config
or for yarn users:
yarn add --dev @softwareventures/prettier-config
Usage
Add to package.json
:
{
"prettier": "@softwareventures/prettier-config"
}
pre-commit hook
Recommended: Configure husky and precise-commits to automatically reformat changes before they are committed.
npm install --save-dev husky precise-commits
or
yarn add --dev husky precise-commits
Then add to package.json
:
{
"husky": {
"hooks": {
"pre-commit": "precise-commits"
}
}
}