Eslint Plugin Prettier Versions Save

ESLint plugin for Prettier formatting

v5.1.3

3 months ago

Patch Changes

  • #629 985b33c Thanks @JounQin! - chore: add package.json into exports map

Full Changelog: https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.2...v5.1.3

v5.1.2

4 months ago

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

4 months ago

5.1.1

Patch Changes

  • #619 b5c0dc5 Thanks @JounQin! - chore: skip formatting inline scripts in pug files

v5.1.0

4 months ago

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

v5.0.1

6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/prettier/eslint-plugin-prettier/compare/v5.0.0...v5.0.1

v5.0.0

9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/prettier/eslint-plugin-prettier/compare/v4.2.1...v5.0.0

v5.0.0-alpha.0

1 year ago
  • drop Node v12 - #488
  • drop ESLint v7 - #488
  • improve jsdoc inside, generate .d.ts typings - #509
  • docs: improve why usePrettierrc option is needed
  • upgrade to prettier v3

v4.2.1

1 year ago

4.2.1

Patch Changes

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

v4.2.0

1 year ago

4.2.0

Minor Changes

v4.1.0

1 year ago

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)