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

new rule to disallow multiple await keywords next to each other #1000

Closed
capaj opened this issue Oct 12, 2017 · 1 comment

Comments

@capaj
Copy link
Contributor

commented Oct 12, 2017

This is actually a valid JS-the editor won't show squigly lines or anything like that.

const result = await await query(

Would be nice if standard could catch this typo as it can easily occur when refactoring.

@capaj capaj changed the title new rule ti disallow multiple await keywords next to each other new rule to disallow multiple await keywords next to each other Oct 12, 2017

@Flet Flet added the enhancement label Nov 6, 2017

@Flet Flet added this to the standard v11 milestone Nov 6, 2017

@feross feross modified the milestones: standard v12, standard v13 Aug 28, 2018

@feross

This comment has been minimized.

Copy link
Member

commented Jul 5, 2019

I don't have any immediate plans to work on this issue, so I'm going to close it. If you (or anyone else) wants to tackle it, the right place to send a PR is to the eslint project: https://github.com/eslint/eslint

Once they accept the rule, we'll be happy to include it here.

@feross feross closed this Jul 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.