Use an -ing form only as a noun or a noun modifier
Rule ste-verbs.gerund-outside-noun-use in the STE Verbs category.
| Field | Value |
|---|---|
| Kind | judgement |
| Severity | suggestion |
| Scope | sentence |
Profile strict |
enforced |
Profile normal |
advisory |
Profile relaxed |
excluded |
Message
Section titled “Message”Check that this -ing form works as a noun or as part of a noun, not as a verb.
Rewrite the clause with a finite verb, or split it into a separate sentence.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”Restart the worker, making sure the queue is empty first.Rewrite:
Make sure that the queue is empty. Then restart the worker.Example 2: flagged
Section titled “Example 2: flagged”You can reduce cost by caching the response.Rewrite:
To reduce cost, cache the response.Provenance
Section titled “Provenance”ASD-STE100