From dafb2e8fe543fc241f42b5038afda110a81ea626 Mon Sep 17 00:00:00 2001 From: KT Date: Wed, 22 Jul 2026 22:16:58 +0800 Subject: [PATCH] fix(commitlint): align subject-case with conventional-commits standard The bespoke subject-case rule forced all-lowercase subjects and rejected proper nouns (EverOS, HTTP), so a PR title like "... with EverOS HTTP backend" passed the PR-title check but failed commit-lint on the squash commit after merge. Switch to the standard config-conventional value, which forbids Title Case / ALL CAPS / Sentence case but allows lowercase subjects with mid-sentence proper nouns. Co-authored-by: Claude (claude-opus-4-8) --- AGENTS.md | 1 + commitlint.config.cjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 33bf353..4d82342 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -169,6 +169,7 @@ No other languages anywhere in the message — not just the subject; body and fo feat(cli): rename cron show/remove to get/delete fix(channels): default allow_from to ['*'] instead of deny-all refactor(cli): replace --cron-expr with --cron and --every-seconds with --every +feat(importer): add EverOS HTTP backend ``` ❌ Bad: diff --git a/commitlint.config.cjs b/commitlint.config.cjs index b8c78bc..b5c556a 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -14,7 +14,7 @@ const TYPES = [ module.exports = { rules: { "header-max-length": [2, "always", 100], - "subject-case": [2, "always", ["lower-case"]], + "subject-case": [2, "never", ["sentence-case", "start-case", "pascal-case", "upper-case"]], "subject-empty": [2, "never"], "subject-full-stop": [2, "never", "."], "type-case": [2, "always", "lower-case"],