oxc/crates/oxc_prettier
Boshen f059b0e655 fix(ast)!: add missing ChainExpression from TSNonNullExpression (#7377)
closes #7375

* `foo?.bar!`
* `foo?.[bar]!`

`TSNonNullExpression` was not wrapped inside `ChainExpression`.
2024-11-20 15:54:28 +00:00
..
examples refactor(prettier)!: remove source_text argument from constructor (#6448) 2024-10-11 06:27:33 +00:00
src fix(ast)!: add missing ChainExpression from TSNonNullExpression (#7377) 2024-11-20 15:54:28 +00:00
Cargo.toml perf(linter, prettier, diagnostics): use FxHashMap instead of std::collections::HashMap (#5993) 2024-09-23 16:29:05 +00:00
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