Q:

Where can I set the ES6 option for jshint?

I tried:
/*jshint esversion: 6 */

but got an error when running grunt:

This is supposed to be the preferred method as esnext is being deprecated.  See here - http://jshint.com/docs/options/#esnext

A:

You can set the 'esversion' option in your gruntfile.js, like so:
jshint: {
    files: ['dist/*.js'],
    options: {
        'esversion': 6,
    }
},

