Files
archie/.vale/styles/Archie/SentenceLength.yml
T

18 lines
994 B
YAML

# Flag overly long sentences in documentation. Set to 35 words so precise
# technical constraints fit comfortably while runaway sentences are caught.
extends: Std.Readability.SentenceLength
message: "This sentence has %d words. Consider splitting it for readability."
level: warning
max: 35
tests:
- name: flags long sentence
input: |
When the daemon starts a new workflow run for an incoming event that matched a signed binding, it loads the published workflow definition from storage, allocates an isolated container workspace, prepares task-scoped credentials, and dispatches the first step immediately without waiting.
want: |
1:1:Archie.SentenceLength:This sentence has 42 words. Consider splitting it for readability.
- name: accepts concise technical sentences
input: |
The daemon loads the published workflow definition and allocates an isolated container workspace. It prepares task-scoped credentials before dispatching the first step.
want: ""