Open qmmr opened 10 years ago
We're using esprima-harmony which supports some es6 features but not all.
I've heard there's a Facebook esprima fork with more es6 support that we can look at switching to. Ultimately we're limited by what the parser can do as far as es6 is concerned.
:+1:
+1 Would be great to be able to use this with ember apps.
Even though jsfmt uses esprima-harmony, esformatter does not through it's rocambole dependency, which means that jsfmt still throws errors on ES6 syntax, such as class. Simply changing rocambole's esprima dependency works, but the code isn't formatted of course.
I love using jsfmt, but it seems to miss the latest ES6 features :(
+1
The latest released version has much better es6 support. Folks should try it out and see if it meets some needs.
+1
Hi, do you have plans to introduce ES6 syntax in the near future? Right now it's not possible to validate .js files that are using modules import, classes etc.