Skip to content

Commit

Permalink
style: configure gitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Jan 25, 2024
1 parent fa2c2b7 commit 5b72112
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitlint
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[general]
# Enable conventional commit linting
contrib=contrib-title-conventional-commits

# We don't require a body, just a title, even though a body is also a good idea
ignore=body-is-missing

[contrib-title-conventional-commits]
# Specify allowed commit types. For details see: https://www.conventionalcommits.org/
# Use type pXYZ for partial work towards a commit of type XYZ that won't show up in the
# release logs. Make sure the merge commit or the commit that completes the work has
# type XYZ:, though, and consider squashing the partial commits if that makes sense.
types = fix, feat, chore, docs, style, refactor, perf, test, revert, ci, build,
pfeat, pfix, pdoc, ptest, prefactor

0 comments on commit 5b72112

Please sign in to comment.