Note: this package is mainly for my own use, but it might be useful if you use as needed
@mtripg6666tdr/commitlint-config
Sharable commitlint
config enforcing some rules
Getting Started
- Install
@commitlint/cli
- Install
@mtripg6666tdr/commitlint-config
- Configure commitlint config
- Configure git commit hooks if you like
Rules
Here are some rules that this package contains
type-enum
[
"Chore",
"Change",
"Improve",
"Fix",
"Update",
"Feat",
"Perf",
"Add",
"Docs",
"Remove",
"Rename",
"Revert",
"Bump",
],
ignores
- If the commit message starts with
Merge
, skip all rules whatever it is. - If the commit message includes
[wip]
(uppercase or lowercase does not matter), skip all rules whatever it is.
Seeing is believing.
See this for other rules
License
MIT