ecmascript 6 - IntelliJ JSHint esversion option -
according jshint documentation, esnext option deprecated soon:
esnext: warning option has been deprecated , removed in next major release of jshint. use esversion: 6 instead.
however, intellij doesn't seem recognize option 'esversion', showing es6 syntax-related warnings when used (these not show when use esnext:true instead).
has else encountered issue?
i think intellij using own bundled jshint version, bit older latest. wouldn't worry this. use old option until intellij catches up. if doesn't cause problems, add 'esversion' flag too, in case you're using same project outside intellij (e.g. running jshint command line).
Comments
Post a Comment