We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18fbed7 commit 3ecf22aCopy full SHA for 3ecf22a
@commitlint/rules/src/scope-case.ts
@@ -27,7 +27,7 @@ export const scopeCase: SyncRule<TargetCaseType | TargetCaseType[]> = (
27
28
// Scopes may contain slash or comma delimiters to separate them and mark them as individual segments.
29
// This means that each of these segments should be tested separately with `ensure`.
30
- const delimiters = /\/|\\|,/g;
+ const delimiters = /\/|\\|, ?/g;
31
const scopeSegments = scope.split(delimiters);
32
33
const result = checks.some((check) => {
0 commit comments