@oriflame/conventional-changelog-lint-config
TypeScript icon, indicating that this package has built-in type declarations

1.1.60 • Public • Published

@oriflame/conventional-changelog-lint-config

Config for oriflame preset.

Getting started

# Install commitlint cli and conventional config
npm install --save-dev @commitlint/cli @oriflame/conventional-changelog-lint-config
# Or use yarn
yarn add --dev @commitlint/cli @oriflame/conventional-changelog-lint-config

# Configure commitlint to use conventional config
echo "module.exports = {extends: ['@oriflame/conventional-changelog-lint-config']}" > commitlint.config.js

To lint commits before they are created you can use Husky's 'commit-msg' hook:

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

Further instructions

commitlint

Package Sidebar

Install

npm i @oriflame/conventional-changelog-lint-config

Weekly Downloads

153

Version

1.1.60

License

MIT

Unpacked Size

5.41 kB

Total Files

10

Last publish

Collaborators

  • samanekm
  • ondrej_langr.oriflame
  • jan.novotny.oriflame
  • cfmano
  • jakubmazanec
  • ori-development