Having set
Vue.config.keyCodes = { 'enter-strict': 13 }
Gives me the vue/valid-v-on error for enter-strict. How can prevent this?
Best regards,
Hey @mesqueeb
At this moment you can either use built-in enter modifier, or disable this rule.
You can also create a PR with an extra option to extend allowed modifiers with a custom list :)
I am facing this as well.
Whats the right way to disable this rule? setting vue/valid-v-on: 0 is not working for me :(
eslint-disable is not working either
<!-- eslint-disable -->
<GlobalEvents
v-if="!selected"
@keyup.digit1="select(1)"
@keyup.digit2="select(2)"
@keyup.digit3="select(3)"
@keyup.digit4="select(4)"
@keyup.digit5="select(5)"
@keyup.digit6="select(6)"
@keyup.digit7="select(7)"
/>
Most helpful comment
I am facing this as well.
Whats the right way to disable this rule? setting
vue/valid-v-on: 0is not working for me :(eslint-disable is not working either