Skip to content

Commit

Permalink
docs(eslint-plugin): Corrected numbering of selector order for naming…
Browse files Browse the repository at this point in the history
…-convention (#3085)
  • Loading branch information
reduckted committed Feb 22, 2021
1 parent fc774f6 commit 67569cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin/docs/rules/naming-convention.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ To clearly spell it out:

- (3) is tested first because it has `types` and is an individual selector.
- (2) is tested next because it is an individual selector.
- (1) is tested next as it is a grouped selector.
- (4) is tested last as it is the base default selector.
- (4) is tested next as it is a grouped selector.
- (1) is tested last as it is the base default selector.

Its worth noting that whilst this order is applied, all selectors may not run on a name.
This is explained in ["How does the rule evaluate a name's format?"](#how-does-the-rule-evaluate-a-names-format)
Expand Down

0 comments on commit 67569cc

Please sign in to comment.