vscode const is available in es6 code example Example: jshint es6 vscode "jshint.options": {"esversion": 6},