I use Prettier to format code in my JavaScript/TypeScript projects. The reason for this is that Prettier checks all boxes for my requirements for a code formatter.
Prettier produces pretty and readable code, is fast, has no dependencies, and is pretty popular. One can also set it up for it not to conflict with ESLint, which is a big plus.