New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linter crashes on 'Parsing error: Unexpected token' on OSX #225
Comments
Please post thejson output eslint produces here. |
Just switch the format to json. It seems that your eslint produces different output for parse errors than mine. |
When SL-eslint works normally, CLI eslint outputs e.g. the following:
When SL-eslint crashes, CLI eslint outputs e.g. the following:
It seems that |
I can't reproduce this 😡 . If I produce a parsing error, I also get Can you enable debug mode in SublimeLinter and post the output we actually have in Sublime land. Currently, it outputs twice, first the json string, and after that the python patsed json object. |
FWIW I developed this plugin using eslint v4.9.0 |
I tried the latest for today eslint v4.18.2 and the latest of v3. All the same.
I see that somehow SL-eslint uses
I tried to relink Excuse me for such a stupid bug... All I had to do was look at the debug report carefully and mention Now I need to find out why I had |
Now your default eslint was so old you probably hadn't nvm running at that time. We'll see if this issue comes up again, curious when they made 'ruleId' mandatory. |
After I finally made SL4 work with SL-eslint I faced with annoying problem: linter crashes on any Parsing error — Sublime Text 3 console appears with the following message:
At the same time CLI
eslint
works perfectly. SL-eslint correctly detects and highlights all other warnings and errors.The following modules installed globally:
babel-eslint
,eslint
,eslint-plugin-react
in~/.nvm/versions/node/v9.8.0/lib/node_modules
.eslint
symlink is in~/.nvm/versions/node/v9.8.0/bin
pointing to~/.nvm/versions/node/v9.8.0/lib/node_modules/eslint/bin/eslint.js
.SublimeFixMacPath
is installed.My local
.eslintrc
is here.The text was updated successfully, but these errors were encountered: