mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
Some refactoring works to update https://github.com/oxc-project/oxc/issues/5068#issuecomment-2507272735 table. - Implement `array::is_consisely_printed_array()` and use it - This improved compat-rate a bit ✌🏻 - Align exported function names to align prettier's - Split `format/mod.rs` into `js`, `jsx` and `typescript` - Move `format/*.rs` to `format/print/*.rs` |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
Getting started
Create a test.js and run the example just example prettier from crates/oxc_prettier/examples/prettier.rs, follow the code structure and read the references documented at the top of the files.
Tasks
- Have the basic infrastructure ready for contribution
- Implement a test runner in Rust which extracts the snapshots and do a comparison over it
- Establish a way to pass all the tests by manually porting code
- Pass as many tests as possible in https://github.com/prettier/prettier/tree/3.3.3/tests/format/js