Skip to content

Commit 774f4f3

Browse files
aorelota-meshi
authored andcommitted
Update match-component-file-name docs (#1032)
1 parent 2e1d15b commit 774f4f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/rules/match-component-file-name.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ description: require component name property to match its file name
99
1010
This rule reports if a component `name` property does not match its file name.
1111

12-
You can define an array of file extensions this rule should verify for
13-
the component's name.
12+
You can define an array of file extensions this rule should verify for the component's name.
1413

1514
## :book: Rule Details
1615

@@ -27,7 +26,7 @@ This rule has some options.
2726

2827
By default this rule will only verify components in a file with a `.jsx` extension.
2928

30-
You can use any combination of `".jsx"`, `".vue"` and `".js"` extensions.
29+
You can use any combination of `".js"`, `".jsx"`, `".ts"`, `".tsx"`, and `".vue"` extensions.
3130

3231
You can also enforce same case between the component's name and its file name.
3332

0 commit comments

Comments
 (0)