-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
33 lines (33 loc) · 869 Bytes
/
Copy pathcommitlint.config.js
File metadata and controls
33 lines (33 loc) · 869 Bytes
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
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
// Changes that affect the build system or dependency-only changes
'build',
// Changes to CI workflows
'ci',
// Documentation-only changes
'docs',
// A new feature
'feat',
//A bug fix
'fix',
// A code change that improves performance
'perf',
// A code change that neither fixes a bug nor adds a feature
'refactor',
// A commit that reverts a previous commit
'revert',
// Changes that do not affect the meaning of the code
'style',
// Adding missing tests or correcting existing tests
'test',
// Used for automated releases-only
'release',
],
],
},
};