</script> </div> </div> </div> </div> </nav> <div class="main-frame astro-stxa3ntz"> <script type="module">const a=document.getElementById("starlight__sidebar"),n=a?.querySelector("sl-sidebar-state-persist"),o="sl-sidebar-state",i=()=>{let t=[];const e=n?.dataset.hash||"";try{const s=sessionStorage.getItem(o),r=JSON.parse(s||"{}");Array.isArray(r.open)&&r.hash===e&&(t=r.open)}catch{}return{hash:e,open:t,scroll:a?.scrollTop||0}},c=t=>{try{sessionStorage.setItem(o,JSON.stringify(t))}catch{}},d=()=>c(i()),l=(t,e)=>{const s=i();s.open[e]=t,c(s)};n?.addEventListener("click",t=>{if(!(t.target instanceof Element))return;const e=t.target.closest("summary")?.closest("details");if(!e)return;const s=e.querySelector("sl-sidebar-restore"),r=parseInt(s?.dataset.index||"");isNaN(r)||l(!e.open,r)});addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&d()});addEventListener("pageHide",d);</script> <div class="lg:sl-flex astro-ygscdvde"> <aside class="right-sidebar-container print:hidden astro-ygscdvde"> <div class="right-sidebar astro-ygscdvde"> <div class="lg:sl-hidden astro-cobnwibq"><mobile-starlight-toc data-min-h="2" data-max-h="3" class="astro-sx7uqly5"><nav aria-labelledby="starlight__on-this-page--mobile" class="astro-sx7uqly5"><details id="starlight__mobile-toc" class="astro-sx7uqly5"><summary id="starlight__on-this-page--mobile" class="sl-flex astro-sx7uqly5"><span class="toggle sl-flex astro-sx7uqly5">On this page<svg aria-hidden="true" class="caret astro-sx7uqly5 astro-6qsn4yoa" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg></span><span class="display-current astro-sx7uqly5"></span></summary><div class="dropdown astro-sx7uqly5"><ul class="isMobile astro-cjdmvsqj" style="--depth: 0;"> <li class="astro-cjdmvsqj" style="--depth: 0;"> <a href="#_top" class="astro-cjdmvsqj" style="--depth: 0;"> <span class="astro-cjdmvsqj" style="--depth: 0;">Overview</span> </a> </li><li class="astro-cjdmvsqj" style="--depth: 0;"> <a href="#default-value" class="astro-cjdmvsqj" style="--depth: 0;"> <span class="astro-cjdmvsqj" style="--depth: 0;">Default value</span> </a> </li> </ul> </div></details></nav></mobile-starlight-toc><script type="module" src="/syncpack/_astro/MobileTableOfContents.astro_astro_type_script_index_0_lang.C181hMzK.js"></script></div><div class="right-sidebar-panel sl-hidden lg:sl-block astro-cobnwibq"><div class="sl-container astro-cobnwibq"><starlight-toc data-min-h="2" data-max-h="3"><nav aria-labelledby="starlight__on-this-page"><h2 id="starlight__on-this-page">On this page</h2><ul class="astro-cjdmvsqj" style="--depth: 0;"> <li class="astro-cjdmvsqj" style="--depth: 0;"> <a href="#_top" class="astro-cjdmvsqj" style="--depth: 0;"> <span class="astro-cjdmvsqj" style="--depth: 0;">Overview</span> </a> </li><li class="astro-cjdmvsqj" style="--depth: 0;"> <a href="#default-value" class="astro-cjdmvsqj" style="--depth: 0;"> <span class="astro-cjdmvsqj" style="--depth: 0;">Default value</span> </a> </li> </ul> </nav></starlight-toc><script type="module" src="/syncpack/_astro/TableOfContents.astro_astro_type_script_index_0_lang.CKWWgpjV.js"></script></div></div> </div> </aside> <div class="main-pane astro-ygscdvde"> <main data-pagefind-body class="astro-em3yooel" lang="en" dir="ltr"> <div class="sl-banner astro-wmfouqx5" data-pagefind-ignore>This documentation is for <a href="https://github.com/JamieMason/syncpack?tab=readme-ov-file#syncpack">v14 alpha</a>, the <a href="https://web.archive.org/web/20250217193908/https://jamiemason.github.io/syncpack/guide/getting-started/" rel="external nofollow">docs for v13 stable</a> are archived.</div> <div class="content-panel astro-ockzpmvq"> <div class="sl-container astro-ockzpmvq"> <h1 id="_top" class="astro-n3xwhnin">formatBugs</h1> </div> </div> <div class="content-panel astro-ockzpmvq"> <div class="sl-container astro-ockzpmvq"> <div class="sl-markdown-content"> <p>When using the <code dir="auto">format</code> command, enables formatting of the <code dir="auto">bugs</code> field of <code dir="auto">package.json</code> into a shorthand format.</p>
0 commit comments