@tofrankie/commitlint
v0.0.5
Published
A shared commitlint configuration
Maintainers
Readme
@tofrankie/commitlint
A shared commitlint configuration.
[!IMPORTANT] Before 1.0.0, releases may include breaking changes. Read the CHANGELOG before upgrading.
Quick Start
Install dependencies:
$ pnpm add commitlint @tofrankie/commitlint -DCreate a commitlint.config.js in your project root:
export default {
extends: ['@tofrankie/commitlint'],
}See the Commitlint rules reference for all rule options.
Example: custom scope-enum:
export default {
extends: ['@tofrankie/commitlint'],
rules: {
'scope-enum': [2, 'always', ['foo', 'bar']],
},
}