Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flat recommended config #616

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Add flat recommended config #616

merged 2 commits into from
Dec 19, 2023

Conversation

BPScott
Copy link
Member

@BPScott BPScott commented Dec 3, 2023

Fixes #591.
Fixes #592.
Original ideas extracted from #592.

Add flat recommended config file. Unlike the legacy recommended file this only enables the prettier rule and disables arrow-body-style and arrow-body-style. It does not enable anything from eslint-config-prettier.

It is now the responsibility of the consumer to enable both eslint-plugin-prettier and eslint-config-prettier. Configs extending other configs is complicated and not transparent. We should trust the user to configure their configs directly. In a future major change we should remove eslint-config-prettier from the legacy config too, as over lap between the responsibilities of eslint-plugin-prettier and eslint-config-prettier have always been a bit confusing and "a plugin goes and enables configs from other plugins" feels a bit odd. I think it is simpler if we push consumers towards "you configure both eslint-plugin-prettier and eslint-config-prettier in your repo's linting config.

Use it like this:

// eslint.config.js
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
const eslintConfigPrettier = require('eslint-config-prettier');

return [
  eslintPluginPrettierRecommended,
  eslintConfigPrettier,
]

Copy link

changeset-bot bot commented Dec 3, 2023

🦋 Changeset detected

Latest commit: 3f05f8b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-prettier Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@BPScott BPScott changed the title feat: add flat recommended config Add flat recommended config Dec 3, 2023
@BPScott BPScott marked this pull request as ready for review December 4, 2023 02:40
@BPScott BPScott requested a review from JounQin December 4, 2023 02:40
README.md Show resolved Hide resolved
recommended.js Show resolved Hide resolved
@BPScott
Copy link
Member Author

BPScott commented Dec 4, 2023

@JounQin, @filiptammergard I've extracted the ideas from what we discussed in #592, and have rewritten the README to talk about the legacy vs new flat config.

I've dropped talking about "how to configure the plugin without using a config as I feel that just confuses people - the other plugins I've looked at all talk about leveraging configs first and only.

recommended.js is a flat config version of the recommended config.

This diverges from the legacy config version of the recommended config
as it does not automatically configure eslint-config-prettier.

Configs extending other configs is complicated and not transparent. We
should trust the user to configure their configs directly. In a future
major change we should remove eslint-config-prettier from the legacy
config too.
@BPScott
Copy link
Member Author

BPScott commented Dec 19, 2023

@JounQin Thanks for the productive discussion. I've updated this PR so that the flat recommended config continues to extend from eslint-config-prettier. I've rerequested a review.

recommended.js Outdated Show resolved Hide resolved
recommended.js Outdated Show resolved Hide resolved
@JounQin
Copy link
Member

JounQin commented Dec 19, 2023

@BPScott Thanks for accepting my proposal, and your writing is always impressive, I'm learning how to write such clear document from you as always!

Copy link
Member

@JounQin JounQin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing my nitpicking! Great work!

@BPScott BPScott merged commit 3856413 into master Dec 19, 2023
4 checks passed
@BPScott BPScott deleted the flat-config-2 branch December 19, 2023 20:00
@pplancq pplancq mentioned this pull request May 6, 2024
16 tasks
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 15, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


##### [\`v5.2.1\`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1
##### [\`v5.1.3\`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map
##### [\`v5.1.2\`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively
##### [\`v5.1.1\`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files
##### [\`v5.1.0\`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.
##### [\`v5.0.1\`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config
##### [\`v5.0.0\`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 15, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 15, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 16, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 17, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 18, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 19, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 21, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 23, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 24, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 25, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 27, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 27, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 28, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 29, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 30, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 1, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 2, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 3, 2024
| datasource | package                | from  | to    |
| ---------- | ---------------------- | ----- | ----- |
| npm        | eslint-plugin-prettier | 4.2.1 | 5.2.1 |


## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521)

##### Patch Changes

-   [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1


## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513)

##### Patch Changes

-   [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map


## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

##### Patch Changes

-   [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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.

-   [#621](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively


## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

##### Patch Changes

-   [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files


## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)

##### Minor Changes

-   [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`.

    ```js
    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];
    ```

##### Patch Changes

-   [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

-   [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency

    It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.


## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501)

##### Patch Changes

-   [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config


## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500)

##### Major Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3

##### Minor Changes

-   [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support

##### Patch Changes

-   [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit`

-   [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ESLint flat config
2 participants