Skip to content

Commit 02612a6

Browse files
committed
chore(main): delete unused consts
1 parent 4f90435 commit 02612a6

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

main.go

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,6 @@ var (
2626
r = flag.String("rule", "", "select rule file path (config.yaml)")
2727

2828
FormatRegularPattern = `([a-zA-Z]+)(\(.*\))?:\s+(.*)`
29-
requiredTypes = []string{
30-
"feat",
31-
"fix",
32-
"perf",
33-
"docs",
34-
"style",
35-
"refactor",
36-
"test",
37-
"build",
38-
"chore",
39-
}
40-
typeDoc = "Allows type values\n" +
41-
"\033[0;93mfeat\033[0m: for a new feature for the user, not a new feature for build script.\n" +
42-
"\033[0;93mfix\033[0m: for a bug fix for the user, not a fix to a build script.\n" +
43-
"\033[0;93mperf\033[0m: for performance improvements.\n" +
44-
"\033[0;93mdocs\033[0m: for changes to the documentation.\n" +
45-
"\033[0;93mstyle\033[0m: for formatting changes, missing semicolons, etc.\n" +
46-
"\033[0;93mrefactor\033[0m: for refactoring production code, e.g. renaming a variable.\n" +
47-
"\033[0;93mtest\033[0m: for adding missing tests, refactoring tests; no production code change.\n" +
48-
"\033[0;93mbuild\033[0m: for updating build configuration, development tools or other changes irrelevant to the user.\n" +
49-
"\033[0;93mchore\033[0m: for updates that do not apply to the above, such as dependency updates."
5029

5130
scopeDoc = "\033[0;93mThe <scope> can be empty (e.g. if the change is a global or difficult to assign to a single component), in which case the parentheses are omitted.\033[0m"
5231
styleDoc = "\033[0;93mThe type and scope should always be lowercase.\033[0m"

0 commit comments

Comments
 (0)