So without it, it's impossible to use 6to5 in linting tool. To make this reality we need to land few patches to acorn and then to acorn-6to5
-
-
Replying to @kossnocorp
@kossnocorp I'd potentially be interested in implementing it into acorn-6to5. It would significantly shift the direction of the fork though.1 reply 1 retweet 0 likes -
Replying to @kossnocorp
@kossnocorp@sebmck Espree, Esprima, and Acorn output the same SpiderMonkey-compatible AST.1 reply 1 retweet 0 likes -
Replying to @geteslint
@geteslint@sebmck this is great news, what about whitespaces, comments and all the meta information? ...1 reply 0 retweets 0 likes -
Replying to @kossnocorp
@geteslint@sebmck ... As I understand they all have different ways to handle it.1 reply 0 retweets 0 likes -
Replying to @kossnocorp
@kossnocorp@sebmck Espree uses the Esprima 1.2.2 algorithm for this. Acorn is different. Esprima-FB attaches comments differently.1 reply 1 retweet 1 like
@geteslint Acorn doesn't attach comments at all, it just provides them in a stream and delegates the attachment to you. @kossnocorp
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 