@softwareventures/prettier-config

Standard Prettier configuration for Software Ventures Limited

Usage no npm install needed!

<script type="module">
  import softwareventuresPrettierConfig from 'https://cdn.skypack.dev/@softwareventures/prettier-config';
</script>

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