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

Commit ec6ab01

Browse files
authored
docs: fix missing options allow value (#2631)
1 parent 4cbcad6 commit ec6ab01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/rules/restricted-component-names.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This rule enforces consistency in component names.
3939
}
4040
```
4141

42-
### `"allow"`
42+
### `"allow: ['/^custom-/']"`
4343

4444
<eslint-code-block :rules="{'vue/restricted-component-names': ['error', { 'allow': ['/^custom-/'] }]}">
4545

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /