vue_oxc_toolkit 0.8.0

A parser to generate semantically correct AST from Vue SFCs for code linting purposes.
Documentation

vue_oxc_toolkit

A high-performance toolkit to generate semantically correct AST from Vue SFCs for code linting purposes.

Features

  • Full SFC Parsing: Support for both composition and options API. Support parsing <template> block and TypeScript code as well.
  • JSX/TSX Transformation: Transforms Vue templates into OXC-compatible JSX/TSX AST, enabling deep semantic analysis.
  • Linter Ready: Automatically generates metadatas which are required by oxc_linter (such asmodule_record and irregular_whitespaces).
  • High Performance: Complete the AST transformation in a single traversal.
  • Error Handling: Collect the errors from both vue-compiler-rs and oxc-parser. Implement similar paincked logic like oxc-parser

Credits

This project includes a fork of vue-oxc-parser originally created by zhiyuanzmj.

This project depends on vue-compiler-rs which provides underlying support for Vue parsing.