Skip to content

Commit 1a904b3

Browse files
committed
docs: update docs for rule filename-naming-convention
1 parent 131cba9 commit 1a904b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/filename-naming-convention.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Allows you to enforce a consistent naming pattern for the filename of the specif
44

55
## Rule Details
66

7-
This rule aims to format the filename of the specified file. This rule uses the glob match syntax to match a file and declare the naming pattern for the filename.
7+
This rule aims to format the filename of the specified file. This rule uses the glob match syntax to match target files and declare the naming pattern for the filename.
88

99
There are six naming conventions built into this rule, including `CAMEL_CASE`, `PASCAL_CASE`, `SNAKE_CASE`, `KEBAB_CASE`, `SCREAMING_SNAKE_CASE` and `FLAT_CASE`.
1010

@@ -80,7 +80,7 @@ src/Portal/Portal.types.ts
8080

8181
#### naming pattern object
8282

83-
You need to specify a different naming pattern for different file. The plugin will only check files you explicitly selected:
83+
The key is used to select target files, while the value is used to declare the naming pattern for the filename. You can specify a different naming pattern for different files. The plugin will only check files you explicitly selected:
8484

8585
```js
8686
module.exports = {

0 commit comments

Comments
 (0)