Skip to content

Commit 39b7440

Browse files
committed
docs: use GFM alerts, footnotes and other GitHub-specific features
Improvements over plain Markdown conversion: - Use > [!TIP] / > [!NOTE] GFM alert syntax instead of plain blockquote - Use [^1] footnote syntax instead of HTML <sup>/<b id> backlinks
1 parent 969234a commit 39b7440

1 file changed

Lines changed: 22 additions & 36 deletions

File tree

‎README.md‎

Lines changed: 22 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ conventional_branch = true
130130
allow_branch_types = ["feature", "bugfix", "hotfix", "release", "chore", "feat", "fix"]
131131
```
132132

133-
> **Tip: IDE Autocompletion**
133+
> [!TIP]
134+
> **IDE Autocompletion**
134135
>
135136
> commit-check's TOML schema is published on [SchemaStore](https://www.schemastore.org/),
136137
> so editors like VS Code (via [Even Better TOML](https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml)),
@@ -207,9 +208,10 @@ repos:
207208
stages: [pre-push]
208209
```
209210
210-
Piping `git push` into `commit-check` is not a prevention mechanism. The
211-
push has already been started, and standard `git push` output does not carry
212-
the pre-push ref metadata that `commit-check` uses.
211+
> [!NOTE]
212+
> Piping `git push` into `commit-check` is not a prevention mechanism. The
213+
> push has already been started, and standard `git push` output does not carry
214+
> the pre-push ref metadata that `commit-check` uses.
213215

214216
## AI-Native Usage
215217

@@ -429,21 +431,21 @@ reflects a DIY approach rather than built-in product features.
429431

430432
[github-rulesets]: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets
431433

432-
| Feature | Commit Check | commitlint | YACC <sup id="f2">[\[2\]](#fn2)</sup> | GitHub Rulesets | Custom hooks |
434+
| Feature | Commit Check | commitlint | YACC[^2] | GitHub Rulesets | Custom hooks |
433435
|---------|-------------|------------|------|-----------------|-------------|
434-
| Conventional Commits enforcement | ✅ | ✅ | Partial | Partial <sup id="f4">[\[4\]](#fn4)</sup> | DIY |
435-
| Branch naming validation | ✅ | ❌ | ✅ | ✅ <sup id="f4">[\[4\]](#fn4)</sup> | DIY |
436+
| Conventional Commits enforcement | ✅ | ✅ | Partial | Partial[^4] | DIY |
437+
| Branch naming validation | ✅ | ❌ | ✅ | ✅[^4] | DIY |
436438
| Force push blocking | ✅ | ❌ | ❌ | ✅ | DIY |
437-
| Author name / email validation | ✅ | ❌ | ✅ | ✅ <sup id="f4">[\[4\]](#fn4)</sup> | DIY |
438-
| Signed-off-by trailer enforcement | ✅ | Partial <sup id="f1">[\[1\]](#fn1)</sup> | ❌ | ❌ | DIY |
439-
| Co-author ignore list | ✅ | ❌ | Partial <sup id="f3">[\[3\]](#fn3)</sup> | ❌ | DIY |
439+
| Author name / email validation | ✅ | ❌ | ✅ | ✅[^4] | DIY |
440+
| Signed-off-by trailer enforcement | ✅ | Partial[^1] | ❌ | ❌ | DIY |
441+
| Co-author ignore list | ✅ | ❌ | Partial[^3] | ❌ | DIY |
440442
| Organization-level shared config | ✅ | ✅ | ✅ | ✅ | DIY |
441443
| Zero-config defaults | ✅ | ❌ | ❌ | ❌ | ❌ |
442444
| Works without Node.js | ✅ | ❌ | ✅ | ✅ | Depends |
443445
| Native TOML configuration | ✅ | ❌ | ❌ | ❌ | Depends |
444446
| Git hook / pre-commit integration | ✅ | Partial | ❌ | ❌ | ✅ |
445447
| CI/CD-friendly configuration | ✅ | Partial | ❌ | ❌ | DIY |
446-
| Open source & free | ✅ | ✅ | ❌ | ❌ <sup id="f5">[\[5\]](#fn5)</sup> | ✅ |
448+
| Open source & free | ✅ | ✅ | ❌ | ❌[^5] | ✅ |
447449
| Client-side (pre-commit) enforcement | ✅ | ✅ | ❌ | ❌ | ✅ |
448450
| AI-native (JSON API + Python SDK) | ✅ | ❌ | ❌ | ❌ | ❌ |
449451

@@ -469,31 +471,15 @@ feedback.
469471
capability with custom Git hooks or `pre-commit` scripts, but it is not
470472
provided as a turnkey policy layer.
471473

472-
<b id="fn1">[1]</b> `commitlint` provides a community `signed-off-by` rule
473-
(`@commitlint/rule-signed-off-by`) that must be installed and configured
474-
separately; it is not part of the default
475-
`@commitlint/config-conventional` preset.
476-
[↩](#f1)
477-
478-
<b id="fn2">[2]</b> [Yet Another Commit Checker](https://marketplace.atlassian.com/apps/1211854/yet-another-commit-checker)
479-
is a paid Bitbucket Server / Data Center plugin (server-side pre-receive hook
480-
and merge check).
481-
[↩](#f2)
482-
483-
<b id="fn3">[3]</b> YACC can exclude commits from specific Bitbucket users, user groups,
484-
or service users (bots), but does not parse `Co-authored-by:` trailers
485-
in commit messages.
486-
[↩](#f3)
487-
488-
<b id="fn4">[4]</b> GitHub Rulesets enforce these via regex patterns in push rulesets
489-
(metadata restrictions). They are regex-based and do not understand
490-
Conventional Commits or Conventional Branch semantics.
491-
[↩](#f4)
492-
493-
<b id="fn5">[5]</b> GitHub Rulesets require a GitHub plan. Push rulesets (metadata
494-
restrictions) require Team or Enterprise plans for private/internal repos;
495-
branch/tag rulesets are available on Free plans for public repos.
496-
[↩](#f5)
474+
[^1]: `commitlint` provides a community `signed-off-by` rule (`@commitlint/rule-signed-off-by`) that must be installed and configured separately; it is not part of the default `@commitlint/config-conventional` preset.
475+
476+
[^2]: [Yet Another Commit Checker](https://marketplace.atlassian.com/apps/1211854/yet-another-commit-checker) is a paid Bitbucket Server / Data Center plugin (server-side pre-receive hook and merge check).
477+
478+
[^3]: YACC can exclude commits from specific Bitbucket users, user groups, or service users (bots), but does not parse `Co-authored-by:` trailers in commit messages.
479+
480+
[^4]: GitHub Rulesets enforce these via regex patterns in push rulesets (metadata restrictions). They are regex-based and do not understand Conventional Commits or Conventional Branch semantics.
481+
482+
[^5]: GitHub Rulesets require a GitHub plan. Push rulesets (metadata restrictions) require Team or Enterprise plans for private/internal repos; branch/tag rulesets are available on Free plans for public repos.
497483

498484
## Versioning
499485

0 commit comments

Comments
 (0)