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
FWIW, I'm not sure that this is a parser issue, but rather a plugin issue. From what I can tell, it has to be used in each rule. Would be curious to hear from @mysticatea why it's used instead of the built-in visitorKeys feature.
Vue.js templates have interpolations, floating JavaScript expressions, then those confuse the core rules seriously. Therefore, we have to separate the template's AST from the script.
Following on from #760 (comment)
For better interop with vue, we might want to look at implementing
defineTemplateBodyVisitor
.https://github.com/mysticatea/vue-eslint-parser/blob/0f241279dc412ff4bb0faa9211233a944465f9b4/README.md#L93-L99
This will let plugins provide linting for vue expressions.
The text was updated successfully, but these errors were encountered: