In order to use optional catch binding, I need to use ES10. So I set Visual Studio Code to esversion: 10. However, the settings.json keeps giving me the Problem "Value is not accepted. Valid values: 3, 5, 6, 7, 8, 9."
JSHint docs specifically name esversion 10: see https://jshint.com/docs/options/
Does anyone know why esversion 10 is not accepted in VSCode, and even better, how to change that?
Settings.json file is at C:\Users<username>\AppData\Roaming\Code\User, if you don't get to it via File>Preferences>Settings. Seach for "jshint" and it will give you a link to Edit in settings.json.