Skip to content

Commit 6a8d548

Browse files
authored
docs: set propper highlighting for commit convention regex (#10949) [skip ci]
1 parent 107e614 commit 6a8d548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/commit-convention.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Messages must be matched by the following regex:
88

9-
``` js
9+
```regexp
1010
/^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
1111
```
1212

0 commit comments

Comments
 (0)