55 lines
1.5 KiB
JavaScript
55 lines
1.5 KiB
JavaScript
module.exports = {
|
|
extends: ["@commitlint/config-conventional"],
|
|
rules: {
|
|
"body-min-length": [2, "always", 20],
|
|
"header-case": [2, "always", "lower-case"],
|
|
"header-max-length": [2, "always", 72],
|
|
"type-enum": [
|
|
2,
|
|
"always",
|
|
["build", "ci", "docs", "feat", "fix", "perf", "refactor", "release", "revert", "test"],
|
|
],
|
|
"scope-enum": [
|
|
2,
|
|
"always",
|
|
[
|
|
"api",
|
|
"autheliabot",
|
|
"authentication",
|
|
"authorization",
|
|
"buildkite",
|
|
"bundler",
|
|
"cmd",
|
|
"codecov",
|
|
"commands",
|
|
"configuration",
|
|
"deps",
|
|
"docker",
|
|
"duo",
|
|
"go",
|
|
"golangci-lint",
|
|
"handlers",
|
|
"logging",
|
|
"middlewares",
|
|
"mocks",
|
|
"models",
|
|
"notification",
|
|
"npm",
|
|
"oidc",
|
|
"regulation",
|
|
"renovate",
|
|
"reviewdog",
|
|
"server",
|
|
"session",
|
|
"storage",
|
|
"suites",
|
|
"templates",
|
|
"utils",
|
|
"web",
|
|
],
|
|
],
|
|
},
|
|
defaultIgnores: true,
|
|
helpUrl: "https://www.authelia.com/docs/contributing/commitmsg-guidelines.html",
|
|
};
|