Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 67569cc

Browse files
authored
docs(eslint-plugin): Corrected numbering of selector order for naming-convention (typescript-eslint#3085)
1 parent fc774f6 commit 67569cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/eslint-plugin/docs/rules/naming-convention.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ To clearly spell it out:
320320

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

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

0 commit comments

Comments
 (0)