-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathcommitlint.config.mjs
More file actions
22 lines (21 loc) · 717 Bytes
/
commitlint.config.mjs
File metadata and controls
22 lines (21 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
const config = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'feat', // New feature
'fix', // Bug fix
'refactor', // A code change that neither fixes a bug nor adds a feature
'revert', // Revert to a commit
'style', // Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
'test', // Adding missing tests or correcting existing tests
'docs', // Documentation changes
'chore', // Changes to the build process or auxiliary tools and libraries such as documentation generation
'wip',
],
],
},
};
export default config;