chore(deps): update dependency eslint-config-prettier to v10
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint-config-prettier | devDependencies | major | ^8.8.0 -> ^10.0.0 |
Release Notes
prettier/eslint-config-prettier (eslint-config-prettier)
v10.1.1
Patch Changes
-
#309
eb56a5e
Thanks @JounQin! - fix: separate the/flat
entry for compatibilityFor flat config users, the previous
"eslint-config-prettier"
entry still works, but"eslint-config-prettier/flat"
adds a newname
property for config-inspector, we just can't add it for the default entry for compatibility.See also #308
// before import eslintConfigPrettier from "eslint-config-prettier"; // after import eslintConfigPrettier from "eslint-config-prettier/flat";
v10.1.0
Minor Changes
v10.0.3
Patch Changes
-
#294
8dbbd6d
Thanks @FloEdelmann! - feat: add name to config -
#280
cba5737
Thanks @zanminkian! - feat: add declaration file
v10.0.2
Patch Changes
v10.0.1
eslint-config-prettier
10.0.1
What's Changed
- chore: migrate to changeset for automatically releasing by @JounQin in https://github.com/prettier/eslint-config-prettier/pull/278
- add support for
@stylistic/eslint-plugin
by @abrahamguo in https://github.com/prettier/eslint-config-prettier/pull/272
New Contributors
- @JounQin made their first contribution in https://github.com/prettier/eslint-config-prettier/pull/278
- @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
Major Changes
-
#272
5be64be
Thanks @abrahamguo! - add support for @stylistic formatting rules
v9.1.0
- 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.
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)!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.