Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.24 KB

File metadata and controls

60 lines (41 loc) · 1.24 KB

ox-jsdoc

High-performance JSDoc parser inspired by the oxc project.

Status

Warning

This project is sitll WIP, so don't use in production.

Development

This repository uses Vite+ as the task runner. Install vp before running the project tasks:

curl -fsSL https://vite.plus | bash

Common commands:

vpr fmt       # or `vp run fmt`, format for Rust and JavaScript codes
vpr check     # or `vp run check`, lint for Rust and JavaScript codes
vpr test      # or `vp run test`, test for Rust and JavaScript codes

vpr check runs the Rust license-header task and cargo check. The header task checks Rust sources for:

  • non-empty @author
  • @license MIT

The first run builds the local xtask crate automatically through Cargo. You can also run the task directly:

cargo run -p xtask -- headers:check

Rust commands can be run directly as well:

cargo fmt --check
cargo check
cargo test

Sponsors

The development of ox-jsdoc is supported by my OSS sponsors!

sponsor

License

MIT