Skip to content

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

Hyphenate the compound modifier “<match>”.

Join the two modifier words with a hyphen.

The replica serves read only traffic during the migration.

Rewrite:

The replica serves read-only traffic during the migration.
Use the command line client for the first run.

Rewrite:

Use the command-line client for the first run.
  • code-span
  • identifier-fidelity
  • quotation
  • api-name

ASD-STE100