Skip to content

Commit 6297b3c

Browse files
committed
fix: ensure backwards compat with config-angular@4 #145
1 parent 6009c89 commit 6297b3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

@commitlint/core/src/library/ensure-case.js

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function ensureCase(raw = '', target = 'lowercase') {
2727
);
2828
case 'lower-case':
2929
case 'lowercase':
30+
case 'lowerCase': // Backwards compat config-angular v4
3031
return input.toLowerCase() === input;
3132
default:
3233
throw new TypeError(`ensure-case: Unknown target case "${target}"`);

0 commit comments

Comments
 (0)