Closed rchrdnsh closed 5 years ago
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"
}
}
Same here:
Thanks for reporting this! This should be fixed in the newest version of the extension, 0.10.21.
like the issue says. Trying to change the JSHint version to 8 and it says that only 3 5 and 6 are accepted?