Explorar o código

docs: set propper highlighting for commit convention regex (#10949) [skip ci]

OrbisK hai 1 ano
pai
achega
6a8d548506
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .github/commit-convention.md

+ 1 - 1
.github/commit-convention.md

@@ -6,7 +6,7 @@
 
 
 Messages must be matched by the following regex:
 Messages must be matched by the following regex:
 
 
-``` js
+```regexp
 /^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
 /^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
 ```
 ```