ShtukbaseStandard
package page→ /norms/standards/conventional-commits.md

pages/norms/standards/conventional-commits.md

23 lines, 1.1 KB. As a page.

  1. ---
  2. type: Page
  3. title: "Settings: Conventional Commits"
  4. types: [feat, fix, build, chore, ci, docs, style, refactor, perf, test, revert]
  5. scopes: []
  6. since: "{{today}}"
  7. last: 50
  8. range: ""
  9. ignore: ['^Merge ', '^Revert "', '^(fixup|squash|amend)! ', '^Initial commit$']
  10. maxHeader: 100
  11. ---
  12. # Settings: Conventional Commits
  13. 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.
  14. - `types`: allowed types. Case does not matter. An empty list means any type.
  15. - `scopes`: allowed scopes. Empty means any.
  16. - `since`: from which day to judge commits. By default the day the package was installed. Empty means the whole history.
  17. - `last`: how many of the latest commits to look at. 0 means no limit.
  18. - `range`: a git range, for example `origin/main..HEAD`. Empty means from HEAD.
  19. - `ignore`: regular expressions of headers we do not judge: merges, automatic reverts, `fixup!`, "Initial commit".
  20. - `maxHeader`: the header length limit for CC-R03. 0 means no limit.