Current Situation
eslint-plugin-vue cannot be made fully compatible because it relies on its own compiler, which produces a modified AST for ESLint to traverse.
In Oxc, due to the lack of JavaScript bindings inside Vue templates, rules such as unused variables (and many others) do not work and cannot be implemented.
Proposal
eslint-plugin-vue will not be a target for full compatibility at this time.
- Implement a custom Vue parser in Oxc that extracts the JavaScript sections from templates.
- Attach these extracted JavaScript fragments to the AST of the
<script> tag and pass them through the rest of the linter pipeline.
Current Situation
eslint-plugin-vuecannot be made fully compatible because it relies on its own compiler, which produces a modified AST for ESLint to traverse.In Oxc, due to the lack of JavaScript bindings inside Vue templates, rules such as unused variables (and many others) do not work and cannot be implemented.
Proposal
eslint-plugin-vuewill not be a target for full compatibility at this time.<script>tag and pass them through the rest of the linter pipeline.