Skip to content

Put the action in the verb

Rule prose-discipline.frozen-verb in the Prose discipline category.

Field Value
Kind pattern
Severity error
Scope prose
Profile strict enforced
Profile normal enforced
Profile relaxed advisory

“<match>” freezes the action in a noun. Use the plain verb.

Promote the noun to a finite verb and delete the general-purpose verb and its article.

The runner performs an analysis of the coverage report.

Rewrite:

The runner analyzes the coverage report.
Conduct an investigation of the failing shard.

Rewrite:

Investigate the failing shard.
The hook provides validation of the payload.

Rewrite:

The hook validates the payload.
The docs provide an explanation of each flag, with migration notes.

Rewrite:

The docs explain each flag and provide migration notes.
Reviewers make a recommendation, then provide guidance on the fix.

Rewrite:

Reviewers recommend a change, then provide guidance on the fix.
  • identifier-fidelity
  • quotation
  • code-span
  • legal-force
  • api-name

ASD-STE100