package page→ /norms/standards/conventional-commits.md
pages/norms/standards/conventional-commits.md
23 lines, 1.1 KB. As a page.
- ---
- type: Page
- title: "Settings: Conventional Commits"
- types: [feat, fix, build, chore, ci, docs, style, refactor, perf, test, revert]
- scopes: []
- since: "{{today}}"
- last: 50
- range: ""
- ignore: ['^Merge ', '^Revert "', '^(fixup|squash|amend)! ', '^Initial commit$']
- maxHeader: 100
- ---
- # Settings: Conventional Commits
- Settings of the norms CC-R01 … CC-R03 of the `std-conventional-commits` package (the Conventional Commits 1.0.0 standard, <https://www.conventionalcommits.org/en/v1.0.0/>). Edit the fields in the header.
- - `types`: allowed types. Case does not matter. An empty list means any type.
- - `scopes`: allowed scopes. Empty means any.
- - `since`: from which day to judge commits. By default the day the package was installed. Empty means the whole history.
- - `last`: how many of the latest commits to look at. 0 means no limit.
- - `range`: a git range, for example `origin/main..HEAD`. Empty means from HEAD.
- - `ignore`: regular expressions of headers we do not judge: merges, automatic reverts, `fixup!`, "Initial commit".
- - `maxHeader`: the header length limit for CC-R03. 0 means no limit.