1.0.0 • Published 5 years ago

@digitalroute/commitlint-config v1.0.0

Weekly downloads
146
License
MIT
Repository
github
Last release
5 years ago

@digitalroute/commitlint-config

Commitlint shareable configuration for Digitalroute projects.

Usage

Install this config and commitlint as a devDependency:

npm install @commitlint/cli@next @digitalroute/commitlint-config --save-dev

Add the following to your package.json:

{
  "commitlint": {
    "extends": "@digitalroute/commitlint-config"
  }
}

Usage with husky and lint-staged

Husky is a tool that triggers npm-scripts based on git actions. You can use huskyto ensure that all commits are linted.

Install husky as a devDependency:

npm install husky --save-dev

Add the following to your package.json:

{
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  }
}
4.0.0

11 months ago

3.1.0

2 years ago

3.0.0

2 years ago

1.6.0

2 years ago

2.0.0

2 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago