Hyphenate a compound modifier before a noun
Rule ste-punctuation.hyphen-missing-in-compound-modifier in the STE Punctuation and Word Count category.
| Field | Value |
|---|---|
| Kind | pattern |
| Severity | suggestion |
| Scope | prose |
Profile strict |
enforced |
Profile normal |
advisory |
Profile relaxed |
excluded |
Message
Section titled “Message”Hyphenate the compound modifier “<match>”.
Join the two modifier words with a hyphen.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”The replica serves read only traffic during the migration.Rewrite:
The replica serves read-only traffic during the migration.Example 2: flagged
Section titled “Example 2: flagged”Use the command line client for the first run.Rewrite:
Use the command-line client for the first run.Exceptions
Section titled “Exceptions”- code-span
- identifier-fidelity
- quotation
- api-name
Provenance
Section titled “Provenance”ASD-STE100