Skip to content

Commit a458999

Browse files
committed
workflow: modify commitlint rules
1 parent 1a7e2d2 commit a458999

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.commitlintrc.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
// Default Config See https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional
12
const { rules } = require('@commitlint/config-conventional')
23

34
// See https://github.com/vuejs/core/blob/main/scripts/verifyCommit.js
45
rules['type-enum'][2].push('wip', 'types', 'release', 'workflow', 'dx')
6+
rules['header-max-length'][2] = 150
57

68
module.exports = {
79
extends: ['@commitlint/config-conventional'],

0 commit comments

Comments
 (0)