Files
docker-docs/_vale/Docker/VersionText.yml
T
David Karlsson 4fe7724d16 vale: expand Docker prose checks
Several documented prose patterns were not enforced, and agents could overlook non-fatal Vale warnings.

Expand Docker's local Vale rules, remove obsolete rule links, and clarify scoped agent validation.
2026-09-07 08:38:05 +00:00

12 lines
409 B
YAML

extends: existence
message: Use later when talking about version numbers.
scope: raw
raw:
- '\bv?'
- '(?P<major>0|[1-9]\d*)\.'
- '(?P<minor>0|[1-9]\d*)'
- '(?:\.(?P<patch>0|[1-9]\d*))?'
- '(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?'
- '(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?'
- '\b (and|or) (higher|above)'