Socket
Socket
Sign inDemoInstall

eslint-plugin-prettier

Package Overview
Dependencies
97
Maintainers
6
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

5.1.3

Diff

Changelog

Source

5.1.3

Patch Changes

jounqin
published 5.1.2 •

Changelog

Source

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" }] },
      },
    ]
    
jounqin
published 5.1.1 •

Changelog

Source

5.1.1

Patch Changes

bpscott
published 5.1.0 •

Changelog

Source

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.

jounqin
published 5.0.1 •

Changelog

Source

5.0.1

Patch Changes

jounqin
published 5.0.0 •

Changelog

Source

5.0.0

Major Changes

Minor Changes

Patch Changes

jounqin
published 5.0.0-alpha.2 •

jounqin
published 5.0.0-alpha.1 •

jounqin
published 5.0.0-alpha.0 •

jounqin
published 4.2.1 •

Changelog

Source

4.2.1

Patch Changes

234Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc