File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,33 +12,36 @@ func (c CommitType) String() string {
1212}
1313
1414const (
15- CommitTypeFix CommitType = "fix"
16- CommitTypeFeat CommitType = "feat"
15+ CommitTypeBuild CommitType = "build"
16+ CommitTypeChore CommitType = "chore"
17+ CommitTypeCI CommitType = "ci"
1718 CommitTypeDocs CommitType = "docs"
18- CommitTypeStyle CommitType = "style "
19- CommitTypeRefactor CommitType = "refactor "
19+ CommitTypeFeat CommitType = "feat "
20+ CommitTypeFix CommitType = "fix "
2021 CommitTypePerf CommitType = "perf"
22+ CommitTypeRefactor CommitType = "refactor"
23+ CommitTypeStyle CommitType = "style"
2124 CommitTypeTest CommitType = "test"
22- CommitTypeChore CommitType = "chore"
2325)
2426
2527var (
2628 // Based on https://www.conventionalcommits.org/
27- // TODO allow config to choose between these lists
2829 TypeConventionalCommit []CommitType = []CommitType {
29- CommitTypeFix ,
3030 CommitTypeFeat ,
31+ CommitTypeFix ,
3132 }
32- // Based on https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#type
33+
34+ // Based on https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md
3335 TypeAngular []CommitType = []CommitType {
34- CommitTypeFix ,
35- CommitTypeFeat ,
36+ CommitTypeBuild ,
37+ CommitTypeCI ,
3638 CommitTypeDocs ,
37- CommitTypeStyle ,
38- CommitTypeRefactor ,
39+ CommitTypeFeat ,
40+ CommitTypeFix ,
3941 CommitTypePerf ,
42+ CommitTypeRefactor ,
43+ CommitTypeStyle ,
4044 CommitTypeTest ,
41- CommitTypeChore ,
4245 }
4346)
4447
You can’t perform that action at this time.
0 commit comments