Note about ESLint "no-undef" rule #768
Closed
GekkotaDev
started this conversation in
General
Replies: 2 comments
-
We have |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Something that may confuse people would be the built-in ESLint rule
no-undef
stating the macros are undefined despite Typescript having no complaints and the macros behaving correctly at runtime.Not an issue of Vue Macros itself but nevertheless suggesting this behavior from ESLint should be noted in documentation to reduce confusion, and a simple fix for users would be to add the following lines
Alternatively, the rule
no-undef
may be disabled completelyBeta Was this translation helpful? Give feedback.
All reactions