1.2.2 • Published 3 months ago
@repodog/commitlint-config v1.2.2
@repodog/commitlint-config
The Repodog Commitlint config.
Install package
# terminal
npm install @repodog/commitlint-config --save-dev
Install dependencies
# terminal
npm install @commitlint/cli @commitlint/config-conventional @commitlint/prompt-cli --save-dev
Initialize husky
# terminal
npx husky init
echo "npx --no -- commitlint --edit \$1" > .husky/commit-msg
Use package
// package.json
{
"scripts": {
"commit": "commit"
}
}
// commitlint.config.cjs
module.exports = {
extends: ['@repodog/commitlint-config'],
};
Make .husky/ executable
If you get the error The '.husky/commit-msg' hook was ignored because it's not set as executable.
when trying to create a commit, please run the command chmod ug+x .husky/*
from your project root and then create the commit again.
1.2.2
3 months ago
1.2.1
3 months ago
1.2.0
3 months ago
1.1.9
3 months ago
1.1.7
3 months ago
1.1.6
7 months ago
1.1.5
9 months ago
1.1.4
9 months ago
1.1.1
1 year ago
1.0.0
1 year ago
1.1.3
11 months ago
1.1.2
11 months ago
1.1.0-alpha.0
1 year ago
1.0.1-alpha.0
1 year ago
1.0.0-alpha.0
1 year ago
0.3.25
4 years ago
0.3.24
4 years ago
0.3.23
5 years ago
0.3.22
5 years ago
0.3.21
5 years ago
0.3.20
5 years ago
0.3.18
5 years ago
0.3.17
5 years ago
0.3.16
5 years ago
0.3.15
5 years ago
0.3.12
5 years ago
0.3.10
5 years ago
0.2.26
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago