Closed brady-sewall closed 8 months ago
I don't think so
Does this extension allow for customizing / limiting commit types? For example, our build routine looks for the following:
Commitlint.js looks like it has a type-enum feature, but I don't understand where to configure that for this extension.
type-enum
I have Commitlint installed (not using Husky) and a commitlint.config.js file in the root of my repo.
This is the contents of my commitlint.config.js:
module.exports = { extends: ['@commitlint/config-conventional', '@commitlint/parse'], rules: { 'type-enum': [ 2, 'always', [ 'fix', 'feat', 'refactor', 'perf', 'style', 'test', 'build', 'chore', 'ci', ], ], }, };
Hi, @brady-sewall. This extension supports commitlint by reading commitlint config files. The type-enum rule is supported. See Readme for details.
Is your feature request related to a problem? Please describe
I don't think so
Describe the solution you'd like
Does this extension allow for customizing / limiting commit types? For example, our build routine looks for the following:
Describe alternatives you've considered
Commitlint.js looks like it has a
type-enum
feature, but I don't understand where to configure that for this extension.Additional context
I have Commitlint installed (not using Husky) and a commitlint.config.js file in the root of my repo.
This is the contents of my commitlint.config.js: