Closed emnh closed 9 years ago
Looks like es6 is supported in jslint library, but somehow it's not possible to pass it as an option.
Adding this at the top of the file:
/jslint browser: true, indent: 2, es6: true /
Gives:
index.js
/*jslint browser: true, indent: 2, es6: true */ // Line 1, Pos 36
Are you using --edition=es6 on the command line?
Nope. Thanks! Works now.
Looks like es6 is supported in jslint library, but somehow it's not possible to pass it as an option.
Adding this at the top of the file:
/jslint browser: true, indent: 2, es6: true /
Gives:
index.js
1 Unexpected 'es6'.