Skip to content

Commit ff2f95d

Browse files
committed
update docs for custom-event-name-casing
1 parent 348cc1b commit ff2f95d

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)