0.3.1 • Published 5 days ago

@pretty-cozy/git-hooks v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 days ago

@pretty-cozy/git-hooks

A pretty cozy collection of git hooks to verify commit messages and lint your code.

Setup

  1. Install the package
    npm i -D @pretty-cozy/git-hooks
  2. Add a lint-staged config to your package.json, for example:
    "lint-staged": {
      "*.{ts,tsx}": [
        "npm run lint:fix"
      ],
      "*.{json,md,html}": [
        "prettier --write"
      ]
    }
  3. Add a prepare script to your package.json to auto install the hooks on npm i:
    "scripts": {
      "prepare": "cozy-git-hooks install --quiet"
    }
0.3.1

5 days ago

0.3.0

2 months ago

0.3.0-alpha.0

2 months ago

0.2.0

10 months ago

0.1.0

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.4-alpha.1

1 year ago

0.0.4-alpha.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.2-alpha.9

1 year ago

0.0.2-alpha.7

1 year ago

0.0.2-alpha.5

1 year ago

0.0.2-alpha.4

1 year ago

0.0.2-alpha.3

1 year ago

0.0.2-alpha.2

1 year ago

0.0.2-alpha.1

1 year ago

0.0.2-alpha.0

1 year ago