TypeScript and JavaScript code formatting plugin for dprint.
See the codeTypeScript formatting plugin for dprint.
This uses the swc parser for TypeScript written in Rust (it's super fast).
Then in your project's directory with a dprint.json file, run:
dprint add typescript
See https://dprint.dev/plugins/typescript/ for more information.
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:
cargo build --target wasm32-unknown-unknown --release --features "wasm"./target/wasm32-unknown-unknown/release/dprint_plugin_typescript.wasm in a dprint configuration file.(top 30 of 36)
Rust
99.6%
TypeScript and JavaScript code formatting plugin for dprint.
See the codeTypeScript formatting plugin for dprint.
This uses the swc parser for TypeScript written in Rust (it's super fast).
Then in your project's directory with a dprint.json file, run:
dprint add typescript
See https://dprint.dev/plugins/typescript/ for more information.
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:
cargo build --target wasm32-unknown-unknown --release --features "wasm"./target/wasm32-unknown-unknown/release/dprint_plugin_typescript.wasm in a dprint configuration file.(top 30 of 36)
Rust
99.6%