8000 docs(eslint-plugin): [naming-convention] correct typo in example (#1961) · dandv/typescript-eslint@05476ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 05476ca

Browse files
authored
docs(eslint-plugin): [naming-convention] correct typo in example (typescript-eslint#1961)
1 parent 80d934b commit 05476ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ For example, if you provide the following config:
174174
[
175175
/* 1 */ { selector: 'default', format: ['camelCase'] },
176176
/* 2 */ { selector: 'variable', format: ['snake_case'] },
177-
/* 3 */ { selector: 'variable', type: ['boolean'], format: ['UPPER_CASE'] },
177+
/* 3 */ { selector: 'variable', types: ['boolean'], format: ['UPPER_CASE'] },
178178
/* 4 */ { selector: 'variableLike', format: ['PascalCase'] },
179179
];
180180
```

0 commit comments

Comments
 (0)
0