-
Notifications
You must be signed in to change notification settings - Fork 716
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
Add lint info to Async #5956
Add lint info to Async #5956
Conversation
Visit the preview URL for this PR (updated for commit 8b3f113): |
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.
Based on the user's issue, it seems like it'd be most helpful for this information to come before readers start working through the tutorial. Can you move this to the top? In/around the introduction (without the header)
* [discarded_futures][] | ||
* [unawaited_futures][] | ||
|
||
By default, these lints aren't enabled. |
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.
No lints are enabled by default. This sentence is unnecessary.
@MaryaBelanger : PTAL. |
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.
- Lints are usually code-fonted
- Did you consider my comment about positioning this information earlier in the tutorial?
I like Marya's point with positioning the lints closer to the beginning! Since it's positioned right before "Congratulations!" it shows up after when it would be useful to the reader. |
/gcbrun |
Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com>
Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com>
@khanhnwin : Fixed. |
@khanhnwin : PTAL. |
@atsansone I think there is some merge conflict in |
Thanks for the heads up @stephane-archer! I just opened https://github.com/dart-lang/site-www/pull/5984/files to remove those merge conflict artifacts! |
remove merge conflict artifacts as noted in: #5956 (comment)
@khanhnwin I'm glad to help :) |
Fixes #5740