Webstorm changing ES6 default to ES5.1 with NodeJS

Hi,

Noob question: My default setting for all projects is ES6.  When I manually create a NodeJS project (by calling npm init myself and installing NodeJS myself) I notice that my ES version has been changed to ES5.1.

I've changed it back to ES6.  Is that bad?  Why does it change in the first place?

 

--Matt

0
1 comment

By default settings, do you mean File | Default Settings | Languages & Frameworks | JavaScript? It should nortmally be respected for all new projects... How did you create your new project - by opening existing project directory with File | Open? Or?

0

Please sign in to leave a comment.