For flat config users, the previous "eslint-config-prettier" entry still works, but "eslint-config-prettier/flat" adds a new name property for config-inspector, we just can't add it for the default entry for compatibility.
Added: [unicorn/template-indent], (as a [special rule][unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu (@gurgunday)!
Changed: All the [formatting rules that were deprecated in ESLint 8.53.0][deprecated-8.53.0] are now excluded if you set the ESLINT_CONFIG_PRETTIER_NO_DEPRECATED environment variable.
Added: The CLI helper tool now works with eslint.config.js (flat config). Just like ESLint itself, the CLI tool automatically first tries eslint.config.js and then eslintrc, and you can force which one to use by setting the [ESLINT_USE_FLAT_CONFIG] environment variable. Note that the config of eslint-config-prettier has always been compatible with eslint.config.js (flat config) – it was just the CLI tool that needed updating. On top of that, the docs have been updated to mention how to use both eslint.config.js (flat config) and eslintrc, and the tests now test both config systems.
Changed: [unicode-bom] is no longer turned off. Prettier preserves the BOM if you have one, and does not add one if missing. It was wrong of eslint-config-prettier to disable that rule. If you get ESLint errors after upgrading, either add "unicode-bom": "off" to your config to disable it again, or run ESLint with --fix to fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (@nstepien)!
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) | devDependencies | major | [`^8.5.0` -> `^10.0.0`](https://renovatebot.com/diffs/npm/eslint-config-prettier/8.5.0/10.1.8) |
---
### Release Notes
<details>
<summary>prettier/eslint-config-prettier (eslint-config-prettier)</summary>
### [`v10.1.8`](https://github.com/prettier/eslint-config-prettier/releases/tag/v10.1.8)
republish latest version
**Full Changelog**: https://github.com/prettier/eslint-config-prettier/compare/v10.1.5...v10.1.8
### [`v10.1.5`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1015)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.1.4...v10.1.5)
##### Patch Changes
- [#​332](https://github.com/prettier/eslint-config-prettier/pull/332) [`60fef02`](https://github.com/prettier/eslint-config-prettier/commit/60fef02574467d31d10ff47ecb567d378483c9d4) Thanks [@​JounQin](https://github.com/JounQin)! - chore: add `funding` field into `package.json`
### [`v10.1.4`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1014)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.1.3...v10.1.4)
##### Patch Changes
- [#​328](https://github.com/prettier/eslint-config-prettier/pull/328) [`94b4799`](https://github.com/prettier/eslint-config-prettier/commit/94b47999e7eb13b703835729331376cef598b850) Thanks [@​silvenon](https://github.com/silvenon)! - fix(cli): do not crash on no rules configured
### [`v10.1.3`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1013)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.1.2...v10.1.3)
##### Patch Changes
- [#​325](https://github.com/prettier/eslint-config-prettier/pull/325) [`4e95a1d`](https://github.com/prettier/eslint-config-prettier/commit/4e95a1d50073f1a24f004239ad6e1a4ffa8476df) Thanks [@​pilikan](https://github.com/pilikan)! - fix: this package is `commonjs`, align its types correctly
### [`v10.1.2`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1012)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.1.1...v10.1.2)
##### Patch Changes
- [#​321](https://github.com/prettier/eslint-config-prettier/pull/321) [`a8768bf`](https://github.com/prettier/eslint-config-prettier/commit/a8768bfe54a91d08f0cef8705f91de2883436bb0) Thanks [@​Fdawgs](https://github.com/Fdawgs)! - chore(package): add homepage for some 3rd-party registry - see [#​321](https://github.com/prettier/eslint-config-prettier/pull/321) for more details
### [`v10.1.1`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1011)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.1.0...v10.1.1)
##### Patch Changes
- [#​309](https://github.com/prettier/eslint-config-prettier/pull/309) [`eb56a5e`](https://github.com/prettier/eslint-config-prettier/commit/eb56a5e09964e49045bccde3c616275eb0a0902d) Thanks [@​JounQin](https://github.com/JounQin)! - fix: separate the `/flat` entry for compatibility
For flat config users, the previous `"eslint-config-prettier"` entry still works, but `"eslint-config-prettier/flat"` adds a new `name` property for [config-inspector](https://eslint.org/blog/2024/04/eslint-config-inspector/), we just can't add it for the default entry for compatibility.
See also [#​308](https://github.com/prettier/eslint-config-prettier/issues/308)
```ts
// before
import eslintConfigPrettier from "eslint-config-prettier";
// after
import eslintConfigPrettier from "eslint-config-prettier/flat";
```
### [`v10.1.0`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1010)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.0.3...v10.1.0)
##### Minor Changes
- [#​306](https://github.com/prettier/eslint-config-prettier/pull/306) [`56e2e34`](https://github.com/prettier/eslint-config-prettier/commit/56e2e3466391d0fdfc200e42130309c687aaab53) Thanks [@​JounQin](https://github.com/JounQin)! - feat: migrate to exports field
### [`v10.0.3`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1003)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.0.2...v10.0.3)
##### Patch Changes
- [#​294](https://github.com/prettier/eslint-config-prettier/pull/294) [`8dbbd6d`](https://github.com/prettier/eslint-config-prettier/commit/8dbbd6d70b8a56cdfa4ea4e185d3699d5729b38e) Thanks [@​FloEdelmann](https://github.com/FloEdelmann)! - feat: add name to config
- [#​280](https://github.com/prettier/eslint-config-prettier/pull/280) [`cba5737`](https://github.com/prettier/eslint-config-prettier/commit/cba57377e4c86d20d17042d6999eabc754fddc03) Thanks [@​zanminkian](https://github.com/zanminkian)! - feat: add declaration file
### [`v10.0.2`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1002)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.0.1...v10.0.2)
##### Patch Changes
- [#​299](https://github.com/prettier/eslint-config-prettier/pull/299) [`e750edc`](https://github.com/prettier/eslint-config-prettier/commit/e750edc530c816e0b3ffabfab1f4e46532bccbfe) Thanks [@​Fdawgs](https://github.com/Fdawgs)! - chore(package): explicitly declare js module type
### [`v10.0.1`](https://github.com/prettier/eslint-config-prettier/releases/tag/v10.0.1)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.0.0...v10.0.1)
### eslint-config-prettier
#### 10.0.1
#### What's Changed
- chore: migrate to changeset for automatically releasing by [@​JounQin](https://github.com/JounQin) in https://github.com/prettier/eslint-config-prettier/pull/278
- add support for `@stylistic/eslint-plugin` by [@​abrahamguo](https://github.com/abrahamguo) in https://github.com/prettier/eslint-config-prettier/pull/272
#### New Contributors
- [@​JounQin](https://github.com/JounQin) made their first contribution in https://github.com/prettier/eslint-config-prettier/pull/278
- [@​abrahamguo](https://github.com/abrahamguo) made their first contribution in https://github.com/prettier/eslint-config-prettier/pull/272
**Full Changelog**: https://github.com/prettier/eslint-config-prettier/compare/v9.1.0...v10.0.1
### [`v10.0.0`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1000)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/62a15bbfc953d798da2cc8a46e78897da0beac22...v10.0.0)
##### Major Changes
- [#​272](https://github.com/prettier/eslint-config-prettier/pull/272) [`5be64be`](https://github.com/prettier/eslint-config-prettier/commit/5be64bef68c3a9bf7202f591f54ffec02572e46b) Thanks [@​abrahamguo](https://github.com/abrahamguo)! - add support for [@​stylistic](https://github.com/stylistic) formatting rules
### [`v9.1.0`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-910-2023-12-02)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v9.0.0...v9.1.0)
- Added: \[unicorn/template-indent], (as a \[special rule]\[unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu ([@​gurgunday](https://github.com/gurgunday))!
- Changed: All the \[formatting rules that were deprecated in ESLint 8.53.0]\[deprecated-8.53.0] are now excluded if you set the `ESLINT_CONFIG_PRETTIER_NO_DEPRECATED` environment variable.
### [`v9.0.0`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-900-2023-08-05)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/7bed431957ac0164497ce467f477f1af6590cccf...v9.0.0)
- Added: The CLI helper tool now works with eslint.config.js (flat config). Just like ESLint itself, the CLI tool automatically first tries eslint.config.js and then eslintrc, and you can force which one to use by setting the \[ESLINT\_USE\_FLAT\_CONFIG] environment variable. Note that the *config* of eslint-config-prettier has always been compatible with eslint.config.js (flat config) – it was just the CLI tool that needed updating. On top of that, the docs have been updated to mention how to use both eslint.config.js (flat config) and eslintrc, and the tests now test both config systems.
- Changed: \[unicode-bom] is no longer turned off. Prettier preserves the BOM if you have one, and does not add one if missing. It was wrong of eslint-config-prettier to disable that rule. If you get ESLint errors after upgrading, either add `"unicode-bom": "off"` to your config to disable it again, or run ESLint with `--fix` to fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien ([@​nstepien](https://github.com/nstepien))!
### [`v8.10.0`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-8100-2023-08-03)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v8.9.0...v8.10.0)
- Added: \[max-statements-per-line]. Thanks to [@​Zamiell](https://github.com/Zamiell)!
### [`v8.9.0`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-890-2023-07-27)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v8.8.0...v8.9.0)
- Added: \[vue/array-element-newline]. Thanks to [@​xcatliu](https://github.com/xcatliu)!
### [`v8.8.0`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-880-2023-03-20)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v8.7.0...v8.8.0)
- Added: \[[@​typescript-eslint/lines-around-comment](https://github.com/typescript-eslint/lines-around-comment)]. Thanks to [@​ttionya](https://github.com/ttionya)!
### [`v8.7.0`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-870-2023-03-06)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v8.6.0...v8.7.0)
- Added: \[[@​typescript-eslint/block-spacing](https://github.com/typescript-eslint/block-spacing)]. Thanks to [@​ttionya](https://github.com/ttionya)!
- Added: \[[@​typescript-eslint/key-spacing](https://github.com/typescript-eslint/key-spacing)]. Thanks to [@​ttionya](https://github.com/ttionya)!
### [`v8.6.0`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-860-2023-01-02)
[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v8.6.0)
- Added: \[vue/multiline-ternary]. Thanks to [@​xcatliu](https://github.com/xcatliu)!
</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.
🔕 **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://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zOS4wIiwidXBkYXRlZEluVmVyIjoiNDEuMzkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm ERR! Invalid Version: >=4.5.1
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2025-07-19T15_05_19_535Z-debug-0.log
### ⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
##### File name: package-lock.json
```
npm ERR! Invalid Version: >=4.5.1
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2025-07-19T15_05_19_535Z-debug-0.log
```
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️Warning: custom changes will be lost.
### Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ **Warning**: custom changes will be lost.
This repo is archived. You cannot comment on pull requests.
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:
^8.5.0->^10.0.0Release Notes
prettier/eslint-config-prettier (eslint-config-prettier)
v10.1.8republish latest version
Full Changelog: https://github.com/prettier/eslint-config-prettier/compare/v10.1.5...v10.1.8
v10.1.5Compare Source
Patch Changes
60fef02Thanks @JounQin! - chore: addfundingfield intopackage.jsonv10.1.4Compare Source
Patch Changes
94b4799Thanks @silvenon! - fix(cli): do not crash on no rules configuredv10.1.3Compare Source
Patch Changes
4e95a1dThanks @pilikan! - fix: this package iscommonjs, align its types correctlyv10.1.2Compare Source
Patch Changes
a8768bfThanks @Fdawgs! - chore(package): add homepage for some 3rd-party registry - see #321 for more detailsv10.1.1Compare Source
Patch Changes
#309
eb56a5eThanks @JounQin! - fix: separate the/flatentry for compatibilityFor flat config users, the previous
"eslint-config-prettier"entry still works, but"eslint-config-prettier/flat"adds a newnameproperty for config-inspector, we just can't add it for the default entry for compatibility.See also #308
v10.1.0Compare Source
Minor Changes
56e2e34Thanks @JounQin! - feat: migrate to exports fieldv10.0.3Compare Source
Patch Changes
#294
8dbbd6dThanks @FloEdelmann! - feat: add name to config#280
cba5737Thanks @zanminkian! - feat: add declaration filev10.0.2Compare Source
Patch Changes
e750edcThanks @Fdawgs! - chore(package): explicitly declare js module typev10.0.1Compare Source
eslint-config-prettier
10.0.1
What's Changed
@stylistic/eslint-pluginby @abrahamguo in https://github.com/prettier/eslint-config-prettier/pull/272New Contributors
Full Changelog: https://github.com/prettier/eslint-config-prettier/compare/v9.1.0...v10.0.1
v10.0.0Compare Source
Major Changes
5be64beThanks @abrahamguo! - add support for @stylistic formatting rulesv9.1.0Compare Source
ESLINT_CONFIG_PRETTIER_NO_DEPRECATEDenvironment variable.v9.0.0Compare Source
"unicode-bom": "off"to your config to disable it again, or run ESLint with--fixto fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (@nstepien)!v8.10.0Compare Source
v8.9.0Compare Source
v8.8.0Compare Source
v8.7.0Compare Source
v8.6.0Compare Source
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: package-lock.json
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.