oxc/tasks/ast_codegen
rzvxa 71c07c59d7 improvement(ast_codegen): better output formatting. (#3932)
We use prettyplease for formatting our generated code, Which has a lot of advantages over rustfmt, But sometimes it conflicts with our cargo fmt config,
Since it isn't configurable I just added a `cargo fmt` step after the generation process to prevent conflicts.
We might be able to not rely on prettyplease at all, But We have to test that one after we have most of our generated code, rustfmt usually bails on nested calls and macros so it might not work as our only solution. In contrast to that prettyplease is used in both bindgen and cargo-expand and is created for this exact reason(formatting generated code).
2024-06-29 05:37:15 +00:00
..
src improvement(ast_codegen): better output formatting. (#3932) 2024-06-29 05:37:15 +00:00
Cargo.toml refactor(parser): improve parsing of TypeScript types (#3903) 2024-06-26 05:58:16 +00:00