-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
chore: skip formatting inline scripts in pug files #619
Conversation
🦋 Changeset detectedLatest commit: 41f5a1e 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 |
4fb4839
to
50df316
Compare
Could you add a test, in the same style as the eslint-plugin-svelte test? |
OK, I'll add a test case when I'm free. |
50df316
to
41f5a1e
Compare
@BPScott I just added the test case for pug files, do you want to review again? |
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 adding the test case!
| 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
related: https://github.com/valpackett/eslint-plugin-pug and #617