ES6 in JShint - .jshintrc has esversion, but still getting warning (using atom)
Instead of creating .jshintrc file, you can simply add at the top of your js file:
/*jshint esversion: 6 */
The filename should be .jshintrc
, and the content is
{
"esversion": 6
}