Skip to content

Git designed for AI agents.

358 B
Raw Blame
---
name: gitlab_base.SentenceLength
description: |
  Counts words in a sentence and alerts if a sentence exceeds 25 words.
extends: occurrence
message: "Improve readability by using fewer than 25 words in this sentence."
scope: sentence
link: https://docs.gitlab.com/development/documentation/styleguide/#language
level: suggestion
max: 25
token: \b(\w+)\b