Keep the instrument sense clear
Rule ste-practices.ambiguous-preposition-with in the STE Writing Practices category.
| Field | Value |
|---|---|
| Kind | judgement |
| Severity | suggestion |
| Scope | sentence |
Profile strict |
advisory |
Profile normal |
advisory |
Profile relaxed |
excluded |
Message
Section titled “Message”Check which of the three senses “with” carries here.
Rewrite so the sense of “with” is explicit, or state the condition first.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”Restart the worker with the drained queue.Rewrite:
When the queue is drained, restart the worker.Example 2: flagged
Section titled “Example 2: flagged”Deploy the service with the new sidecar.Rewrite:
Deploy the service that includes the new sidecar.Provenance
Section titled “Provenance”ASD-STE100