Skip to content

Commit

Permalink
add gitlint configuration file
Browse files Browse the repository at this point in the history
Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
  • Loading branch information
lsf37 committed Apr 19, 2020
1 parent a5e6138 commit 616aba4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitlint
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
#
# SPDX-License-Identifier: BSD-2-Clause

# config for https://github.com/jorisroovers/gitlint

[general]
ignore=body-is-missing,title-trailing-punctuation
verbosity = 2

# By default gitlint will ignore merge, revert, fixup and squash commits.
ignore-fixup-commits=false
ignore-squash-commits=false

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

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

# Missing body is fine, but if there is one, it should say something.
[body-min-length]
min-length=10

# Send alert for unfinished commits
[title-must-not-contain-word]
words=wip,squash,tosquash

0 comments on commit 616aba4

Please sign in to comment.