oxc/crates/oxc_prettier
Yuji Sugiura a4e8ce8fe5
feat(prettier): Complete print_literal (#7952)
Part of #5068 

- [x] RegExpLiteral
- [x] BigIntLiteral
- [x] NumericLiteral
- [x] StringLiteral
  - [x] replaceEndOfLine
  - [x] makeString keep usless escape
- [x] NullLiteral
- [x] BooleanLiteral
2024-12-17 12:02:22 +08:00
..
examples refactor(prettier)!: remove source_text argument from constructor (#6448) 2024-10-11 06:27:33 +00:00
src feat(prettier): Complete print_literal (#7952) 2024-12-17 12:02:22 +08:00
Cargo.toml
README.md chore(doc): replace main/master to tag/commit to make the url always accessible (#7298) 2024-11-16 21:00:30 +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