Share your arbitrary formatting preferences for a chance for them to be in the Rome formatterhttps://twitter.com/sebmck/status/1240365566042329088?s=20 …
-
Show this thread
-
-
-
-
Replying to @jlongster
Same question and answer for everything that Rome does
1 reply 0 retweets 0 likes -
Replying to @sebmck
I don’t really know that answer tbh. No animosity here at all, but it’s yet another uphill battle you’ll have to fight?
2 replies 0 retweets 0 likes -
Replying to @jlongster
Lint autofixes operate on the AST. So you need to generate a pretty AST. Either then require you to run a nicer autoformatter or we just improve Rome's code generator. Easy decision. Why uphill battle? Easy to tell people to just use Prettier if they don't like it.
1 reply 0 retweets 0 likes -
Replying to @sebmck
You are choosing the style of people’s code, and taking on that responsibility. Absolutely an uphill battle to convince everyone of that format. Just use prettier is too simplistic. If i use it, and your autofix reformats everything, and I have to format back, no way
2 replies 0 retweets 1 like -
Replying to @jlongster @sebmck
Go for it if you want though! Was just curious. I get that the integration is better. I thought prettier could take an AST and output a string?
2 replies 0 retweets 0 likes
Rome doesn’t use the ESTree AST
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 