We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Please describe what the rule should do:
Forbid usages of undefined variable in vue template.
What category should the rule belong to?
[x] Warns about a potential error
Provide 2-3 code examples that this rule should warn about:
<template> <button @click="handleClick">foo</button> <!-- ~~~~~~~~~~~ --> <!-- 'handleClick' is not defined. --> </template> <script> export default {} </script>
The text was updated successfully, but these errors were encountered:
It's hard to detect, because Vue allows you to use mixins which can't be statically analyzed easily.
Sorry, something went wrong.
vue/no-undef-properties
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Please describe what the rule should do:
Forbid usages of undefined variable in vue template.
What category should the rule belong to?
[x] Warns about a potential error
Provide 2-3 code examples that this rule should warn about:
The text was updated successfully, but these errors were encountered: