-
Notifications
You must be signed in to change notification settings - Fork 35
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
feat(cli): create ios/android template #245
Conversation
Deploying mopro with Cloudflare Pages
|
cli/src/build.rs
Outdated
@@ -1,4 +1,7 @@ | |||
use crate::style::{self, blue_bold, print_green_bold}; | |||
use crate::{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my rust files I put 1 import per line to prevent merge conflicts. I order the imports as std
first, external crates second, and local modules third. A good example is here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my rust files I put 1 import per line to prevent merge conflicts. I order the imports as
std
first, external crates second, and local modules third. A good example is here
I follow this rule as well. we could consider enabling group_imports in rustfmt to help avoid conflicts and keep lines shorter.
It’s an unstable feature but might be worth trying.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sifnoc Yes currently I don't follow the order to import packages
We can do that in another PR 👍🏻
#234