Skip to content

Commit

Permalink
Fix typo in filename-case docs (#1847)
Browse files Browse the repository at this point in the history
  • Loading branch information
kidonng committed Jun 28, 2022
1 parent a7f6007 commit ca4ab29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/filename-case.md
Expand Up @@ -89,7 +89,7 @@ For example:
- Ignore some files when you use [eslint-plugin-markdown](https://github.com/eslint/eslint-plugin-markdown), for example `README.md`.
- Some tools may require special names for some files.

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$'`.
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$'`.

```js
"unicorn/filename-case": [
Expand Down

0 comments on commit ca4ab29

Please sign in to comment.