Skip to content

Replace an unclear pronoun with the noun

Rule ste-practices.unclear-pronoun in the STE Writing Practices category.

Field Value
Kind pattern
Severity suggestion
Scope sentence
Profile strict advisory
Profile normal advisory
Profile relaxed advisory

Pronoun “<match>” may have more than one referent.

Replace the pronoun with the noun it refers to.

If you attach the policy to the role, it can become invalid.

Rewrite:

If you attach the policy to the role, the policy can become invalid.
The reviewer approves the change after he reads the diff.

Rewrite:

The reviewer approves the change after reading the diff.
  • quotation
  • code-span

ASD-STE100