Skip to content

Git designed for AI agents.

398 B
Raw Blame
---
name: gitlab_base.Units
description: |
  Recommends a space between a number and a unit of measure.
extends: existence
message: "Add a space between the number and the unit in '%s'."
link: 'https://docs.gitlab.com/development/documentation/styleguide/'
vocab: false
nonword: true
level: warning
ignorecase: true
tokens:
  - \d+(?:B|kB|KiB|MB|MiB|GB|GiB|TB|TiB)
  - \d+(?:ns|ms|μs|s|min|h|d)\b