mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
001589cd6d
Adds ability to record metrics and gather them for Prometheus.
59 lines
1.6 KiB
JavaScript
59 lines
1.6 KiB
JavaScript
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",
|
|
["build", "ci", "docs", "feat", "fix", "i18n", "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",
|
|
"metrics",
|
|
"middlewares",
|
|
"mocks",
|
|
"model",
|
|
"notification",
|
|
"npm",
|
|
"ntp",
|
|
"oidc",
|
|
"regulation",
|
|
"renovate",
|
|
"reviewdog",
|
|
"server",
|
|
"session",
|
|
"storage",
|
|
"suites",
|
|
"templates",
|
|
"totp",
|
|
"utils",
|
|
"web",
|
|
],
|
|
],
|
|
},
|
|
defaultIgnores: true,
|
|
helpUrl: "https://www.authelia.com/docs/contributing/commitmsg-guidelines.html",
|
|
};
|