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 upReactJS Flow stateless component: "Parsing error: Unexpected token :" #850
Comments
This comment has been minimized.
This comment has been minimized.
|
Are you using |
feross
added
the
question
label
Apr 10, 2017
This comment has been minimized.
This comment has been minimized.
|
I installed the plugin but the error still appears on that colon. I'm using Create React App, an excerpt from my
Using VSCode and Running |
This comment has been minimized.
This comment has been minimized.
|
Aha. This is happening because You also need to "standard": {
"plugins": [ "flowtype" ],
"parser": "babel-eslint"
} |
This comment has been minimized.
This comment has been minimized.
|
Thanks. That fixed it. |
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
will-stone commentedApr 9, 2017
Causes
Parsing error: Unexpected token :on the colon. The latest update adds better support for Flow but looks like it's not quite there. Any chance this could be fixed?