Skip to content

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

Diff for: docs/rules/restricted-component-names.md

+1-1
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)