Sublime-JSHint icon indicating copy to clipboard operation
Sublime-JSHint copied to clipboard

Fresh install, errors on first line

Open salamanders opened this issue 10 years ago • 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

salamanders avatar Mar 29 '16 01:03 salamanders

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 }

gklandes avatar Apr 29 '16 13:04 gklandes

Hi Team,

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

Aaqib041 avatar May 12 '16 10:05 Aaqib041