From 02c21a5e7a9d86d0a156dcc04e28a6efd7343a7b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 13:10:22 +0800 Subject: [PATCH] chore: release eslint-plugin-prettier (#653) Co-authored-by: github-actions[bot] --- .changeset/rich-swans-itch.md | 5 ----- CHANGELOG.md | 16 +++++++++++----- package.json | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) delete mode 100644 .changeset/rich-swans-itch.md diff --git a/.changeset/rich-swans-itch.md b/.changeset/rich-swans-itch.md deleted file mode 100644 index fcc779ec..00000000 --- a/.changeset/rich-swans-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-prettier": minor ---- - -feat: support parsing `html` via `@html-eslint/parser` natively diff --git a/CHANGELOG.md b/CHANGELOG.md index a9da46b4..31a06550 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 5.2.0 + +### Minor Changes + +- [#652](https://github.com/prettier/eslint-plugin-prettier/pull/652) [`f170011`](https://github.com/prettier/eslint-plugin-prettier/commit/f1700110b4c50f43bbda8dba51ce9e22248939fa) Thanks [@Logicer16](https://github.com/Logicer16)! - feat: support parsing `html` via `@html-eslint/parser` natively + ## 5.1.3 ### Patch Changes @@ -21,12 +27,12 @@ ```json5 [ { - files: ['**/*.md'], - rules: { 'prettier/prettier': ['error', { parser: 'markdown' }] }, + files: ["**/*.md"], + rules: { "prettier/prettier": ["error", { parser: "markdown" }] }, }, { - files: ['**/*.mdx'], - rules: { 'prettier/prettier': ['error', { parser: 'mdx' }] }, + files: ["**/*.mdx"], + rules: { "prettier/prettier": ["error", { parser: "mdx" }] }, }, ] ``` @@ -47,7 +53,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 diff --git a/package.json b/package.json index dcae0d74..bb27fba3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-prettier", - "version": "5.1.3", + "version": "5.2.0", "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",