Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up`async` syntax causes `Parsing error: Unexpected token` #602
Comments
This comment has been minimized.
This comment has been minimized.
|
@zeke I think you may have accidentally run a global version of |
feross
added
the
question
label
Aug 20, 2016
This comment has been minimized.
This comment has been minimized.
sotojuan
commented
Aug 20, 2016
|
Try doing this.
Then in "standard": {
"parser": "babel-eslint"
}I'm on the AVA team and this has happened to me many times |
This comment has been minimized.
This comment has been minimized.
|
I'm running the local version, 8.0.0-beta.5
|
This comment has been minimized.
This comment has been minimized.
|
@zeke Try following @sotojuan's advice in an earlier comment. You need to specify
Though it's easier to use the |
feross
closed this
Aug 21, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
timdp
commented
Sep 28, 2016
|
@feross Per your recent tweet, isn't |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
timdp
commented
Sep 30, 2016
|
@feross That's awesome, thanks! |
zeke commentedAug 20, 2016
This test passes, and babel doesn't seem to have a problem with it:
but standard doesn't like it: