Преглед изворни кода

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

OrbisK пре 2 година
родитељ
комит
6a8d548506
1 измењених фајлова са 1 додато и 1 уклоњено
  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}/
 ```
 ```