From 183f45c050188809a19c5088832b06ccc5b2e5b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Dec 2023 13:09:39 -0800 Subject: [PATCH] chore: release eslint-plugin-prettier (#604) Co-authored-by: github-actions[bot] --- .changeset/five-tools-matter.md | 5 ----- .changeset/mean-trees-judge.md | 7 ------- .changeset/old-doors-kiss.md | 17 ----------------- CHANGELOG.md | 26 ++++++++++++++++++++++++++ package.json | 2 +- 5 files changed, 27 insertions(+), 30 deletions(-) delete mode 100644 .changeset/five-tools-matter.md delete mode 100644 .changeset/mean-trees-judge.md delete mode 100644 .changeset/old-doors-kiss.md diff --git a/.changeset/five-tools-matter.md b/.changeset/five-tools-matter.md deleted file mode 100644 index 30d92a70..00000000 --- a/.changeset/five-tools-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'eslint-plugin-prettier': patch ---- - -Add meta block to plugin. This improves debugging and cachebusting when using the new flat config diff --git a/.changeset/mean-trees-judge.md b/.changeset/mean-trees-judge.md deleted file mode 100644 index 07e1f0d2..00000000 --- a/.changeset/mean-trees-judge.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'eslint-plugin-prettier': patch ---- - -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`. diff --git a/.changeset/old-doors-kiss.md b/.changeset/old-doors-kiss.md deleted file mode 100644 index a4bb5d0e..00000000 --- a/.changeset/old-doors-kiss.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'eslint-plugin-prettier': minor ---- - -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, -]; -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index c456d5da..7a6bf414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## 5.1.0 + +### Minor Changes + +- [#616](https://github.com/prettier/eslint-plugin-prettier/pull/616) [`3856413`](https://github.com/prettier/eslint-plugin-prettier/commit/3856413420d3d026e5ae84f29c4bd0d558697135) 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](https://github.com/prettier/eslint-plugin-prettier/pull/614) [`5270877`](https://github.com/prettier/eslint-plugin-prettier/commit/5270877d169bec05449861c8ad7e6338b0ad47c0) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config + +- [#603](https://github.com/prettier/eslint-plugin-prettier/pull/603) [`a63a570`](https://github.com/prettier/eslint-plugin-prettier/commit/a63a570f8f3e3d53b90b1cf35e06fd7e3c387a5a) 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`. + ## 5.0.1 ### Patch Changes diff --git a/package.json b/package.json index ec1b5ac8..d2a5a573 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-prettier", - "version": "5.0.1", + "version": "5.1.0", "description": "Runs prettier as an eslint rule", "repository": "git+https://github.com/prettier/eslint-plugin-prettier.git", "homepage": "https://github.com/prettier/eslint-plugin-prettier#readme",