Skip to content

Bump eslint-plugin-prettier from 5.0.1 to 5.1.0

Bumps eslint-plugin-prettier from 5.0.1 to 5.1.0.

Release notes

Sourced from eslint-plugin-prettier's releases.

v.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: https://github.com/prettier/eslint-plugin-prettier/compare/v5.0.1...v5.1.0

Changelog

Sourced from eslint-plugin-prettier's changelog.

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.

Commits
  • 183f45c chore: release eslint-plugin-prettier (#604)
  • 3856413 Add flat recommended config (#616)
  • 78c8b80 Use flat config for the project's eslint configuration (#615)
  • 5270877 feat: add meta block to config (#614)
  • 79765cc build(deps-dev): Bump the dev-dependencies group with 8 updates (#611)
  • 1882a36 build(deps-dev): Bump @​babel/traverse from 7.22.8 to 7.23.2 (#593)
  • f18bf8e build(deps): Bump the actions group with 1 update (#608)
  • 2ed98fa chore: group dependabot updates
  • a63a570 fix: specify eslint-config-prettier as peer dependency (#603)
  • df71356 chore: bump @​types/eslint (#602)
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading