Skip to content

Commit ac5d19f

Browse files
committed
chore(ci): expand commitlint scope-enum to match actual usage
Add gamemaster, routing, build, ci, test, lint, github scopes that are used in practice but were missing from the allowlist, causing constant scope-enum warnings. Group scopes by category for easier maintenance. scope-enum remains a warning (level 1) — scopes are optional, the list is a guide not a gate.
1 parent 5045489 commit ac5d19f

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

commitlint.config.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,16 @@ export default {
66
'perf', 'test', 'ci', 'build', 'revert',
77
]],
88
'scope-enum': [1, 'always', [
9-
'admin', 'player', 'transport', 'db',
10-
'ui', 'pwa', 'deps', 'release',
9+
// Features
10+
'admin', 'player', 'gamemaster',
11+
// Data & transport
12+
'db', 'transport',
13+
// UI
14+
'ui', 'routing',
15+
// PWA & build
16+
'pwa', 'build',
17+
// Tooling
18+
'deps', 'release', 'ci', 'test', 'lint', 'github',
1119
]],
1220
'subject-case': [2, 'never', ['start-case', 'pascal-case', 'upper-case']],
1321
'header-max-length': [2, 'always', 100],

0 commit comments

Comments
 (0)