We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vue/valid-v-on
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having set Vue.config.keyCodes = { 'enter-strict': 13 } Gives me the vue/valid-v-on error for enter-strict. How can prevent this?
Vue.config.keyCodes = { 'enter-strict': 13 }
enter-strict
Best regards,
The text was updated successfully, but these errors were encountered:
Hey @mesqueeb
At this moment you can either use built-in enter modifier, or disable this rule.
enter
You can also create a PR with an extra option to extend allowed modifiers with a custom list :)
Sorry, something went wrong.
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 :(
vue/valid-v-on: 0
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)" />
Fix vuejs#519 add custom modifiers to vue/valid-v-on
994c785
Fix #519 add custom modifiers to vue/valid-v-on (#579)
d0fd01f
michalsnik
No branches or pull requests
Having set
Vue.config.keyCodes = { 'enter-strict': 13 }
Gives me the
vue/valid-v-on
error forenter-strict
. How can prevent this?Best regards,
The text was updated successfully, but these errors were encountered: