Browse Source

build: gitlint long commit msg lines with links

so that nostr: and https:// lines work.

unfortunately it now ignores long lines for the rest of the body
until this gets merged and we can switch to using this new syntax:

https://github.com/jorisroovers/gitlint/issues/255#issuecomment-1040868243
master
DanConwayDev 2 years ago
parent
commit
8d6845d4de
No known key found for this signature in database
GPG Key ID: 68E15486D73F75E1
  1. 9
      .gitlint

9
.gitlint

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
[general]
regex-style-search=true
# this ignore all body rules if there is a nostr link rather than just this line
# until https://github.com/jorisroovers/gitlint/issues/255#issuecomment-1040868243
# is implemented with [ignore-body-lines] this skips validation of other body line lengths
[ignore-by-body]
regex = ^(nostr:[^\s]*|https://[^\s]*)$
ignore = body-max-line-length
Loading…
Cancel
Save