feat: format JS and TS end to end
js::format parses with oxc, keeping parentheses, indexes the tree and prints it with bun's printer. JavaScript reads JSX, as Babel does in Prettier, and parses as a module first, then as a script; TypeScript reads JSX in .tsx only. On the first 400 files of the bench corpora, 218 JavaScript and 98 TypeScript files print as Prettier prints them, with no errors.
Parent2c55fb4
2 files changed+52-1
StackedSplit