mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-08-25 16:07:24 +00:00
chore(repo): configre commitlint.config.js
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
committed by
Dario Tranchitella
parent
5c189094d0
commit
9d3e9da1d0
@@ -0,0 +1,19 @@
|
||||
const Configuration = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
plugins: ['commitlint-plugin-function-rules'],
|
||||
rules: {
|
||||
'scope-enum': [2, 'always', ['all', 'chart', 'operator', 'manifest', 'deps', 'release', 'website', 'repo', 'e2e', 'make']],
|
||||
'type-enum': [2, 'always', ['chore', 'ci', 'docs', 'feat', 'test', 'fix', 'sec']],
|
||||
},
|
||||
/*
|
||||
* Whether commitlint uses the default ignore rules, see the description above.
|
||||
*/
|
||||
defaultIgnores: true,
|
||||
/*
|
||||
* Custom URL to show upon failure
|
||||
*/
|
||||
helpUrl:
|
||||
'https://github.com/projectcapsule/capsule/blob/main/CONTRIBUTING.md#commits',
|
||||
};
|
||||
|
||||
module.exports = Configuration;
|
||||
Reference in New Issue
Block a user