Skip to content

Commit f12309b

Browse files
chore: release eslint-config-prettier (#310)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 79cf679 commit f12309b

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

.changeset/angry-kangaroos-sleep.md

-17
This file was deleted.

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# eslint-config-prettier
22

3+
## 10.1.1
4+
5+
### Patch Changes
6+
7+
- [#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
8+
9+
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.
10+
11+
See also <https://github.com/prettier/eslint-config-prettier/issues/308>
12+
13+
```ts
14+
// before
15+
import eslintConfigPrettier from "eslint-config-prettier";
16+
17+
// after
18+
import eslintConfigPrettier from "eslint-config-prettier/flat";
19+
```
20+
321
## 10.1.0
422

523
### Minor Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-prettier",
3-
"version": "10.1.0",
3+
"version": "10.1.1",
44
"type": "commonjs",
55
"description": "Turns off all rules that are unnecessary or might conflict with Prettier.",
66
"repository": "prettier/eslint-config-prettier",

0 commit comments

Comments
 (0)