forked from stardew-valley-dedicated-server/server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
29 lines (29 loc) · 844 Bytes
/
commitlint.config.js
File metadata and controls
29 lines (29 loc) · 844 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
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
// Match the types defined in release-please-config.json
'type-enum': [
2,
'always',
[
'feat', // Features
'fix', // Bug Fixes
'perf', // Performance Improvements
'revert', // Reverts
'docs', // Documentation
'style', // Styles
'chore', // Miscellaneous Chores
'refactor', // Code Refactoring
'test', // Tests
'build', // Build System
'ci' // Continuous Integration
]
],
// Ensure subject is not empty
'subject-empty': [2, 'never'],
// Ensure type is not empty
'type-empty': [2, 'never'],
// Allow mixed case for acronyms like PR, CLI, STEAM_AUTH_PORT
'subject-case': [0]
}
};