Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

eversion 8 not accepted? #74

Closed
rchrdnsh opened this issue May 27, 2019 · 3 comments
Closed

eversion 8 not accepted? #74

rchrdnsh opened this issue May 27, 2019 · 3 comments

Comments

@rchrdnsh
Copy link

like the issue says. Trying to change the JSHint version to 8 and it says that only 3 5 and 6 are accepted?

@darrenbrett
Copy link

darrenbrett commented Jun 5, 2019

I'm running into the very same problem. According to the default documentation (https://jshint.com/docs/options/) we should be able to enable versions 8 or 9. But in my settings.json file, I get a green squiggly under 8, and when hovered over it reads:

The ECMAScript version to which the code must adhere
Value is not accepted. Valid values: 3, 5, 6.

My full settings.json file looks like this:

{
  "jshint.enable": true,
  "jshint.options": {
    "esversion": 8,
    "moz": true,
    "supernew": true
  },
  "git.ignoreLimitWarning": true,
  "editor.tabSize": 2,
  "editor.detectIndentation": false,
  "editor.formatOnSave": true,
  "prettier.printWidth": 300,
  "javascript.suggestionActions.enabled": false,
  "workbench.colorCustomizations": {
    "tab.unfocusedActiveBorder": "#fff0"
  }
}

@stormwild
Copy link

Same here:

Screen Shot 2019-07-27 at 3 55 19 PM

@RMacfarlane
Copy link
Contributor

Thanks for reporting this! This should be fixed in the newest version of the extension, 0.10.21.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants