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

refactor: Remove unnecessary 'async' keyword across the codebase [DCM] #2803

Merged
merged 2 commits into from Oct 9, 2023

Conversation

luanpotter
Copy link
Member

Description

Proposal: remove unnecessary 'async' keyword across the codebase.
This is following the DCM rule avoid-redundant-async
Sadly we cannot enable the rule, as it has 3 false positives (cc @incendial if you wanna take a look!)

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

@luanpotter luanpotter marked this pull request as ready for review October 8, 2023 18:10
@luanpotter luanpotter merged commit 2dfe0e5 into main Oct 9, 2023
8 checks passed
@luanpotter luanpotter deleted the luan.async branch October 9, 2023 00:33
@incendial
Copy link

@luanpotter can you point out to the false-positives? Maybe they cab be addressed.

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.

None yet

3 participants