Skip to content

Do not stack auxiliaries

Rule ste-verbs.auxiliary-stacking in the STE Verbs category.

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

Auxiliary stack “<match>”. Give the action directly.

Rewrite as an imperative, or name the actor and use the active voice.

The token will have been rotated before the audit.

Rewrite:

Rotate the token before the audit.
The index is to be rebuilt after the import.

Rewrite:

Rebuild the index after the import.
The cache has to be cleared with one command.

Rewrite:

You can clear the cache with one command.
The cache must have been cleared before the run.

Rewrite:

The cache can be cleared with one command.
  • quotation
  • code-span

ASD-STE100