This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
Cannot read property '_tokenIndex' of undefined in v.1.11.0 #1013
Labels
Comments
Thanks for contributing! Can you please:
|
I whittled it down to this case: var myobj = {
myfunc() {
return null;
}
}; It seems to be related to the ES6 object literal property value shorthand syntax. Removing custom esprima and adding |
Looks like https://github.com/jscs-dev/node-jscs/blob/master/lib/rules/require-space-after-object-keys.js#L44 |
@zxqfox, can you file an ESPrima bug? http://github.com/jquery/esprima |
@mikesherov Thanks ;-) done. |
qfox
pushed a commit
that referenced
this issue
Feb 8, 2015
qfox
pushed a commit
that referenced
this issue
Feb 8, 2015
qfox
pushed a commit
that referenced
this issue
Feb 8, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thanks for all the great work on this tool and congrats on the latest release. However, I just upgraded from 1.10.0 to 1.11.0 and ran into this error:
Removing this line from my .jscsrc file makes the error go away:
Here's some of my config that might be interesting?
Let me know if I can provide any more info, or if there is something that I am doing wrong here.
The text was updated successfully, but these errors were encountered: