You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to happen?
Should be no error because you're not allowed to call it without () when calling it this way. Even with never as the argument you must include a dot. The only time you're allowed to skip the dot is when calling a function like @myevent="mymethod", like when it's in the methods of your Vue component.
What actually happened?
Method calls without arguments inside of 'v-on' directives must not have parentheses.eslint(vue/v-on-function-call)
The text was updated successfully, but these errors were encountered:
Are there any cases where it is valid in Vue to have dots in the name but not have (), like if calling a method on $parent? These cases could be documented in this rule so that people know to add an eslint-disable for those cases when using this rule.
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
Should be no error because you're not allowed to call it without
()
when calling it this way. Even withnever
as the argument you must include a dot. The only time you're allowed to skip the dot is when calling a function like@myevent="mymethod"
, like when it's in themethods
of your Vue component.What actually happened?
Method calls without arguments inside of 'v-on' directives must not have parentheses.eslint(vue/v-on-function-call)
The text was updated successfully, but these errors were encountered: