mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
53736a95b5
* fix(server): deduplicate migration user-state upsert batches Prevent migration failures when source data contains duplicate user-state rows for the same target keys. Keep the latest row per upsert key and prefer richer reading progress signals on timestamp ties, then cover the behavior with focused unit and e2e tests. Closes #71 * ci: raise commitlint body line limit to 500 chars Allow longer commit body lines so convention checks do not fail on detailed but still concise commit explanations in this repository.
12 lines
416 B
JavaScript
12 lines
416 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", 100],
|
|
"body-max-line-length": [2, "always", 500],
|
|
"subject-full-stop": [2, "never", "."],
|
|
"scope-enum": [0],
|
|
"scope-empty": [0],
|
|
},
|
|
};
|