0.4.0 • Published 1 year ago

@pretty-cozy/git-hooks v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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.4.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.3.0-alpha.0

1 year ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.4-alpha.1

2 years ago

0.0.4-alpha.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.2-alpha.9

2 years ago

0.0.2-alpha.7

2 years ago

0.0.2-alpha.5

2 years ago

0.0.2-alpha.4

2 years ago

0.0.2-alpha.3

2 years ago

0.0.2-alpha.2

2 years ago

0.0.2-alpha.1

2 years ago

0.0.2-alpha.0

2 years ago