@actinc/commitlint-config
v1.0.0
Published
ACT standard commit lint configuration
Downloads
6
Readme
id: commitlint-config sidebar_position: 4
@actinc/commitlint-config
This is the standard configuration for the commitlint tool. This works in conjunction with a git commit hook tool like husky.
The configuration is based on conventional-commits with ACT specific rules configured.
Installation
npm install --save-dev @actinc/commitlint-config
Configuration
The easiest way to register this configuration is by adding a setting to the package.json file.
// package.json
{
// ... other settings
"commitlint": {"extends": ["@actinc"]},
}
Alternatively, you can install the configuration be creating a commitlint configuration file in the root of your source code.
echo "module.exports = {extends: ['@actinc']}" > commitlint.config.js