From ff2f95d3c1423c4e6cf5fd57f8d4bb3a4cd3cf76 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