Skip to content

Commit d102278

Browse files
chore: release eslint-plugin-prettier (#624)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b02fe90 commit d102278

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

.changeset/slimy-boats-fold.md

-7
This file was deleted.

.changeset/warm-cougars-attack.md

-5
This file was deleted.

CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 5.1.2
4+
5+
### Patch Changes
6+
7+
- [#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.
8+
9+
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.
10+
11+
- [#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
12+
313
## 5.1.1
414

515
### Patch Changes
@@ -16,7 +26,7 @@
1626

1727
```js
1828
// eslint.config.js
19-
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
29+
const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended");
2030

2131
module.exports = [
2232
// Any other config imports go at the top

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-prettier",
3-
"version": "5.1.1",
3+
"version": "5.1.2",
44
"description": "Runs prettier as an eslint rule",
55
"repository": "git+https://github.com/prettier/eslint-plugin-prettier.git",
66
"homepage": "https://github.com/prettier/eslint-plugin-prettier#readme",

0 commit comments

Comments
 (0)