From 7bb267eafb4f65083f360c58d6abddb4d8b1380b Mon Sep 17 00:00:00 2001 From: devTeaa Date: Thu, 8 Oct 2020 18:52:20 +0700 Subject: [PATCH] update docs for custom-event-name-casing --- docs/rules/custom-event-name-casing.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/rules/custom-event-name-casing.md b/docs/rules/custom-event-name-casing.md index b4faacfbd..07d6ef323 100644 --- a/docs/rules/custom-event-name-casing.md +++ b/docs/rules/custom-event-name-casing.md @@ -49,7 +49,16 @@ export default { ## :wrench: Options -Nothing. + +```json +{ + "vue/custom-event-name-casing": ["error", { + "ignores": [] + }] +} +``` +- `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`. + ## :books: Further Reading