-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Conversation
🦋 Changeset detectedLatest commit: 3f05f8b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
9f7810b
to
a52e920
Compare
@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.
a52e920
to
48ae3d3
Compare
51b7c88
to
2af9a1a
Compare
@JounQin Thanks for the productive discussion. I've updated this PR so that the flat recommended config continues to extend from |
@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! |
2af9a1a
to
3f05f8b
Compare
There was a problem hiding this 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!
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
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
andarrow-body-style
. It does not enable anything fromeslint-config-prettier
.It is now the responsibility of the consumer to enable both
eslint-plugin-prettier
andeslint-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 removeeslint-config-prettier
from the legacy config too, as over lap between the responsibilities ofeslint-plugin-prettier
andeslint-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: