New issue
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
custom directives parse Error #1732
Comments
Thank you for posting the issue. |
I've tried your source code but it doesn't work in Vue. |
It doesn't seem to work now due to a bug, but it seems that you essentially need to use defineExpose. I close this issue as there are no false positives when using defineExpose. |
I do know that using defineExpose works in dev , but sometimes I don't want to use it to expose it。 @ota-meshi |
I don't know how to get your directive to work without using defineExpose. Please let me know if you know it. |
hi~~
|
if I have a custom directives like
in my program
'add ' is assigned a value but never used no-unused-vars
Should I export this method separately to avoid eslint errors?
like
Is there another way to avoid this mistake ?
my eslintrc.js
The text was updated successfully, but these errors were encountered: