1.0.2 • Published 2 years ago

@releaseband/commitlint-config v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@releaseband/commitlint-config

commitlint shareable config

Installing

npm i -D @releaseband/commitlint-config
npx install-peerdeps --dev @releaseband/commitlint-config

create .commitlintrc.json file in the root project folder:

{
  "extends": ["@releaseband/commitlint-config"]
}

Installing commitizen tool

npm i -D @commitlint/cz-commitlint commitizen

create .cz.json file in the root project folder:

{
  "path": "@commitlint/cz-commitlint"
}

add script in package.json file:

{
  "scripts": {
    "commit": "cz"
  }
}

Add husky hook

initialize husky:

npx husky-init && npm install

add commit-msg hook:

npx husky add .husky/commit-msg 'npx --no -- commitlint --edit $1'
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago