[Snyk] Upgrade eslint-plugin-prettier from 5.1.0 to 5.1.2
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade eslint-plugin-prettier from 5.1.0 to 5.1.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is 2 versions ahead of your current version.
- The recommended version was released 25 days ago, on 2023-12-24.
Release notes
Package name: eslint-plugin-prettier
-
5.1.2 - 2023-12-24
5.1.2
Patch Changes
-
#623
8210e44Thanks @ BPScott! - Add exports mapping to package.json, to allowimport 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
2b09e7fThanks @ JounQin! - feat: support parsingmarkdownviaeslint-mdxnativelyWhat 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: v5.1.1...v5.1.2
-
-
5.1.1 - 2023-12-21
5.1.1
Patch Changes
-
5.1.0 - 2023-12-19
Minor Changes
-
#616
3856413Thanks @ 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 ofeslint-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
5270877Thanks @ BPScott! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config -
#603
a63a570Thanks @ filiptammergard! - fix: specifyeslint-config-prettieras peer dependencyIt's already added to
peerDependenciesMetaas optional, which means it should also be specified inpeerDependencies.
New Contributors
- @ filiptammergard made their first contribution in #594
Full Changelog: v5.0.1...v5.1.0
-
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🔕 Ignore this dependency or unsubscribe from future upgrade PRs