# Gitlint configuration - matches ruff configuration
# Comprehensive commit message linting (matches ruff's ALL rules philosophy)

[general]
verbosity = 2
ignore-merge-commits = true
ignore-revert-commits = true
ignore-fixup-commits = true
ignore-fixup-amend-commits = true
ignore-squash-commits = true
ignore = B6

# Note: Bot commit exemption not available in gitlint 0.19.1
# If bot commits cause issues, we can:
# 1. Upgrade gitlint to a version with ignore-by-author support
# 2. Configure exemption via pre-commit args
# 3. Use SKIP=gitlint for bot-generated commits

[title-max-length]
line-length = 100

[title-min-length]
min-length = 5

[body-max-line-length]
line-length = 100

[body-min-length]
min-length = 10
