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

prefer-top-level-await: Ignore expressions in class #1976

Merged
merged 2 commits into from Nov 18, 2022

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Nov 18, 2022

Fixes #1860

@fisker fisker marked this pull request as ready for review November 18, 2022 11:45
@sindresorhus sindresorhus changed the title prefer-top-level-await: Ignore expressions in class prefer-top-level-await: Ignore expressions in class Nov 18, 2022
@sindresorhus sindresorhus merged commit b90a3aa into sindresorhus:main Nov 18, 2022
@fisker fisker deleted the prefer-top-level-await-class branch November 18, 2022 14:58
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.

prefer-top-level-await flags code that can't be top-level-awaited
2 participants