Skip to content

Commit f27ea8f

Browse files
committed
chore: Add conventional commit linting to pre-commit.
1 parent bee9f05 commit f27ea8f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.pre-commit-config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,25 @@ repos:
6161
description: Checks for common misspellings.
6262
exclude: ccan|contrib|tests/fuzz/corpora
6363

64+
- repo: https://github.com/compilerla/conventional-pre-commit
65+
rev: v3.6.0
66+
hooks:
67+
- id: conventional-pre-commit
68+
stages: [commit-msg]
69+
args:
70+
- --scopes=askrene,bkpr,channeld,cli,closingd,cln-grpc,cln-rpc,common,connectd,db,gossipd,hsmd,lightningd,onchaind,openingd,pay,pylightning,pyln-client,pyln-spec,pyln-testing,pytest,splice,tools,wallet,wire,xpay
71+
- --verbose
72+
- build
73+
- chore
74+
- ci
75+
- docs
76+
- feat
77+
- fix
78+
- style
79+
- refactor
80+
- perf
81+
- test
82+
6483
- repo: local
6584
hooks:
6685
# Reimplementation of `make check-amount-access` for pygrep.

0 commit comments

Comments
 (0)