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",