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 |
Message
Section titled “Message”Auxiliary stack “<match>”. Give the action directly.
Rewrite as an imperative, or name the actor and use the active voice.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”The token will have been rotated before the audit.Rewrite:
Rotate the token before the audit.Example 2: flagged
Section titled “Example 2: flagged”The index is to be rebuilt after the import.Rewrite:
Rebuild the index after the import.Example 3: flagged
Section titled “Example 3: flagged”The cache has to be cleared with one command.Rewrite:
You can clear the cache with one command.Example 4: flagged
Section titled “Example 4: flagged”The cache must have been cleared before the run.Rewrite:
The cache can be cleared with one command.Exceptions
Section titled “Exceptions”- quotation
- code-span
Provenance
Section titled “Provenance”ASD-STE100