Skip to content
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

Merged
merged 7 commits into from
Jul 18, 2024
Merged

Add lint info to Async #5956

merged 7 commits into from
Jul 18, 2024

Conversation

atsansone
Copy link
Contributor

Fixes #5740

@dart-github-bot
Copy link
Collaborator

dart-github-bot commented Jul 1, 2024

Visit the preview URL for this PR (updated for commit 8b3f113):

https://dart-dev--pr5956-fix-5740-2-rupmnkmb.web.app

Copy link
Contributor

@MaryaBelanger MaryaBelanger left a 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.
Copy link
Contributor

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.

@atsansone
Copy link
Contributor Author

@MaryaBelanger : PTAL.

Copy link
Contributor

@MaryaBelanger MaryaBelanger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Lints are usually code-fonted
  2. Did you consider my comment about positioning this information earlier in the tutorial?

@khanhnwin
Copy link
Contributor

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.

@atsansone
Copy link
Contributor Author

/gcbrun

Tony Sansone and others added 6 commits July 18, 2024 12:26
Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com>
Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com>
@atsansone
Copy link
Contributor Author

@khanhnwin : Fixed.
image

@atsansone
Copy link
Contributor Author

@khanhnwin : PTAL.

@atsansone atsansone merged commit c0459c6 into dart-lang:main Jul 18, 2024
10 checks passed
@stephane-archer
Copy link

@atsansone I think there is some merge conflict in async-await.md, I see some <<<<<<< HEAD

@khanhnwin khanhnwin mentioned this pull request Jul 19, 2024
@khanhnwin
Copy link
Contributor

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!

atsansone pushed a commit that referenced this pull request Jul 19, 2024
remove merge conflict artifacts as noted in:
#5956 (comment)
@stephane-archer
Copy link

@khanhnwin I'm glad to help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mention two linter rules not enabled by default on 'Asynchronous programming: futures, async, await' page
6 participants