victorporof/Sublime-JSHint

Fresh install, errors on first line

Opened this issue · 2 comments

I get 0:0 incompatible values for the 'undefined' and 'undefined' linting options
Anything I can check on to get it working?
What info do you need re: install?

node -v v5.9.1
Sublime build 3103

I was seeing the same issue and found that a setting in my project's .jshintrc was causing the problem:

{
  "esversion": 3
}

When I removed that setting everything worked again normally. I don't know if any other options would have the same effect or why this option in particular would do that. I did notice, though, 2 strange things:

  • running jshint from the command line was NOT affected by the above setting; it ran normally while the plugin failed
  • adding a "trailing" comma to the last setting before the closing "}" allowed the plugin to work BUT broke command line execution with the error msg: ERROR: Can't parse config file: /Users/gabe/src/frontlinesix/src/app/.jshintrc // Error:SyntaxError: Unexpected token }

Hi Team,

Looking for end to end installation and usage document. I could not find any relevant information on site.Please help.