#6238210e44 Thanks @BPScott! - Add exports mapping to package.json, to allow import eslintPluginRecommended from 'eslint-plugin-prettier/recommended' to work as expected.
Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.
#6212b09e7f Thanks @JounQin! - feat: support parsing markdown via eslint-mdx natively
What means the following is unnecessary anymore when using with eslint-mdx/eslint-plugin-mdx!
#6238210e44 Thanks @BPScott! - Add exports mapping to package.json, to allow import eslintPluginRecommended from 'eslint-plugin-prettier/recommended' to work as expected.
Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.
#6212b09e7f Thanks @JounQin! - feat: support parsing markdown via eslint-mdx natively
What means the following is unnecessary anymore when using with eslint-mdx/eslint-plugin-mdx!
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.1.1 to 5.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/prettier/eslint-plugin-prettier/releases">eslint-plugin-prettier's releases</a>.</em></p>
<blockquote>
<h2>v5.1.2</h2>
<h2>5.1.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github.com/prettier/eslint-plugin-prettier/pull/623">#623</a> <a href="https://github.com/prettier/eslint-plugin-prettier/commit/8210e44309b168c7c06185eae8249b2d0eb65815"><code>8210e44</code></a> Thanks <a href="https://github.com/BPScott"><code>@BPScott</code></a>! - Add exports mapping to package.json, to allow <code>import eslintPluginRecommended from 'eslint-plugin-prettier/recommended'</code> to work as expected.</p>
<p>Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.</p>
</li>
<li>
<p><a href="https://github.com/prettier/eslint-plugin-prettier/pull/621">#621</a> <a href="https://github.com/prettier/eslint-plugin-prettier/commit/2b09e7fc64f38297c8ca39d087dba1f122ef999c"><code>2b09e7f</code></a> Thanks <a href="https://github.com/JounQin"><code>@JounQin</code></a>! - feat: support parsing <code>markdown</code> via <code>eslint-mdx</code> natively</p>
<p>What means the following is unnecessary anymore when using with <code>eslint-mdx</code>/<code>eslint-plugin-mdx</code>!</p>
<pre lang="json5"><code>[
{
files: ["**/*.md"],
rules: { "prettier/prettier": ["error", { parser: "markdown" }] },
},
{
files: ["**/*.mdx"],
rules: { "prettier/prettier": ["error", { parser: "mdx" }] },
},
]
</code></pre>
</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2">https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md">eslint-plugin-prettier's changelog</a>.</em></p>
<blockquote>
<h2>5.1.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github.com/prettier/eslint-plugin-prettier/pull/623">#623</a> <a href="https://github.com/prettier/eslint-plugin-prettier/commit/8210e44309b168c7c06185eae8249b2d0eb65815"><code>8210e44</code></a> Thanks <a href="https://github.com/BPScott"><code>@BPScott</code></a>! - Add exports mapping to package.json, to allow <code>import eslintPluginRecommended from 'eslint-plugin-prettier/recommended'</code> to work as expected.</p>
<p>Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.</p>
</li>
<li>
<p><a href="https://github.com/prettier/eslint-plugin-prettier/pull/621">#621</a> <a href="https://github.com/prettier/eslint-plugin-prettier/commit/2b09e7fc64f38297c8ca39d087dba1f122ef999c"><code>2b09e7f</code></a> Thanks <a href="https://github.com/JounQin"><code>@JounQin</code></a>! - feat: support parsing <code>markdown</code> via <code>eslint-mdx</code> natively</p>
<p>What means the following is unnecessary anymore when using with <code>eslint-mdx</code>/<code>eslint-plugin-mdx</code>!</p>
<pre lang="json5"><code>[
{
files: ['**/*.md'],
rules: { 'prettier/prettier': ['error', { parser: 'markdown' }] },
},
{
files: ['**/*.mdx'],
rules: { 'prettier/prettier': ['error', { parser: 'mdx' }] },
},
]
</code></pre>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/prettier/eslint-plugin-prettier/commit/d102278c850227d3370c5169caeed5ab9cd8b2b8"><code>d102278</code></a> chore: release eslint-plugin-prettier (<a href="https://github.com/prettier/eslint-plugin-prettier/issues/624">#624</a>)</li>
<li><a href="https://github.com/prettier/eslint-plugin-prettier/commit/b02fe90fdff8e7488297c0c4660d2bbe4ceeacfd"><code>b02fe90</code></a> chore: bump all upgradable (dev)Dependencies (<a href="https://github.com/prettier/eslint-plugin-prettier/issues/625">#625</a>)</li>
<li><a href="https://github.com/prettier/eslint-plugin-prettier/commit/2b09e7fc64f38297c8ca39d087dba1f122ef999c"><code>2b09e7f</code></a> feat: support parsing <code>markdown</code> via <code>eslint-mdx</code> natively (<a href="https://github.com/prettier/eslint-plugin-prettier/issues/621">#621</a>)</li>
<li><a href="https://github.com/prettier/eslint-plugin-prettier/commit/5f762df82d9e9ea56b5e3a09a10b448c052298a7"><code>5f762df</code></a> docs: change open collective funding info (<a href="https://github.com/prettier/eslint-plugin-prettier/issues/626">#626</a>)</li>
<li><a href="https://github.com/prettier/eslint-plugin-prettier/commit/8210e44309b168c7c06185eae8249b2d0eb65815"><code>8210e44</code></a> fix: add package.json exports field (<a href="https://github.com/prettier/eslint-plugin-prettier/issues/623">#623</a>)</li>
<li>See full diff in <a href="https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
argoyle
(Migrated from gitlab.com)
merged commit into master2023-12-25 12:50:37 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps eslint-plugin-prettier from 5.1.1 to 5.1.2.
Release notes
Sourced from eslint-plugin-prettier's releases.
Changelog
Sourced from eslint-plugin-prettier's changelog.
Commits
d102278chore: release eslint-plugin-prettier (#624)b02fe90chore: bump all upgradable (dev)Dependencies (#625)2b09e7ffeat: support parsingmarkdownviaeslint-mdxnatively (#621)5f762dfdocs: change open collective funding info (#626)8210e44fix: add package.json exports field (#623)Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts