tamzinblake / js3-mode

A chimeric fork of js2-mode and js-mode
GNU General Public License v3.0
181 stars 13 forks source link

js3-mode doesn't love ES6 #107

Open kozross opened 9 years ago

kozross commented 9 years ago

I haven't found any way to not make js3-mode unhappy about certain features of ES6 code (namely default parameters). Is there an option I'm missing?

osv commented 8 years ago

and es7.. async/await, js2 mode dont love it too btw.

tamzinblake commented 8 years ago

Yep, anything that's not in ES5 will look like an error to js3-mode - it's based on an older version of Rhino and hasn't been kept up to date. Unless someone jumps up and starts maintaining this more aggressively, you'd have more luck looking into js2-mode - it's very well-supported.

osv commented 8 years ago

js2 yes, but It still not support async await, especial using async in class. That is why I don't use classes :)