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

feat: enable require-await rule #56

Merged
merged 1 commit into from
Sep 13, 2023
Merged

feat: enable require-await rule #56

merged 1 commit into from
Sep 13, 2023

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Sep 13, 2023

Description

The PR enables the require-await rule.

This rule was originally disabled to allow marking functions as async not only when they have an await but also when they return a Promise. However, since there wasn't any other rule that would enforce async for Promise-returning functions, maintaining consistency of the async keyword for functions was totally up to the developer and often resulted in oversights.

Type of change

  • Feature

@Lodin Lodin merged commit 8420848 into main Sep 13, 2023
1 check passed
@Lodin Lodin deleted the enable-require-await-rule branch September 13, 2023 12:20
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

2 participants