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

chore(deps): update dependency eslint-plugin-prettier to v5 #413

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

tradeshift-renovate[bot]
Copy link

This PR contains the following updates:

Package Type Update Change
eslint-plugin-prettier devDependencies major ^4.2.1 -> ^5.0.0

Release Notes

prettier/eslint-plugin-prettier (eslint-plugin-prettier)

v5.1.3

Compare Source

Patch Changes

v5.1.2

Compare Source

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' }] },
      },
    ]

v5.1.1

Compare Source

Patch Changes

v5.1.0

Compare Source

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.

v5.0.1

Compare Source

Patch Changes

v5.0.0

Compare Source

Major Changes
Minor Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@tradeshift-renovate tradeshift-renovate bot added dependencies Pull requests that update a dependency file dev labels Jan 18, 2024
@tradeshift-renovate tradeshift-renovate bot enabled auto-merge (squash) January 18, 2024 12:32
@tradeshift-renovate tradeshift-renovate bot force-pushed the renovate/eslint-plugin-prettier-5.x branch 4 times, most recently from c8f92eb to de41adb Compare January 18, 2024 16:19
@tradeshift-renovate tradeshift-renovate bot force-pushed the renovate/eslint-plugin-prettier-5.x branch from de41adb to 668acaa Compare January 18, 2024 16:54
@tradeshift-renovate tradeshift-renovate bot merged commit 3df0d8d into master Jan 18, 2024
6 checks passed
@tradeshift-renovate tradeshift-renovate bot deleted the renovate/eslint-plugin-prettier-5.x branch January 18, 2024 17:13
Tsuesun pushed a commit that referenced this pull request Apr 11, 2024
Co-authored-by: tradeshift-renovate[bot] <121954292+tradeshift-renovate[bot]@users.noreply.github.com>
Tsuesun pushed a commit that referenced this pull request Apr 11, 2024
Co-authored-by: tradeshift-renovate[bot] <121954292+tradeshift-renovate[bot]@users.noreply.github.com>
Tsuesun pushed a commit that referenced this pull request Apr 11, 2024
Co-authored-by: tradeshift-renovate[bot] <121954292+tradeshift-renovate[bot]@users.noreply.github.com>
Tsuesun pushed a commit that referenced this pull request Apr 11, 2024
Co-authored-by: tradeshift-renovate[bot] <121954292+tradeshift-renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file dev
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant