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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -