-
Notifications
You must be signed in to change notification settings - Fork 305
Linting instructions result in error #509
Comments
Running the command with just |
It looks like |
Thanks for the reply Tom. My setup is simply the default one. My diagnosis is that since the default setup points to installing the latest eslint, and the latest eslint expects a Node version that has ES6 support, this is failing. The default Node on Meteor is 0.12, and the latest eslint is incompatible with that I believe. Perhaps the guide ought to be updated to install a specific version of eslint? |
You might be right! I'd suggest using the version of eslint that we use in todos then https://github.com/meteor/todos/blob/master/package.json#L19 Can you let me know if this fixes it, and maybe we should update the guide to specify the version. |
Hi, I am having the exact same problem as Athyuttam (and I followed the instructions on meteor guide). I changed the version of eslint and its plugin to match the ones used in the todos app (as suggested by Tom) and now I'm getting a different error:
I agree with Athyuttam about newer version of eslint expecting a node version that supports es6 syntax. But now it seems to be a problem with the eslint-plugin-import... |
@fmilani see import-js/eslint-plugin-import#415 (the fix is update to |
Thanks, Tom! Updating to |
I'm closing this issue because it's too old. We are going to make many updates to the guide in the next weeks and it's better to focus on issues with recent activity. If you think this issue is still relevant please open a new one. |
I just ran through the guide, creating a default app (
meteor create 1.3-test
) and ran through the section on setting upeslint
. I'm running into this issue:My guess is that the latest version of
eslint
has a Node dependency that Meteor doesn't yet have?The text was updated successfully, but these errors were encountered: