vs code 'const' is available in es6 (use 'esversion 6') code example Example: jshint es6 vscode "jshint.options": {"esversion": 6},