oxc/crates/oxc_prettier
Boshen f6752b482f
feat!(ast): make Trivias clonable by adding Arc (#3638)
This makes `Trivias` cloneable and stops us from using `Rc::new` and
`Rc::clone` everywhere.

`Trivias` is rarely cloned so an `Arc` should suffice.
2024-06-12 13:16:10 +08:00
..
examples feat!(ast): make Trivias clonable by adding Arc (#3638) 2024-06-12 13:16:10 +08:00
src feat!(ast): make Trivias clonable by adding Arc (#3638) 2024-06-12 13:16:10 +08:00
Cargo.toml chore: crates should only publish src and examples directory 2024-06-08 16:35:16 +08:00
README.md Update README 2024-01-19 18:39:07 +08:00

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