Standard Prettier configuration for Software Ventures Limited
npm install @softwareventures/prettier-configStandard Prettier configuration for
Software Ventures Limited.
``bash`
npm install --save-dev @softwareventures/prettier-config
or for yarn users:
`bash`
yarn add --dev @softwareventures/prettier-config
Add to package.json:
`json`
{
"prettier": "@softwareventures/prettier-config"
}
Recommended: Configure husky and precise-commits to automatically reformat
changes before they are committed.
`bash`
npm install --save-dev husky precise-commits
or
`bash`
yarn add --dev husky precise-commits
Then add to package.json:
`json``
{
"husky": {
"hooks": {
"pre-commit": "precise-commits"
}
}
}