TypeScript formatting plugin for dprint.
This uses the swc parser for TypeScript written in Rust (it's super fast).
See the GitHub releases.
The tests are in the ./tests/specs folder. To run the tests, run cargo test.
You may wish to try out the plugin by building from source:
- Run
cargo build --target wasm32-unknown-unknown --release --features "wasm" - Reference the file at
./target/wasm32-unknown-unknown/release/dprint_plugin_typescript.wasmin a dprint configuration file.