How can i use es6 based code analysis for html files by webstorm 10?


when I try es6 on html files, webstorm 10 shows to me es5 based error.

as you know, arrow function is equiped on chrome. 

how can i fix it?

Comment actions Permalink

Hi there,

As far as I'm aware ES6 support in inline scripts (without type="text/babel", type="text/ecmascript-6" or type="module") is only implemented for upcoming 2016.2 version --

For your v10 you have to use one of the aforementioned `type="xxx"` attributes or via custom attribute as described in this comment:

You can try 2016.2 EAP build now:


Please sign in to leave a comment.