-
Notifications
You must be signed in to change notification settings - Fork 2
Commit 6017ce7
authored
fix(deps): Update dependency eslint-plugin-prettier to v5.1.2 (#115)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [eslint-plugin-prettier](https://togithub.com/prettier/eslint-plugin-prettier) | devDependencies | minor | [`5.0.1` -> `5.1.2`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/5.0.1/5.1.2) |
---
### Release Notes
<details>
<summary>prettier/eslint-plugin-prettier (eslint-plugin-prettier)</summary>
### [`v5.1.2`](https://togithub.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)
[Compare Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2)
##### Patch Changes
- [#​623](https://togithub.com/prettier/eslint-plugin-prettier/pull/623) [`8210e44`](https://togithub.com/prettier/eslint-plugin-prettier/commit/8210e44309b168c7c06185eae8249b2d0eb65815) Thanks [@​BPScott](https://togithub.com/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](https://togithub.com/prettier/eslint-plugin-prettier/pull/621) [`2b09e7f`](https://togithub.com/prettier/eslint-plugin-prettier/commit/2b09e7fc64f38297c8ca39d087dba1f122ef999c) Thanks [@​JounQin](https://togithub.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively
What means the following is unnecessary anymore when using with `eslint-mdx`/`eslint-plugin-mdx`!
```json5
[
{
files: ['**/*.md'],
rules: { 'prettier/prettier': ['error', { parser: 'markdown' }] },
},
{
files: ['**/*.mdx'],
rules: { 'prettier/prettier': ['error', { parser: 'mdx' }] },
},
]
```
### [`v5.1.1`](https://togithub.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)
[Compare Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v5.1.0...v5.1.1)
##### Patch Changes
- [#​619](https://togithub.com/prettier/eslint-plugin-prettier/pull/619) [`b5c0dc5`](https://togithub.com/prettier/eslint-plugin-prettier/commit/b5c0dc5715616a0f2a0da8b8c077434efc618a3e) Thanks [@​JounQin](https://togithub.com/JounQin)! - chore: skip formatting inline scripts in pug files
### [`v5.1.0`](https://togithub.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)
[Compare Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v5.0.1...v5.1.0)
##### Minor Changes
- [#​616](https://togithub.com/prettier/eslint-plugin-prettier/pull/616) [`3856413`](https://togithub.com/prettier/eslint-plugin-prettier/commit/3856413420d3d026e5ae84f29c4bd0d558697135) Thanks [@​BPScott](https://togithub.com/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`.
```js
// eslint.config.js
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
module.exports = [
// Any other config imports go at the top
eslintPluginPrettierRecommended,
];
```
##### Patch Changes
- [#​614](https://togithub.com/prettier/eslint-plugin-prettier/pull/614) [`5270877`](https://togithub.com/prettier/eslint-plugin-prettier/commit/5270877d169bec05449861c8ad7e6338b0ad47c0) Thanks [@​BPScott](https://togithub.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config
- [#​603](https://togithub.com/prettier/eslint-plugin-prettier/pull/603) [`a63a570`](https://togithub.com/prettier/eslint-plugin-prettier/commit/a63a570f8f3e3d53b90b1cf35e06fd7e3c387a5a) Thanks [@​filiptammergard](https://togithub.com/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`.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMTUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjExNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->1 parent 7e856e5 commit 6017ce7Copy full SHA for 6017ce7
File tree
Expand file treeCollapse file tree
1 file changed
+6
-5
lines changedFilter options
Expand file treeCollapse file tree
1 file changed
+6
-5
lines changed+6-5Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments