mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
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.
12 lines
409 B
YAML
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)'
|