Skip to content

Bump eslint-plugin-prettier from 5.0.1 to 5.1.2 in /ui

Bumps eslint-plugin-prettier from 5.0.1 to 5.1.2.

Release notes

Sourced from eslint-plugin-prettier's releases.

v5.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: https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2

v5.1.1

5.1.1

Patch Changes

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,
    ];

... (truncated)

Changelog

Sourced from eslint-plugin-prettier's changelog.

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

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

... (truncated)

Commits
  • d102278 chore: release eslint-plugin-prettier (#624)
  • b02fe90 chore: bump all upgradable (dev)Dependencies (#625)
  • 2b09e7f feat: support parsing markdown via eslint-mdx natively (#621)
  • 5f762df docs: change open collective funding info (#626)
  • 8210e44 fix: add package.json exports field (#623)
  • 5a51733 chore: release eslint-plugin-prettier (#620)
  • b5c0dc5 chore: skip formatting inline scripts in pug files (#619)
  • 183f45c chore: release eslint-plugin-prettier (#604)
  • 3856413 Add flat recommended config (#616)
  • 78c8b80 Use flat config for the project's eslint configuration (#615)
  • Additional commits viewable in compare view

Merge request reports