Skip to content

Commit

Permalink
docs: fix missing options value
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq authored Nov 30, 2024
1 parent 4cbcad6 commit 193b794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/restricted-component-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This rule enforces consistency in component names.
}
```

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

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

Expand Down

0 comments on commit 193b794

Please sign in to comment.