oxc/tasks/ast_tools/src
overlookmotel 3858221f45 refactor(global): sort imports (#7883)
Pure refactor. Re-order imports for clarity:

1. `std`
2. External crates
3. `oxc_*` crates
4. Current crate `use crate::...`
5. Super `use super::...`
6. Local modules

This order is from "furthest away" to "closest". This makes it clearer to see what is coming from where.

`cargo +nightly fmt` (#7877) did a lot of the work, but unfortunately `rustfmt` does not have an option to (a) put workspace crates in a separate block from external crates and (b) move `mod` statements to after `use` statements.
2024-12-14 15:07:21 +00:00
..
derives refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
generators refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
output refactor(ast_tools): faster formatting Rust code (#6972) 2024-10-28 01:13:36 +00:00
passes refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
schema refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
codegen.rs refactor(ast_tools): remove LateCtx abstraction (#7083) 2024-11-01 22:31:03 +00:00
layout.rs fix(tasks): cargo clippy error on rust 1.82.0 (#7283) 2024-11-15 00:08:04 +08:00
logger.rs refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
main.rs feat(ast): derive GetAddress on all enum types (#7472) 2024-11-25 12:13:44 +00:00
markers.rs feat(estree): ESTree compatibility for all literals (#7152) 2024-11-06 21:25:41 +00:00
rust_ast.rs refactor(ast_tools): rename visitable to is_visitable (#7104) 2024-11-03 17:20:25 +00:00
util.rs refactor(ast_tools): remove LateCtx abstraction (#7083) 2024-11-01 22:31:03 +00:00