Skip to content

Commit ca4ab29

Browse files
authored
Fix typo in filename-case docs (#1847)
1 parent a7f6007 commit ca4ab29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/filename-case.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ For example:
8989
- Ignore some files when you use [eslint-plugin-markdown](https://github.com/eslint/eslint-plugin-markdown), for example `README.md`.
9090
- Some tools may require special names for some files.
9191

92-
Don't forget that you must escape special characters that you don't want to be interpreted as part of the regex, for example, if you have `[` in the actual filename. For example, to match `[id].js`, use `/^\[id\]\.js$/"` or `'^\\[id\\]\\.js$'`.
92+
Don't forget that you must escape special characters that you don't want to be interpreted as part of the regex, for example, if you have `[` in the actual filename. For example, to match `[id].js`, use `/^\[id\]\.js$/` or `'^\\[id\\]\\.js$'`.
9393

9494
```js
9595
"unicorn/filename-case": [

0 commit comments

Comments
 (0)