State what is required
Rule prose-craft.negative-requirement in the Prose craft category.
| Field | Value |
|---|---|
| Kind | pattern |
| Severity | warning |
| Scope | prose |
Profile strict |
enforced |
Profile normal |
enforced |
Profile relaxed |
excluded |
Message
Section titled “Message”negative requirement: <match> – state what is required, not what is forbidden
Invert the sentence to state the requirement.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”You cannot deploy without a token.Rewrite:
Deploying requires a token.Provenance
Section titled “Provenance”Retired Vale style – prose-craft/NegativeRequirement.yml