<p dir="auto">There doesn't appear to be a way to configure <code class="notranslate">deno fmt</code>, and its <code class="notranslate">--help</code> output mentions nothing about config files (apart from <code class="notranslate">tsconfig.json</code>).</p>
<p dir="auto">I ran <code class="notranslate">deno fmt .</code> from a directory with a <code class="notranslate">.prettierrc.json</code> file containing:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
	&quot;tabWidth&quot;: 4,
	&quot;useTabs&quot;: true,
	&quot;semi&quot;: true,
	&quot;singleQuote&quot;: false,
	&quot;trailingComma&quot;: &quot;es5&quot;,
	&quot;bracketSpacing&quot;: false,
	&quot;arrowParens&quot;: &quot;avoid&quot;
}"><pre class="notranslate">{
	<span class="pl-ent">"tabWidth"</span>: <span class="pl-c1">4</span>,
	<span class="pl-ent">"useTabs"</span>: <span class="pl-c1">true</span>,
	<span class="pl-ent">"semi"</span>: <span class="pl-c1">true</span>,
	<span class="pl-ent">"singleQuote"</span>: <span class="pl-c1">false</span>,
	<span class="pl-ent">"trailingComma"</span>: <span class="pl-s"><span class="pl-pds">"</span>es5<span class="pl-pds">"</span></span>,
	<span class="pl-ent">"bracketSpacing"</span>: <span class="pl-c1">false</span>,
	<span class="pl-ent">"arrowParens"</span>: <span class="pl-s"><span class="pl-pds">"</span>avoid<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto">Which <code class="notranslate">deno</code> completely ignored.</p>
<p dir="auto">It would be great to have a way to set <a href="https://prettier.io/docs/en/options.html" rel="nofollow">prettier options</a> when using <code class="notranslate">deno fmt</code>. Up until a recent release (I'm guessing 0.18, but didn't notice till 0.19) I was able to run <code class="notranslate">deno fmt files -- --prettier-option-1 true</code>, though this was still a less than ideal process. My prefered method would be to have a <a href="https://prettier.io/docs/en/configuration.html" rel="nofollow">prettier config file</a> and for deno to either pick it up automatically or allow a flag to pass in a path to  said file.</p>