Make webstorm default es6 for javascript
To set the default language level for JavaScript, go to
File > *DEFAULT Settings* > Languages and Frameworks > JavaScript
.
Go to File | Settings | Languages and Frameworks | JavaScript
and here change option JavaScript language version
to ECMAScript 6
.
Also will be useful JetBrains screencast.