Skip to content

Commit cee398c

Browse files
committed
docs: fix filename-naming-convention docs
1 parent 580b0a1 commit cee398c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/rules/filename-naming-convention.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ src/services/download_service.js
3535
Examples of **correct** filename with path for this rule:
3636
```sh
3737
src/services/DownloadService.js
38-
src/download-service.js // this file is not be selected by the target pattern, so it is skipped
38+
src/download-service.js // this file is not be specified by the target pattern, so it is skipped
3939
```
4040

4141
In addition to the built-in naming conventions, you can also set custom naming patterns using glob match syntax. The following code shows an example of how to ensure that all your `js` files are named begin with `__`:
@@ -48,6 +48,7 @@ In addition to the built-in naming conventions, you can also set custom naming p
4848
**Tip:** To selecte all your `js` files, your can use the glob expression `**/*.js`.
4949

5050
:warning: :warning: :warning:
51+
5152
**Versions below v1.2.0 can only select files by using their extensions. All `v1` versions will have this feature, but is will be removed in the future. Please select your target files by the file path. For example, using `**/*.js` instead of `*.js` to select all `js` files.**
5253

5354

0 commit comments

Comments
 (0)