AI is fantastic at configuring Emacs.
Me: Why does Emacs format this TS differently than Prettier does?
Droid: There’s the problem. Apheleia’s prettier-typescript formatter includes (apheleia-formatters-js-indent “–use-tabs” “–tab-width”), which injects –tab-width and –use-tabs flags based on your Emacs buffer settings. These override the project’s .prettierrc.json config, so Prettier gets different arguments than when your coworkers run it from the command line.