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

elide Task.FromResult asyncs #9997

Merged
merged 1 commit into from
Jun 22, 2024
Merged

elide Task.FromResult asyncs #9997

merged 1 commit into from
Jun 22, 2024

Conversation

SimonCropp
Copy link
Contributor

given these are not actual state machines, there is no dependability concerns

@SimonCropp SimonCropp requested a review from a team as a code owner June 5, 2024 05:04
Copy link
Contributor

@erdembayar erdembayar left a comment

Choose a reason for hiding this comment

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

@SimonCropp
I see many PRs to improve code quality from you, but there's a risk that we might introduce some in the future. Ideally, if we had those analyzers turned on in our repository, it would be great. Are you using the Roslyn analyzer? Is it possible to add them into https://github.com/NuGet/NuGetGallery/blob/dev/.editorconfig ?

@erdembayar erdembayar merged commit 53004f0 into NuGet:dev Jun 22, 2024
2 checks passed
@SimonCropp SimonCropp deleted the elide-Task.FromResult-asyncs branch June 22, 2024 01:06
@SimonCropp
Copy link
Contributor Author

@erdembayar sorry, not using any analyzers. but i will do a pass on the .editorconfig and see if i can suggest some improvements that will help keep the code cleaner

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.

2 participants