Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eslint-plugin-prettier 3.4.0 → 5.1.3 (major) #131

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented Jan 11, 2024

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ eslint-plugin-prettier (3.4.0 → 5.1.3) · Repo · Changelog

Release Notes

5.1.3

Patch Changes

Full Changelog: v5.1.2...v5.1.3

5.1.2

5.1.2

Patch Changes

  • #623 8210e44 Thanks @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 2b09e7f Thanks @JounQin! - feat: support parsing markdown via eslint-mdx natively

    What means the following is unnecessary anymore when using with eslint-mdx/eslint-plugin-mdx!

    [
      {
        files: ["**/*.md"],
        rules: { "prettier/prettier": ["error", { parser: "markdown" }] },
      },
      {
        files: ["**/*.mdx"],
        rules: { "prettier/prettier": ["error", { parser: "mdx" }] },
      },
    ]

Full Changelog: v5.1.1...v5.1.2

5.1.1

5.1.1

Patch Changes

5.1.0

Minor Changes

  • #616 3856413 Thanks @BPScott! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from eslint-plugin-prettier/recommended. Like the legacy format recommended config, this automatically includes the contents of eslint-config-prettier.

    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
    

    module.exports = [
    // Any other config imports go at the top
    eslintPluginPrettierRecommended,
    ];

Patch Changes

  • #614 5270877 Thanks @BPScott! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

  • #603 a63a570 Thanks @filiptammergard! - fix: specify eslint-config-prettier as peer dependency

    It's already added to peerDependenciesMeta as optional, which means it should also be specified in peerDependencies.

New Contributors

Full Changelog: v5.0.1...v5.1.0

5.0.1

What's Changed

  • fix: parserPath type might be undefined on Eslint Flat Config by @krist7599555 in #588

New Contributors

Full Changelog: v5.0.0...v5.0.1

5.0.0

What's Changed

  • feat!: bump eslint, node and prettier versions, add types support by @JounQin in #508
  • fix: add missing dependency synckit by @fisker in #548
  • fix: compatibility with prettier@3 without plugins by @auvred in #564

New Contributors

Full Changelog: v4.2.1...v5.0.0

4.2.1

4.2.1

Patch Changes

  • #485 5736ed5 Thanks @JounQin! - chore: reuse prettierRcOptions instead of resolveConfig again

4.2.0

4.2.0

Minor Changes

4.1.0

v4.1.0 (2022-06-27)

  • feat: skip processing code blocks on specific languages like stylelint-prettier (#415) (52eec48)
  • build(deps): Bump minimist from 1.2.5 to 1.2.6 (#464) (42bfe88)
  • build(deps-dev): Bump graphql from 15.5.1 to 15.7.2 (#442) (0158640)
  • build(deps-dev): Bump @graphql-eslint/eslint-plugin from 2.3.0 to 2.4.0 (#444) (4bcaca2)
  • chore(CI): add tests for ESLint 8 (#428) (f3713be)
  • README.md: HTTP => HTTPS (#443) (44e1478)

4.0.0 (from changelog)

This breaking change drops support for old versions of ESLint, Prettier and Node. You must use at least ESLint v7.28.0, Prettier v2.0.0 and Node v12.0.0. Aside from that, usage of this plugin remains identical.

  • v4 - Drop support for eslint 5/6, prettier 1, node 6/8 (#429) (acb56f3)

3.4.1 (from changelog)

  • build(deps): Bump glob-parent from 5.0.0 to 5.1.2 (#420) (b6d075c)
  • build(deps): Bump path-parse from 1.0.6 to 1.0.7 (#425) (24f957e)
  • feat: support @graphql-eslint/eslint-plugin out of box (#413) (ec6fbb1)
  • chore: add tests for Node 16 (#410) (76bd45e)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 6 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

This change is Reviewable

Copy link
Author

depfu bot commented Jul 18, 2024

Closed in favor of #136.

@depfu depfu bot closed this Jul 18, 2024
@depfu depfu bot deleted the depfu/update/npm/eslint-plugin-prettier-5.1.3 branch July 18, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants