# Commitlint configuration
# Enforced by CI via wagoid/commitlint-github-action
# See: https://commitlint.js.org/reference/rules.html
extends:
- '@commitlint/config-conventional'
rules:
# config-conventional leaves these as warnings; promote to errors for parity with the local hook.
# subject-full-stop is already [2, never, '.'] in config-conventional -- no override needed.
body-leading-blank:
- 2
- always
footer-leading-blank:
- 2
- always
# config-conventional defaults enforced at error level:
# - header-max-length: 100
# - body-max-line-length: 100
# - footer-max-line-length: 100
# - subject-full-stop: [2, never, '.']
# - type-enum: [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test]