@nice-move/commitlint-config
v0.10.4
Published
A `commitlint` config created by personal preferences
Downloads
13
Maintainers
Readme
@nice-move/commitlint-config
A commitlint config created by personal preferences.
Installation
npm install commitlint @nice-move/commitlint-config --save-dev
Usage
// example: package.json
{
"commitlint": {
"extends": "@nice-move/commitlint-config"
}
}
echo "foo" | commitlint
Using by git hooks
#!/bin/sh
npx --no-install commitlint -e
# save this to: .githooks/commit-msg
git config core.hooksPath .githooks
git commit -m "foo"
Tips
This config includes @commitlint/config-conventional, but case checking is disabled.