Skip to content

Commit a4509ff

Browse files
committed
chore: enforce PR title format with PRLint Reloaded
1 parent 7b7e63c commit a4509ff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/prlint.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"title": [
3+
{
4+
"pattern": "^(\\[\\d+\\.\\d+\\]\\s{1})?(feat|fix|chore|docs|refactor|style|test)(\\([\\-.@:`a-zA-Z0-9]+\\))?!?:\\s{1}\\S.+\\S$",
5+
"message": "PR title does not meet requirement, use Conventional Commits format using one of these categories: feat, fix, chore, docs, refactor, style, test"
6+
}
7+
]
8+
}

0 commit comments

Comments
 (0)