oxc/tasks/prettier_conformance
Boshen be6b8b7ce6
[BREAKING CHANGE] Change Atom to Atom<'a> to make it safe (#2497)
Part of #2295

This PR splits the `Atom` type into `Atom<'a>` and `CompactString`.

All the AST node strings now use `Atom<'a>` instead of `Atom` to signify
it belongs to the arena.

It is now up to the user to select which form of the string to use.

This PR essentially removes the really unsafe code 


93742f89e9/crates/oxc_span/src/atom.rs (L98-L107)

which can lead to 

![image](https://github.com/oxc-project/oxc/assets/1430279/8c513c4f-19b0-4b63-b61c-e07c187c95b5)
2024-02-26 19:34:40 +08:00
..
src [BREAKING CHANGE] Change Atom to Atom<'a> to make it safe (#2497) 2024-02-26 19:34:40 +08:00
Cargo.toml refactor: remove global allocator from non-user facing apps (#2401) 2024-02-12 14:09:05 +08:00
prettier.js.snap.md feat(coverage): add prettier idempotency test (#2403) 2024-02-12 16:20:09 +08:00
prettier.ts.snap.md fix(parser): fix missing end span from TSTypeAliasDeclaration (#2485) 2024-02-24 16:51:00 +08:00
README.md fix(tasks/prettier_conformance): fix incorrect casing in README (#1295) 2023-11-14 13:41:48 +08:00

Prettier Conformance

Run

just watch "run -p oxc_prettier_conformance"