build: update dependency eslint-plugin-prettier to v5.1.2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint-plugin-prettier | devDependencies | patch | 5.1.1 -> 5.1.2 |
Release Notes
prettier/eslint-plugin-prettier (eslint-plugin-prettier)
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' }] }, }, ]
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.