1#
2# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
3#
4# SPDX-License-Identifier: BSD-2-Clause
5#
6
7[general]
8# By default gitlint will ignore merge commits. Set to 'false' to disable.
9ignore-merge-commits=true
10
11# By default gitlint will ignore fixup commits. Set to 'false' to disable.
12ignore-fixup-commits=false
13
14# By default gitlint will ignore squash commits. Set to 'false' to disable.
15ignore-squash-commits=false
16
17[title-max-length]
18line-length=50
19
20[title-must-not-contain-word]
21# Comma-separated list of words that should not occur in the title. Matching is case
22# insensitive. It's fine if the keyword occurs as part of a larger word (so "WIPING"
23# will not cause a violation, but "WIP: my title" will.
24words=wip,squash,tosquash
25
26[body-max-line-length]
27line-length=72
28
29[body-min-length]
30min-length=0
31
32
33[ignore-by-title]
34# Ignore certain rules for commits of which the title matches a regex
35# E.g. Match commit titles that start with "Release"
36regex=^trivial(.*)
37#
38# Ignore certain rules, you can reference them by their id or by their full name
39# Use 'all' to ignore all rules
40ignore=B6
41