1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00
authelia/web/.commitlintrc.js
Amir Zarrinkafsh 11032bdf93
fix(server): remove obselete memory check warning ()
Given the fact that many Linux OSes are defaulting to CGroups v2 and also Authelia changing the default memory config for argon2id this warning is now obselete.
2021-09-16 12:26:34 +10:00

56 lines
1.5 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", "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",
};