Skip to content

Git designed for AI agents.

388 B
Raw Blame
---
name: gitlab_base.MultiLineLinks
description: |
  Checks that links are all on a single line.
extends: existence
message: "Put the full link on one line, even if the link is very long."
link: https://docs.gitlab.com/development/documentation/styleguide/#links
vocab: false
level: error
scope: raw
raw:
  - '\[[^\[\]]*?\n[^\[\]]*?\]\([^\)]*?\)|'
  - '\[[^\[\]]*?\]\([^\)]*?\n[^\)]*\)'