@strvcom/commitlint-config
STRV's config for commitlint
Configurations
@strv/commitlint-config
Suitable for all projects.
@strv/commitlint-config/lerna
Suitable for projects structured as a Lerna-managed monorepo. In addition to the standard conventional commits ruleset, it checks the scope to match a package name managed by Lerna.
Usage
npm i --dev @commitlint/cli @strv/commitlint-config
Now, create a commitlint.config.js file with the following contents:
'use strict'
module.exports = {
extends: [
'@strv/commitlint-config',
'@strv/commitlint-config/lerna',
],
}