Common commitlint configuration for MapColonies projects
To install the package run the following command:
npm install --save-dev @mapcolonies/commitlint-configTo use the package, create a commitlint.config.js file in the root of your project and add the following code:
module.exports = {
extends: ['@mapcolonies/commitlint-config'],
};This package extends all the rules from the @commitlint/config-conventional package and adds the following rules:
- The allowed values for the type parameters (feat,fix,chore..) are as follow:
deps,helm,build,chore,ci,docs,feat,fix,perf,refactor,revert,style,test