Skip to content

Use the active voice

Rule ste-verbs.passive-voice in the STE Verbs category.

Field Value
Kind pattern
Severity warning
Scope sentence
Profile strict enforced
Profile normal advisory
Profile relaxed advisory

Passive voice “<match>”. Name the actor and use the active voice.

Name the actor as the subject, or rewrite as an imperative.

The manifest is validated by the admission controller.

Rewrite:

The admission controller validates the manifest.
The stale branches were deleted last night.

Rewrite:

The cleanup job deleted the stale branches last night.
The retry limit is set in the client config.

Rewrite:

Set the retry limit in the client config.
The option is often ignored when the index is open.

Rewrite:

The option is often useful when the index is open.
  • quotation
  • code-span
  • unknown-agent

ASD-STE100