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?
It would not complain about @click not having a value.
What actually happened? Please include the actual, raw output from ESLint.
It throws error Expected to be statements, but got empty. Maybe have a separate config that allows events to have an empty handler?
This is a valid and often encountered use case.
The text was updated successfully, but these errors were encountered:
Yes, that test case is invalid and it's the bug I fixed. Vue.js seems to ignore empty attribute values without warnings: https://jsfiddle.net/5w9eyncg/
Tell us about your environment
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
It would not complain about
@click
not having a value.What actually happened? Please include the actual, raw output from ESLint.
It throws error
Expected to be statements, but got empty
. Maybe have a separate config that allows events to have an empty handler?This is a valid and often encountered use case.
The text was updated successfully, but these errors were encountered: