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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -