2022-09-16 04:21:05 +00:00
|
|
|
module.exports = {
|
|
|
|
extends: ["@commitlint/config-conventional"],
|
|
|
|
rules: {
|
|
|
|
"body-max-line-length": [2, "always", "Infinity"],
|
|
|
|
"body-min-length": [2, "always", 20],
|
|
|
|
"header-case": [2, "always", "lower-case"],
|
|
|
|
"header-max-length": [2, "always", 72],
|
|
|
|
"type-enum": [
|
|
|
|
2,
|
|
|
|
"always",
|
2022-12-23 10:58:54 +00:00
|
|
|
["{{ join "\", \"" .Types.List }}"],
|
2022-09-16 04:21:05 +00:00
|
|
|
],
|
|
|
|
"scope-enum": [
|
|
|
|
2,
|
|
|
|
"always",
|
|
|
|
[
|
|
|
|
{{- range .Scopes.All }}
|
|
|
|
"{{ . }}",
|
|
|
|
{{- end }}
|
|
|
|
],
|
|
|
|
],
|
2023-04-26 02:48:15 +00:00
|
|
|
"signed-off-by": [2, "always", "Signed-off-by:"],
|
|
|
|
"trailer-exists": [2, "always", "Signed-off-by:"],
|
2022-09-16 04:21:05 +00:00
|
|
|
},
|
|
|
|
defaultIgnores: true,
|
2022-10-02 03:32:16 +00:00
|
|
|
helpUrl: "https://www.authelia.com/contributing/guidelines/commit-message/",
|
2022-09-16 04:21:05 +00:00
|
|
|
};
|