Consistent formatting of frontend code from command-line

We use the IntelliJ command-line interface in our CI server to check for consistent formatting of Java files. Is there a recommended formatting tool for TypeScript files, Lit components and other Flow frontend files that you use at Vaadin?