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)!
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.10.0 to 9.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md">eslint-config-prettier's changelog</a>.</em></p>
<blockquote>
<h3>Version 9.0.0 (2023-08-05)</h3>
<ul>
<li>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 <em>config</em> 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.</li>
<li>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 <code>"unicode-bom": "off"</code> to your config to disable it again, or run ESLint with <code>--fix</code> to fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (<a href="https://github.com/nstepien"><code>@nstepien</code></a>)!</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/prettier/eslint-config-prettier/commit/19826807f2d668a05bb9c29a5f6f6a6e6e3287e4"><code>1982680</code></a> eslint-config-prettier v9.0.0</li>
<li><a href="https://github.com/prettier/eslint-config-prettier/commit/f197969c4f0e42fcce950325d4330a709ddfd474"><code>f197969</code></a> Do not disable unicode-bom (<a href="https://github.com/prettier/eslint-config-prettier/issues/250">#250</a>)</li>
<li><a href="https://github.com/prettier/eslint-config-prettier/commit/a8bc57eae4b47e398602995c255c09a5c6bbbec4"><code>a8bc57e</code></a> Flat config: CLI, tests, docs (<a href="https://github.com/prettier/eslint-config-prettier/issues/261">#261</a>)</li>
<li>See full diff in <a href="https://github.com/prettier/eslint-config-prettier/compare/v8.10.0...v9.0.0">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
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.
Bumps eslint-config-prettier from 8.10.0 to 9.0.0.
Changelog
Sourced from eslint-config-prettier's changelog.
Commits
1982680eslint-config-prettier v9.0.0f197969Do not disable unicode-bom (#250)a8bc57eFlat config: CLI, tests, docs (#261)Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsadded 2 commits
2c9e9f9e- 1 commit from branchmaster1faea032- Build(deps-dev): bump eslint-config-prettier from 8.10.0 to 9.0.0Compare with previous version