forked from radix-ng/primitives
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.commitlintrc.cjs
62 lines (60 loc) · 1.42 KB
/
.commitlintrc.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// @ts-check
/** @type {import('@commitlint/types').UserConfig} */
const config = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'release',
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test'
]
],
'scope-enum': [
2,
'always',
[
'primitives',
'accordion',
'avatar',
'card',
'collapsible',
'context-menu',
'dropdown-menu',
'dialog',
'radio',
'radio-group',
'toggle',
'toggle-group',
'code',
'kbd',
'radix-docs',
'radix-ssr-testing',
'showcase-taxonomy',
'progress',
'shadcn',
'switch',
'docs',
'release',
'deps',
'deps-dev',
'changelog',
'ci',
'build',
'theme'
]
]
}
};
module.exports = config;