mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
This helps to prevent annoying CI failures when one adds useful resources into a commit message, such as [0]. One can test this locally using: `gitlint --commits HEAD~1..HEAD` [0] https://example.com/?lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
21 lines
345 B
Plaintext
21 lines
345 B
Plaintext
[general]
|
|
extra-path=scripts/gitlint/rules.py
|
|
regex-style-search=true
|
|
|
|
[ignore-by-author-name]
|
|
regex=dependabot
|
|
ignore=all
|
|
|
|
# default 72
|
|
[title-max-length]
|
|
line-length=72
|
|
|
|
# default 80
|
|
[body-max-line-length]
|
|
line-length=72
|
|
|
|
# Allow developers to add long links to useful resources
|
|
[ignore-by-body]
|
|
regex=^https?:\/\/
|
|
ignore=body-max-line-length
|