Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit996a56d

Browse files
committed
update doc
1 parent5bb2f9c commit996a56d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎docs/rules/filenames-match-regex.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ Default:
2424
```json
2525
{
2626
"filenames-match-regex": [
27-
"error",
27+
"error"
2828
]
2929
}
3030
```
3131

32-
If you want to add custom regex such as matching all camelCase,this would be the option:
32+
If you want to add custom regex such as matching all camelCase,add the regex as a string. For example, for camelCase it would look like:
3333

3434
```json
3535
{
36-
'filenames-match-regex': [
37-
'error',
38-
'^([a-z0-9]+)([A-Z][a-z0-9]+)*$'
36+
"filenames-match-regex": [
37+
"error",
38+
"^([a-z0-9]+)([A-Z][a-z0-9]+)*$"
3939
]
4040
}
4141
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp