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 4.2.1 → 5.2.1 (major) #221

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jul 24, 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 (4.2.1 → 5.2.1) · Repo · Changelog

Release Notes

5.2.1

Patch Changes

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

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

Commits

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

🆕 @​pkgr/core (added, 0.1.1)

🆕 synckit (added, 0.9.1)

🗑️ @​types/prop-types (removed)

🗑️ @​types/react (removed)

🗑️ @​types/react-dom (removed)

🗑️ csstype (removed)


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)

@depfu depfu bot requested a review from a team as a code owner July 24, 2024 13:55
@depfu depfu bot added the depfu label Jul 24, 2024
@depfu depfu bot force-pushed the depfu/update/develop/npm/eslint-plugin-prettier-5.2.1 branch from fe2923d to ce137e9 Compare September 11, 2024 14:20
@depfu depfu bot force-pushed the depfu/update/develop/npm/eslint-plugin-prettier-5.2.1 branch from ce137e9 to 9a1f86c Compare September 17, 2024 17:05
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