-
-
Notifications
You must be signed in to change notification settings - Fork 688
Closed
Description
Tell us about your environment
- ESLint version: 6.8.0
- eslint-plugin-vue version: 7.0.0-alpha.6
- Node version: v12.15.0
Please show your full configuration:
Extending plugin:vue/recommended
What did you do?
I'm using :
as a delimiter to namespace my events with component-name:event-name
(eg. primary-button:click
)
I picked the :
convention from the Vue doc on .sync
: this.$emit('update:title', newTitle)
this.$emit('upload:change', Array.from(this.$refs.input.files));
Custom event name 'upload:change' must be kebab-case
this.$emit('textarea:update', val);
Custom event name 'textarea:update' must be kebab-case
this.$emit('tile:select-option', val);
Custom event name 'tile:select-option' must be kebab-case
What did you expect to happen?
To not warn on usage of :
as a delimiter. Following conventions from the Vue doc on .sync
:
this.$emit('update:title', newTitle)
What actually happened?
Inlined errors above code above ^
Metadata
Metadata
Assignees
Labels
No labels