This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 239
for await loop triggers semi rule #415
Comments
Can you provide the actual output from ESLint? |
@taion mentioned this on Slack earlier and linked to https://github.com/eslint/eslint/blob/master/lib/rules/semi.js#L190 as the likely cause since this is represented by a new |
See also eslint/eslint#7417. I guess I'll PR it to eslint-plugin-babel if that PR is rejected. |
Ah, got it. Thanks for the info! @taion sounds like a plan. |
@taion so the eslint PR got rejected. Could you please redirect it to eslint-plugin-babel? :) |
This was added to eslint-plugin-babel a while back; it's in 4.1.2 and newer. |
Fantastic! Thanks for the update. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Can't get this to not throw a
Missing semicolon (semi)
error on line2
(for await
line):Can't find any info on this. Is it not supported yet? It's a stage-3 candidate proposal, same as async generators, which are parsed properly.
My config:
The text was updated successfully, but these errors were encountered: