Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/slimy-boats-fold.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/warm-cougars-attack.md

This file was deleted.

12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down