chore(deps): update dependency eslint-plugin-prettier to v5
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint-plugin-prettier | devDependencies | major | ^4.2.1 -> ^5.0.0 |
Release Notes
prettier/eslint-plugin-prettier (eslint-plugin-prettier)
v5.2.2
Patch Changes
v5.2.1
Patch Changes
-
#668
ac036cc
Thanks @OrlovAlexei! - build(deps): Bump synckit from 0.8.6 to 0.9.1
v5.1.3
Patch Changes
v5.1.2
Patch Changes
-
#623
8210e44
Thanks @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
2b09e7f
Thanks @JounQin! - feat: support parsingmarkdown
viaeslint-mdx
nativelyWhat 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" }] }, }, ]
v5.1.1
Patch Changes
v5.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 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
5270877
Thanks @BPScott! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config -
#603
a63a570
Thanks @filiptammergard! - fix: specifyeslint-config-prettier
as peer dependencyIt's already added to
peerDependenciesMeta
as optional, which means it should also be specified inpeerDependencies
.
v5.0.1
Patch Changes
-
#588
21a7146
Thanks @krist7599555! - fix:parserPath
type might beundefined
on Eslint Falt Config
v5.0.0
Major Changes
-
#508
910aeb6
Thanks @JounQin! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0" -
#508
910aeb6
Thanks @JounQin! - feat!: upgrade to prettier v3
Minor Changes
Patch Changes
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.