microsoft / vscode-jshint

VSCode extension to integrate jshint into VSCode
https://marketplace.visualstudio.com/items?itemName=dbaeumer.jshint
MIT License
72 stars 48 forks source link

The esversion 6 option in the jshint options is not working #18

Closed jamesxv7 closed 8 years ago

jamesxv7 commented 8 years ago

Hello, when I try to setup the options of Jshint in the User Settings the editor does not recognize es version selected.

  "jshint.enable": true,
  "jshint.options": {
    "esversion": 6, 
    "esnext": true, 
    "moz": true}
kieferrm commented 8 years ago

When you run jshint on the command line with the same options you get: xyz.js: line 0, col 0, Incompatible values for the 'esversion' and 'esnext' linting options. (0% scanned).

That problem was fixed with this commit several months ago but not yet published to the marked place. I'll do that shortly.

str commented 6 years ago

Should esversion be 6 by default?