Skip to content

Commit 1d9039b

Browse files
committed
Document import order
closes oxc-project/oxc#12723
1 parent f403ce6 commit 1d9039b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/docs/contribute/rules.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ outline: deep
3232
- Monitor code coverage for unused code. Aim for 99% code coverage.
3333
- Actively monitor and work on reducing the CI time to speed up merging of PRs. The current CI time on GitHub actions is around 3 minutes.
3434
- Documentation first - documentation should serve as the source of truth. Keep the documentation updated and share the link instead of repeatedly answering the same questions. See GitLab's [handbook-first](https://handbook.gitlab.com/handbook/company/culture/all-remote/handbook-first) approach.
35+
- Consistent import orders: "furthest away" to "closest".
36+
- `std`
37+
- External crates
38+
- Oxc crates
39+
- Local crate (`crate`)
40+
- `super`
41+
- `mod`
3542

3643
## Conventional Commits
3744

0 commit comments

Comments
 (0)