An awesome variation of @commitlint/config-conventional.
This package is a commitlint
configuration for commit message conventions and enforcement. It's a modified variation of @commitlint/config-conventional, with the following enhancements:
- Commit message header-length is extended to 80 characters, provoked by lengthy Greenkeeper's commit message subject lines.
Learn more about commitlint
configuration.
npm install -D commitlint-config-awesome
Use the "extends": "awesome"
property in your commitlint
config, then add any additional configuration as required.
{
"commitlint": {
"extends": ["awesome"]
}
}
{
"extends": ["awesome"]
}
extends: [awesome]
module.exports = {
extends: ['awesome']
};
There are many ways to implement custom configurations. Review the complete list of possible rules to learn more.
You can override the rules immediately following the extends
property. See the following examples.
{
"extends": ["awesome"],
"rules": {
"header-max-length": [0, "always", 100]
}
}
extends: [awesome]
rules:
header-max-length: [0, 'always', 100]
module.exports = {
extends: ['awesome'],
rules: {
'header-max-length': [0, 'always', 100]
}
};
Depending on how far down the rabbit role you need to go, you may want to publish your own configuration.
Fork the repo, then perform a few find-replace tasks on all files in your version of the repository:
- Find
commitlint-config-awesome
, replace withcommitlint-config-your-config-name
- Find
awesome
, replace withyour-config-name
- Find
seantrane
, replace withyour-profile
- Delete files;
rm -Rf CODEOWNERS CONTRIBUTING.md
Submit an issue, in which you should provide as much detail as necessary for your issue.
Contributions are always appreciated. Read CONTRIBUTING.md documentation to learn more.
Release details are documented in the CHANGELOG.md file, and on the GitHub Releases page.
Copyright (c) 2018 Sean Trane Sciarrone