Skip to content

Commit 3265aea

Browse files
committed
chore: Add conventional commit linting to pre-commit.
1 parent 6ff1ff2 commit 3265aea

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.pre-commit-config.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,25 @@ repos:
6060
description: Checks for common misspellings.
6161
exclude: ccan|contrib|tests/fuzz/corpora
6262

63+
- repo: https://github.com/compilerla/conventional-pre-commit
64+
rev: v3.6.0
65+
hooks:
66+
- id: conventional-pre-commit
67+
stages: [commit-msg]
68+
args:
69+
- --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
70+
- --verbose
71+
- build
72+
- chore
73+
- ci
74+
- docs
75+
- feat
76+
- fix
77+
- style
78+
- refactor
79+
- perf
80+
- test
81+
6382
- repo: local
6483
hooks:
6584
# Reimplementation of `make check-amount-access` for pygrep.

0 commit comments

Comments
 (0)