Skip to content

Commit 94b0f9a

Browse files
committed
fix: update commitlint config now that it supports esm
1 parent 20bcb3f commit 94b0f9a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

commitlint.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import commitlint from '@commitlint/config-conventional'
2+
3+
export default {
4+
extends: ['@commitlint/config-conventional'],
5+
...commitlint.rules,
6+
'type-enum': [
7+
2,
8+
'always',
9+
['fix', 'test', 'tooling', 'refactor', 'revert', 'example', 'docs', 'format', 'feat', 'chore', 'ci']
10+
]
11+
}

0 commit comments

Comments
 (0)