From f12309bbca9fb051b53fcece9a8491a1222235c8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 7 Mar 2025 17:50:41 +0800 Subject: [PATCH] chore: release eslint-config-prettier (#310) Co-authored-by: github-actions[bot] --- .changeset/angry-kangaroos-sleep.md | 17 ----------------- CHANGELOG.md | 18 ++++++++++++++++++ package.json | 2 +- 3 files changed, 19 insertions(+), 18 deletions(-) delete mode 100644 .changeset/angry-kangaroos-sleep.md diff --git a/.changeset/angry-kangaroos-sleep.md b/.changeset/angry-kangaroos-sleep.md deleted file mode 100644 index 4fef474..0000000 --- a/.changeset/angry-kangaroos-sleep.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"eslint-config-prettier": patch ---- - -fix: separate the `/flat` entry for compatibility - -For flat config users, the previous `"eslint-config-prettier"` entry still works, but `"eslint-config-prettier/flat"` adds a new `name` property for [config-inspector](https://eslint.org/blog/2024/04/eslint-config-inspector/), we just can't add it for the default entry for compatibility. - -See also - -```ts -// before -import eslintConfigPrettier from "eslint-config-prettier"; - -// after -import eslintConfigPrettier from "eslint-config-prettier/flat"; -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c5b929..78b60d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # eslint-config-prettier +## 10.1.1 + +### Patch Changes + +- [#309](https://github.com/prettier/eslint-config-prettier/pull/309) [`eb56a5e`](https://github.com/prettier/eslint-config-prettier/commit/eb56a5e09964e49045bccde3c616275eb0a0902d) Thanks [@JounQin](https://github.com/JounQin)! - fix: separate the `/flat` entry for compatibility + + For flat config users, the previous `"eslint-config-prettier"` entry still works, but `"eslint-config-prettier/flat"` adds a new `name` property for [config-inspector](https://eslint.org/blog/2024/04/eslint-config-inspector/), we just can't add it for the default entry for compatibility. + + See also + + ```ts + // before + import eslintConfigPrettier from "eslint-config-prettier"; + + // after + import eslintConfigPrettier from "eslint-config-prettier/flat"; + ``` + ## 10.1.0 ### Minor Changes diff --git a/package.json b/package.json index c0a6449..d41b08a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-prettier", - "version": "10.1.0", + "version": "10.1.1", "type": "commonjs", "description": "Turns off all rules that are unnecessary or might conflict with Prettier.", "repository": "prettier/eslint-config-prettier",