mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
e89f4ce0e4
Validate BO-<issue>-<slug> branch names and lint PR titles and commit headers in CI and release workflows. Require GitHub closing-keyword issue references and verify referenced issues exist. Align contributing, release, commit, testing, and policy docs with the enforced behavior and tone.
41 lines
877 B
JavaScript
41 lines
877 B
JavaScript
module.exports = {
|
|
extends: ["@commitlint/config-conventional"],
|
|
rules: {
|
|
"type-enum": [2, "always", ["feat", "fix", "db", "perf", "refactor", "style", "docs", "test", "build", "ci", "chore", "security", "revert"]],
|
|
"header-max-length": [2, "always", 72],
|
|
"subject-full-stop": [2, "never", "."],
|
|
"scope-enum": [
|
|
2,
|
|
"always",
|
|
[
|
|
"auth",
|
|
"library",
|
|
"books",
|
|
"authors",
|
|
"series",
|
|
"cover",
|
|
"metadata",
|
|
"kobo",
|
|
"opds",
|
|
"reader",
|
|
"collections",
|
|
"annotations",
|
|
"users",
|
|
"stats",
|
|
"notifications",
|
|
"settings",
|
|
"scanner",
|
|
"email",
|
|
"audit",
|
|
"smart-scope",
|
|
"types",
|
|
"docker",
|
|
"deps",
|
|
"server",
|
|
"client",
|
|
],
|
|
],
|
|
"scope-empty": [0],
|
|
},
|
|
};
|