chore(deps): update dependency eslint-config-prettier to v10 #1232
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.15.0->^10.0.0Release Notes
prettier/eslint-config-prettier (eslint-config-prettier)
v10.1.8Compare Source
republish latest version
Full Changelog: prettier/eslint-config-prettier@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 #272New Contributors
Full Changelog: prettier/eslint-config-prettier@v9.1.0...v10.0.1
v10.0.0Compare Source
Major Changes
5be64beThanks @abrahamguo! - add support for @stylistic formatting rulesv9.1.2Compare Source
v9.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.2Compare Source
v8.10.0Compare Source
v8.9.0Compare Source
v8.8.0Compare Source
v8.7.0Compare Source
v8.6.0Compare Source
v8.5.0Compare Source
v8.4.0Compare Source
v8.3.0Compare Source
v8.2.0Compare Source
v8.1.0Compare Source
v8.0.0Compare Source
Changed: All configs have been merged into one!
To upgrade, change:
{ "extends": [ "some-other-config-you-use", "prettier", "prettier/@​typescript-eslint", "prettier/babel", "prettier/flowtype", "prettier/react", "prettier/standard", "prettier/unicorn", "prettier/vue" ] }Into:
{ "extends": [ "some-other-config-you-use", "prettier" ] }The
"prettier"config now includes not just ESLint core rules, but also rules from all plugins. Much simpler!So … what’s the catch? Why haven’t we done this earlier? Turns out it’s just a sad mistake. I (@lydell) was confused when testing, and thought that turning off unknown rules in a config was an error. Thanks to Georgii Dolzhykov (@thorn0) for pointing this out!
If you use [eslint-plugin-prettier], all you need is [plugin:prettier/recommended]:
{ "extends": [ "some-other-config-you-use", "plugin:prettier/recommended" ] }(The ["prettier/prettier" config][prettier-prettier-config] still exists separately. It’s the odd one out. The main
"prettier"config does not include the rules from it.)Changed: The CLI helper tool now only prints warnings for [arrow-body-style] and [prefer-arrow-callback], just like other “special rules.” This means that if you’ve decided to use those rules and [eslint-plugin-prettier] at the same time, you’ll get warnings but exit code zero (success).
v7.2.0Compare Source
v7.1.0Compare Source
v7.0.0Compare Source
Changed: At least ESLint 7.0.0 is now required.
Changed: [arrow-body-style] and [prefer-arrow-callback] are no longer turned off by default. They only need to be turned off if you use [eslint-plugin-prettier]. If you do, add
"prettier/prettier"to your"extends"array to turn them off again.{ "extends": ["prettier", "prettier/prettier"], "plugins": ["prettier"], "rules": { "prettier/prettier": "error" } }Alternatively, update [eslint-plugin-prettier] to version 3.2.0 or later which automatically turns off these two rules in its
"plugin:prettier/recommended"config.The CLI helper tool only warns about these rules if you have the
"prettier/prettier"rule enabled for a file.Changed:
no-tabsis now a validatable rule. If you use it, you should enableallowIndentationTabsso that the rule works regardless of your Prettier config:{ "rules": { "no-tabs": ["error", { "allowIndentationTabs": true }] } }Changed: The CLI helper tool is now called just
eslint-config-prettierinstead ofeslint-config-prettier-check. This is so thatnpx eslint-config-prettieralways works regardless of whether you have already installedeslint-config-prettieror not: If you have, the local installation is used; if you haven’t,npxdownloads a temporary copy.Changed: The CLI helper tool no longer requires you to pipe the output of
eslint --print-configto it. Instead, it does that automatically for you via ESLint API:s added in ESLint v7.Before:
After:
Improved: The npm package is now 75% smaller.
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 was generated by Mend Renovate. View the repository job log.