-
Notifications
You must be signed in to change notification settings - Fork 0
/
.branchlintrc.json
24 lines (24 loc) · 942 Bytes
/
.branchlintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"branchNameLinter": {
"prefixes": [
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"chore",
"revert"
],
"separator": "/",
"regex": "^(feat|fix|docs|style|refactor|perf|test|chore|revert)/[a-z0-9-]+$|^(prod|dev)$",
"banned": ["master", "main"],
"skip": ["master", "main", "prod", "dev"],
"disallowed": ["wip"],
"msgBranchBanned": "🚫 Branches with the name \"%s\" are not allowed.",
"msgBranchDisallowed": "🚫 Branch name \"%s\" is not allowed.",
"msgPrefixNotAllowed": "❌ Branch prefix \"%s\" is not allowed. Must be one of: feat, fix, docs, style, refactor, perf, test, chore, revert",
"msgSeparatorRequired": "❌ Branch \"%s\" must use separator \"/\" (Example: feat/my-feature) or be exactly 'prod' or 'dev'"
}
}