When I write:
let name = "Henry";
The following warning message appear:
'let' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
I don't have any idea what to do for correct that warning. The answers I found are create a file named .jshintrc
and then add this:
{
"esversion": 6
}
The thing is, It just work for the current project I'm programming, If a create a new one, I have to do again the same file. There is another way to do it that apply all the new projects?