-
-
Notifications
You must be signed in to change notification settings - Fork 208
ESLint: 2.10.0 - Parsing error: Unexpected token = #312
Comments
Probably related: eslint/eslint#6158 |
I get the same error. It throws the error on windows but not osx. |
I get this error on osx. I don't see how this is related to eslint/eslint#6158 at all. |
It could be the same error as eslint/eslint#6158 in that 2.10 currently makes it so ESLint always uses the default parser and not babel-eslint. Try 2.9 and if it works then you should pin to 2.9 until a patch is released. Pretty sure that is the case. |
I get this error on |
Can someone check ESLint 2.10.1 which fixes the parser issue? |
I updated ESLint to 2.10.1 and this issue went away for me. |
Same here, it's fixed 👍 . |
Cool. Yep, it basically turned off babel-eslint for everyone. If you don't don't get unexpected token there would of been an issue (or you don't need babel-eslint haha) |
For some reason the error hasn't gone away for me yet: https://travis-ci.org/perrin4869/react-onenterkeydown/jobs/130315342 Anyone got a clue why? https://github.com/perrin4869/react-onenterkeydown/ Edit: ok, this seems to be a |
I'm still seeing the error. I'm using |
I've gone back and forth, uninstalled everything concerning eslint locally and globally, then went back and tried installing |
|
I'm using:
and getting the following error:
which points to class properties:
I expected
babel-eslint
to support class properties out of the box.What am I missing?
Here is my eslint config:
The text was updated successfully, but these errors were encountered: