Skip to content

Commit

Permalink
chore: Add conventional commit linting to pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
s373nZ committed Dec 18, 2024
1 parent 6ff1ff2 commit 3265aea
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,25 @@ repos:
description: Checks for common misspellings.
exclude: ccan|contrib|tests/fuzz/corpora

- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.6.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args:
- --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
- --verbose
- build
- chore
- ci
- docs
- feat
- fix
- style
- refactor
- perf
- test

- repo: local
hooks:
# Reimplementation of `make check-amount-access` for pygrep.
Expand Down

0 comments on commit 3265aea

Please sign in to comment.