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
consteslintPluginPrettierRecommended=require('eslint-plugin-prettier/recommended');module.exports=[// Any other config imports go at the top
eslintPluginPrettierRecommended,];
Patch Changes
#6145270877 Thanks @BPScott! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | dependencies | minor | [`^6.14.0` -> `^6.15.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.14.0/6.15.0) |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | dependencies | minor | [`^6.14.0` -> `^6.15.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.14.0/6.15.0) |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | dependencies | minor | [`^5.0.1` -> `^5.1.1`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/5.0.1/5.1.1) |
---
### Release Notes
<details>
<summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary>
### [`v6.15.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6150-2023-12-18)
[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.14.0...v6.15.0)
##### Features
- **eslint-plugin:** \[no-useless-template-literals] add new rule ([#​7957](https://github.com/typescript-eslint/typescript-eslint/issues/7957)) ([ff75785](https://github.com/typescript-eslint/typescript-eslint/commit/ff75785f4c6cc41999f8ce946bfca469d6e40e50)), closes [#​2846](https://github.com/typescript-eslint/typescript-eslint/issues/2846)
- require-array-sort-compare + toSorted ([#​8052](https://github.com/typescript-eslint/typescript-eslint/issues/8052)) ([c9661c8](https://github.com/typescript-eslint/typescript-eslint/commit/c9661c8bbf048e9fa3ef55985e1e2e82bc098b1a))
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
</details>
<details>
<summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary>
### [`v6.15.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6150-2023-12-18)
[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.14.0...v6.15.0)
**Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser)
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
</details>
<details>
<summary>prettier/eslint-plugin-prettier (eslint-plugin-prettier)</summary>
### [`v5.1.1`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)
[Compare Source](https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.0...v5.1.1)
##### Patch Changes
- [#​619](https://github.com/prettier/eslint-plugin-prettier/pull/619) [`b5c0dc5`](https://github.com/prettier/eslint-plugin-prettier/commit/b5c0dc5715616a0f2a0da8b8c077434efc618a3e) Thanks [@​JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files
### [`v5.1.0`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510)
[Compare Source](https://github.com/prettier/eslint-plugin-prettier/compare/v5.0.1...v5.1.0)
##### Minor Changes
- [#​616](https://github.com/prettier/eslint-plugin-prettier/pull/616) [`3856413`](https://github.com/prettier/eslint-plugin-prettier/commit/3856413420d3d026e5ae84f29c4bd0d558697135) Thanks [@​BPScott](https://github.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://github.com/prettier/eslint-plugin-prettier/pull/614) [`5270877`](https://github.com/prettier/eslint-plugin-prettier/commit/5270877d169bec05449861c8ad7e6338b0ad47c0) Thanks [@​BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config
- [#​603](https://github.com/prettier/eslint-plugin-prettier/pull/603) [`a63a570`](https://github.com/prettier/eslint-plugin-prettier/commit/a63a570f8f3e3d53b90b1cf35e06fd7e3c387a5a) Thanks [@​filiptammergard](https://github.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 - At any time (no schedule defined), 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.
? **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44OS41IiwidXBkYXRlZEluVmVyIjoiMzcuODkuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
^6.14.0->^6.15.0^6.14.0->^6.15.0^5.0.1->^5.1.1Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.15.0Compare Source
Features
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v6.15.0Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
prettier/eslint-plugin-prettier (eslint-plugin-prettier)
v5.1.1Compare Source
Patch Changes
b5c0dc5Thanks @JounQin! - chore: skip formatting inline scripts in pug filesv5.1.0Compare Source
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.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.Configuration
? Schedule: Branch creation - At any time (no schedule defined), 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.
? Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.