Skip to content

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

negative requirement: <match> – state what is required, not what is forbidden

Invert the sentence to state the requirement.

You cannot deploy without a token.

Rewrite:

Deploying requires a token.

Retired Vale style – prose-craft/NegativeRequirement.yml

https://github.com/srobroek/slopvac/blob/75f3bf9182c3df40197e3c4ead2432d9da01ca7b/vale-styles/prose-craft/NegativeRequirement.yml