oxc/tasks
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
..
ast_tools refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
benchmark feat(sourcemap): move oxc_sourcemap to github.com/oxc-project/oxc-sourcemap (#7604) 2024-12-03 11:59:43 +00:00
common chore(doc): replace main/master to tag/commit to make the url always accessible (#7298) 2024-11-16 21:00:30 +08:00
compat_data refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
coverage refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
javascript_globals feat(linter)!: sync sindresorhus/globals; removed Object.prototype properties from builtin and es* globals (#6991) 2024-10-29 04:13:20 +00:00
lint_rules fix(tasks/lint_rules): map prefix node to n (#7397) 2024-11-21 13:58:53 +00:00
minsize test(minifier): reformat minsize table (#7678) 2024-12-05 12:16:29 +00:00
prettier_conformance style(rust): cargo +nightly fmt (#7877) 2024-12-14 06:03:31 +00:00
rulegen feat(linter)!: remove unmaintained security plugin (#7773) 2024-12-10 14:29:22 +00:00
transform_checker refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
transform_conformance refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
website feat(linter)!: remove unmaintained security plugin (#7773) 2024-12-10 14:29:22 +00:00