Prettier released version 3 with esm config support `.prettierrc.mjs` wich not running on `codegenMercurius` files emit.