Keep notes free of instructions
Rule ste-procedural.note-gives-instruction in the STE Procedural Writing category.
| Field | Value |
|---|---|
| Kind | pattern |
| Severity | warning |
| Scope | paragraph |
Profile strict |
enforced |
Profile normal |
enforced |
Profile relaxed |
enforced |
Message
Section titled “Message”This note gives an instruction (“<match>”). A note only gives information.
Move the instruction into a numbered step and leave only information in the note.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”NOTE: Always clear the cache before you run the import.Rewrite:
Clear the cache before you run the import. NOTE: The import reads the cache at startup.Example 2: flagged
Section titled “Example 2: flagged”NOTE: Do not run two imports at the same time.Rewrite:
Do not run two imports at the same time. NOTE: Two imports write to the same table.Exceptions
Section titled “Exceptions”- quotation
- code-span
Provenance
Section titled “Provenance”ASD-STE100