Use an article or a demonstrative before a noun
Rule ste-sentences.missing-article-or-determiner in the STE Sentences category.
| Field | Value |
|---|---|
| Kind | pattern |
| Severity | warning |
| Scope | sentence |
Profile strict |
enforced |
Profile normal |
advisory |
Profile relaxed |
excluded |
Message
Section titled “Message”Missing article before “<match>”.
Add “the”, “a”, “an”, “this”, or “these” before the noun.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”Restart worker after you edit config.Rewrite:
Restart the worker after you edit the config.Example 2: flagged
Section titled “Example 2: flagged”Delete branch when the merge completes.Rewrite:
Delete the branch when the merge completes.Exceptions
Section titled “Exceptions”- quotation
- code-span
- api-name
- identifier-fidelity
- heading
- general-statement
Provenance
Section titled “Provenance”ASD-STE100