@softwareventures/prettier-config
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

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"
        }
    }
}

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @softwareventures/prettier-config

Weekly Downloads

1,000

Version

4.0.0

License

ISC

Unpacked Size

7.05 kB

Total Files

11

Last publish

Collaborators

  • djcsdy