Skip to content

Commit 36603a6

Browse files
committed
update docs for custom-event-name-casing
1 parent 23248d5 commit 36603a6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/rules/custom-event-name-casing.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,16 @@ export default {
4949

5050
## :wrench: Options
5151

52-
Nothing.
52+
53+
```json
54+
{
55+
"vue/custom-event-name-casing": ["error", {
56+
"ignores": []
57+
}]
58+
}
59+
```
60+
- `ignores` (`string[]`) ... The event names to ignore. Sets the event name to allow. For example, custom event names, Vue components event with special name, or Vue library component event name. You can set the regexp by writing it like `"/^name/"` or `update:input` or `fooBar`.
61+
5362

5463
## :books: Further Reading
5564

0 commit comments

Comments
 (0)