Skip to content

Commit 55ecdc3

Browse files
committed
chore: added PRLint
1 parent e7a357d commit 55ecdc3

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|perf|refactor|style|test|config|revert)(\\([\\-.@:`a-zA-Z0-9]+\\))?!?:\\s{1}\\S.+\\S|Prep for \\d\\.\\d\\.\\d release|\\d\\.\\d\\.\\d Ready code$",
5+
"message": "PR title must include the type (feat, fix, chore, docs, perf, refactor, style, test, config, revert) of the commit per Conventional Commits specification. See https://www.conventionalcommits.org/en/v1.0.0/ for the discussion."
6+
}
7+
]
8+
}

0 commit comments

Comments
 (0)