JSHint: 'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz). (W104) in webstorm code example
Example: template literal syntax' is only available in ES6 (use 'esversion: 6'). (W119)jshint(W119)
Add a file named .jshintrc to your project and inside this file type this.
{
"esversion": 6
}