From b1042892c589473d2383fe3a9beeaa05ebbc15fd Mon Sep 17 00:00:00 2001 From: devTeaa Date: Fri, 9 Oct 2020 10:00:08 +0700 Subject: [PATCH] updated custom-event-name-casing readme with ignores options --- docs/rules/custom-event-name-casing.md | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/docs/rules/custom-event-name-casing.md b/docs/rules/custom-event-name-casing.md index 98bc5c728..2b3dfb089 100644 --- a/docs/rules/custom-event-name-casing.md +++ b/docs/rules/custom-event-name-casing.md @@ -59,6 +59,37 @@ export default { ``` - `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 `click:row` or `fooBar`. +### `"ignores": ["fooBar", "/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u"]` + + + +```vue + + +``` + + + ## :books: Further Reading