diff --git a/std/prettier/main.ts b/std/prettier/main.ts index cd8800d231e6cc..1dd10d373746b2 100755 --- a/std/prettier/main.ts +++ b/std/prettier/main.ts @@ -514,7 +514,7 @@ async function main(opts): Promise { : await resolveConfig(configFilepath); if (config) { - prettierOpts = { ...prettierOpts, ...config }; + prettierOpts = { ...config, ...prettierOpts }; } }