From d102278c850227d3370c5169caeed5ab9cd8b2b8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 24 Dec 2023 13:23:21 +0800 Subject: [PATCH] chore: release eslint-plugin-prettier (#624) Co-authored-by: github-actions[bot] --- .changeset/slimy-boats-fold.md | 7 ------- .changeset/warm-cougars-attack.md | 5 ----- CHANGELOG.md | 12 +++++++++++- package.json | 2 +- 4 files changed, 12 insertions(+), 14 deletions(-) delete mode 100644 .changeset/slimy-boats-fold.md delete mode 100644 .changeset/warm-cougars-attack.md diff --git a/.changeset/slimy-boats-fold.md b/.changeset/slimy-boats-fold.md deleted file mode 100644 index cbf5752b..00000000 --- a/.changeset/slimy-boats-fold.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"eslint-plugin-prettier": patch ---- - -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. diff --git a/.changeset/warm-cougars-attack.md b/.changeset/warm-cougars-attack.md deleted file mode 100644 index 2324f3e2..00000000 --- a/.changeset/warm-cougars-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-prettier": patch ---- - -feat: support parsing `markdown` via `eslint-mdx` natively diff --git a/CHANGELOG.md b/CHANGELOG.md index 0595afa2..6f14d0ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 5.1.2 + +### Patch Changes + +- [#623](https://github.com/prettier/eslint-plugin-prettier/pull/623) [`8210e44`](https://github.com/prettier/eslint-plugin-prettier/commit/8210e44309b168c7c06185eae8249b2d0eb65815) 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](https://github.com/prettier/eslint-plugin-prettier/pull/621) [`2b09e7f`](https://github.com/prettier/eslint-plugin-prettier/commit/2b09e7fc64f38297c8ca39d087dba1f122ef999c) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively + ## 5.1.1 ### Patch Changes @@ -16,7 +26,7 @@ ```js // eslint.config.js - const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended'); + const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended"); module.exports = [ // Any other config imports go at the top diff --git a/package.json b/package.json index 71e3620c..7f9cea30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-prettier", - "version": "5.1.1", + "version": "5.1.2", "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",