-
-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transformer: add style guide for import order #6637
Comments
Personally, I think it'd be ideal if we used this same import order convention in all crates, not just transformer. So we'd need a universal "style guide". Where would that go? https://oxc.rs/docs/contribute/rules.html? Or, even better, can we do it automatically with rustfmt/clippy/autofix action? |
Yes, please! I can't remember this order. |
That was a question, not a statement! I don't know if any of these tools support doing that. |
Thanks @camc314. group_imports with
|
Don't worry too much about the import order. I occassionaly run Lines 8 to 16 in 6ffdcc0
|
As #6582 does, we can write the import order style guide here. This way can help contributors how write transformer plugins that conform to our style.
oxc/crates/oxc_transformer/README.md
Lines 21 to 22 in 03e033f
The text was updated successfully, but these errors were encountered: