-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
24 lines (24 loc) · 818 Bytes
/
commitlint.config.js
File metadata and controls
24 lines (24 loc) · 818 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
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'feature', // New feature
'fix', // Bug fix
'hotfix', // Hotfix (critical bug fix)
'docs', // Documentation
'style', // Formatting, missing semi colons, etc; no production code change
'refactor', // Refactoring production code
'perf', // Performance improvements
'test', // Adding missing tests
'chore', // Updating build tasks, package manager, etc; no production code change
'revert', // Reverts a previous commit
'build', // Changes that affect the build system or external dependencies
'ci', // Changes to CI configuration files and scripts
],
],
'subject-case': [0],
},
};