diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-08-28 14:17:46 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-08-28 14:19:35 +0100 |
| commit | 2045aa5d928306f2a03cc924eac9c453c399b9b8 (patch) | |
| tree | ebd74e7e45f728b98bf1477c6366ad58816d56cd /.gitlint | |
| parent | 76a88f81af435a5c11fa7baf1689c82880fdcd5c (diff) | |
build: commit-msg allow nostr: links
even though they may exceed line length rules
unfortunately until
https://github.com/jorisroovers/gitlint/issues/255#issuecomment-1040868243
get merged
Diffstat (limited to '.gitlint')
| -rw-r--r-- | .gitlint | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlint b/.gitlint new file mode 100644 index 0000000..6e4742d --- /dev/null +++ b/.gitlint | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | [general] | ||
| 2 | regex-style-search=true | ||
| 3 | |||
| 4 | # this ignore all body rules if there is a nostr link rather than just this line | ||
| 5 | # until https://github.com/jorisroovers/gitlint/issues/255#issuecomment-1040868243 | ||
| 6 | # is implemented with [ignore-body-lines] this skips validation of other body line lengths | ||
| 7 | [ignore-by-body] | ||
| 8 | regex = ^(nostr:[^\s]*|https://[^\s]*)$ | ||
| 9 | ignore = body-max-line-length \ No newline at end of file | ||