nebula-docs/prettier.config.mjs
dependabot[bot] 7015db24f2
Bump prettier from 2.8.8 to 3.3.1 (#142)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to
3.3.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/prettier/prettier/releases">prettier's
releases</a>.</em></p>
<blockquote>
<h2>3.3.1</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#331">Changelog</a></p>
<h2>3.3.0</h2>
<p><a
href="https://github.com/prettier/prettier/compare/3.2.5...3.3.0">diff</a></p>
<p>🔗 <a href="https://prettier.io/blog/2024/06/01/3.3.0.html">Release
note</a></p>
<h2>3.2.5</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#325">Changelog</a></p>
<h2>3.2.4</h2>
<ul>
<li>Fix <code>.eslintrc.json</code> format <a
href="https://redirect.github.com/prettier/prettier/issues/15947">#15947</a></li>
</ul>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#324">Changelog</a></p>
<h2>3.2.3</h2>
<ul>
<li>Format <code>tsconfig.json</code> file with <code>jsonc</code>
parser <a
href="https://redirect.github.com/prettier/prettier/issues/15927">#15927</a></li>
</ul>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#323">Changelog</a></p>
<h2>3.2.2</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#322">Changelog</a></p>
<h2>3.2.1</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#321">Changelog</a></p>
<h2>3.2.0</h2>
<p><a
href="https://github.com/prettier/prettier/compare/3.1.1...3.2.0">diff</a></p>
<p>🔗 <a href="https://prettier.io/blog/2024/01/12/3.2.0.html">Release
note</a></p>
<h2>3.1.1</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#311">Changelog</a></p>
<h2>3.1.0</h2>
<p><a
href="https://github.com/prettier/prettier/compare/3.0.3...3.1.0">diff</a></p>
<p>🔗 <a href="https://prettier.io/blog/2023/11/13/3.1.0.html">Release
note</a></p>
<h2>3.0.3</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#303">Changelog</a></p>
<h2>3.0.2</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#302">Changelog</a></p>
<h2>3.0.1</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#301">Changelog</a></p>
<h2>3.0.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's
changelog</a>.</em></p>
<blockquote>
<h1>3.3.1</h1>
<p><a
href="https://github.com/prettier/prettier/compare/3.3.0...3.3.1">diff</a></p>
<h4>Preserve empty lines in front matter (<a
href="https://redirect.github.com/prettier/prettier/pull/16347">#16347</a>
by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="markdown"><code>&lt;!-- Input --&gt;
---
foo:
  - bar1
<ul>
<li>
<p>bar2</p>
</li>
<li>
<p>bar3</p>
</li>
</ul>
<hr />
<p>Markdown</p>
<p>&lt;!-- Prettier 3.3.0 --&gt;</p>
<hr />
<p>foo:</p>
<ul>
<li>bar1</li>
<li>bar2</li>
<li>bar3</li>
</ul>
<hr />
<p>Markdown</p>
<h2>&lt;!-- Prettier 3.3.1 --&gt;</h2>
<p>foo:</p>
<ul>
<li>
<p>bar1</p>
</li>
<li>
<p>bar2</p>
</li>
<li>
<p>bar3</p>
</li>
</ul>
<hr />
<p>Markdown
</code></pre></p>
<h4>Preserve explicit language in front matter (<a
href="https://redirect.github.com/prettier/prettier/pull/16348">#16348</a>
by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="markdown"><code>&lt;!-- Input --&gt;
---yaml
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="92cbd33475"><code>92cbd33</code></a>
Release 3.3.1</li>
<li><a
href="446a86e76f"><code>446a86e</code></a>
Update execa to v9</li>
<li><a
href="efc3d053ac"><code>efc3d05</code></a>
Avoid line breaks in import attributes (<a
href="https://redirect.github.com/prettier/prettier/issues/16349">#16349</a>)</li>
<li><a
href="4a5b26f916"><code>4a5b26f</code></a>
Use <code>while (true)</code> instead of <code>for (;;)</code> (<a
href="https://redirect.github.com/prettier/prettier/issues/16354">#16354</a>)</li>
<li><a
href="1c439735fd"><code>1c43973</code></a>
Only add version to <code>.git-blame-ignore-revs</code> when files
changed (<a
href="https://redirect.github.com/prettier/prettier/issues/16352">#16352</a>)</li>
<li><a
href="ab65eb40cb"><code>ab65eb4</code></a>
chore(deps): update dependency eslint-plugin-react to v7.34.2 (<a
href="https://redirect.github.com/prettier/prettier/issues/16353">#16353</a>)</li>
<li><a
href="86268eb69a"><code>86268eb</code></a>
chore(deps): update eslint related dependencies (major) (<a
href="https://redirect.github.com/prettier/prettier/issues/16208">#16208</a>)</li>
<li><a
href="ddce4fb95c"><code>ddce4fb</code></a>
Move import attribute unquote test to a separate directory (<a
href="https://redirect.github.com/prettier/prettier/issues/16350">#16350</a>)</li>
<li><a
href="450b178d56"><code>450b178</code></a>
Print <code>AtHead</code> node from glimmer via <code>print()</code> (<a
href="https://redirect.github.com/prettier/prettier/issues/16346">#16346</a>)</li>
<li><a
href="b94811f988"><code>b94811f</code></a>
Fix <code>stripTrailingHardline</code> (<a
href="https://redirect.github.com/prettier/prettier/issues/16347">#16347</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/prettier/prettier/compare/2.8.8...3.3.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.8.8&new-version=3.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2024-06-10 09:44:17 -05:00

17 lines
500 B
JavaScript

// @ts-check
/** @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig & {astroAllowShorthand?: boolean, experimentalTernaries?: boolean}} */
export default {
printWidth: 120,
singleQuote: true,
proseWrap: 'always',
importOrder: [
'<BUILT_IN_MODULES>',
'<THIRD_PARTY_MODULES>',
'^(@components|@docs|@src)(.*)$',
'^(?!.*[.]css$)[./].*$',
'.css$',
],
importOrderParserPlugins: ['jsx', 'typescript'],
plugins: ['@ianvs/prettier-plugin-sort-imports'],
};