-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
26 lines (26 loc) · 931 Bytes
/
Copy pathcommitlint.config.js
File metadata and controls
26 lines (26 loc) · 931 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
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'feat', // New features
'fix', // Bug fixes
'docs', // Documentation changes
'style', // Code style changes (formatting, etc.)
'refactor', // Code refactoring
'test', // Adding or updating tests
'chore', // Maintenance tasks
'perf', // Performance improvements
'ci', // CI/CD changes
'build', // Build system changes
'revert' // Reverting changes
]
],
'subject-case': [0], // Disabled - allow any case
'subject-max-length': [2, 'always', 72],
'body-max-line-length': [0], // Disable body line length check for semantic-release compatibility
'footer-max-line-length': [0] // Disable footer line length check for semantic-release compatibility
}
};