@operationmonkey/commitlint-config-core

2.0.0 • Public • Published

@operationmonkey/commitlint-config-core

Install

npm install --save-dev --save-exact @operationmonkey/commitlint-config-core

Use

Create commitlint.config.js with content:

module.exports = {
  extends: ['@operationmonkey/commitlint-config-core']
}

Make sure you have husky installed and prepared. Then run command:

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

or create file .husky/commit-msg with content (and chmod +x):

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit $1

Readme

Keywords

none

Package Sidebar

Install

npm i @operationmonkey/commitlint-config-core

Weekly Downloads

0

Version

2.0.0

License

none

Unpacked Size

1.81 kB

Total Files

4

Last publish

Collaborators

  • kosvi