Skip to content

Commit

Permalink
docs: fix missing options allow value (#2631)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq authored Nov 30, 2024
1 parent 4cbcad6 commit ec6ab01
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 ec6ab01

Please sign in to comment.