Skip to content

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

Check which of the three senses “with” carries here.

Rewrite so the sense of “with” is explicit, or state the condition first.

Restart the worker with the drained queue.

Rewrite:

When the queue is drained, restart the worker.
Deploy the service with the new sidecar.

Rewrite:

Deploy the service that includes the new sidecar.

ASD-STE100