State an action with a verb
Rule ste-verbs.nominalized-action in the STE Verbs category.
| Field | Value |
|---|---|
| Kind | pattern |
| Severity | warning |
| Scope | sentence |
Profile strict |
enforced |
Profile normal |
advisory |
Profile relaxed |
advisory |
Message
Section titled “Message”Nominalized action “<match>”. Use the verb.
Replace the light verb and its noun with the single verb that names the action.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”The operator performs a validation of the manifest before each deployment.Rewrite:
The operator validates the manifest before each deployment.Example 2: flagged
Section titled “Example 2: flagged”Do a verification of the checksum after the download.Rewrite:
Verify the checksum after the download.Example 3: flagged
Section titled “Example 3: flagged”The gate provides protection against a bad merge.Rewrite:
The gate prevents a bad merge.Exceptions
Section titled “Exceptions”- quotation
- code-span
- api-name
Provenance
Section titled “Provenance”ASD-STE100