Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency eslint-config-prettier to v9 #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 5, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-config-prettier ^7.0.0 -> ^9.0.0 age adoption passing confidence

Release Notes

prettier/eslint-config-prettier (eslint-config-prettier)

v9.1.0

Compare Source

  • 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

Compare Source

  • 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)!

v8.10.0

Compare Source

  • Added: [max-statements-per-line]. Thanks to @​Zamiell!

v8.9.0

Compare Source

  • Added: [vue/array-element-newline]. Thanks to @​xcatliu!

v8.8.0

Compare Source

v8.7.0

Compare Source

v8.6.0

Compare Source

  • Added: [vue/multiline-ternary]. Thanks to @​xcatliu!

v8.5.0

Compare Source

v8.4.0

Compare Source

v8.3.0

Compare Source

v8.2.0

Compare Source

  • Added: [flowtype/quotes]. Thanks to Martin Zlámal (@​mrtnzlml)!

v8.1.0

Compare Source

  • Added: [flowtype/object-type-curly-spacing].
  • Added: Dummy files for the configs removed in 8.0.0. The dummy files throw an error that try to guide you how to upgrade.

v8.0.0

Compare 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).


Configuration

📅 Schedule: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label Aug 5, 2023
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from b26bb85 to b6e2b1f Compare August 18, 2023 02:09
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 4 times, most recently from 1ed90e5 to dd59430 Compare August 26, 2023 01:32
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from 9b327df to 851cb50 Compare September 3, 2023 00:07
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from f3ddfd5 to b60d599 Compare September 15, 2023 23:16
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from 236bb89 to 2326d86 Compare September 23, 2023 00:16
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from 7b32fb4 to 02a48bc Compare September 26, 2023 01:41
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from 02a48bc to ff1997c Compare October 7, 2023 00:54
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 6 times, most recently from 92f50e6 to 98de098 Compare October 24, 2023 03:46
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from ac70565 to 725782f Compare November 8, 2023 02:11
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from 725782f to a574781 Compare November 18, 2023 03:14
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from a574781 to 38ce5a0 Compare December 2, 2023 01:31
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from 38ce5a0 to fc1153b Compare December 15, 2023 00:52
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from fc1153b to 1d195dd Compare December 16, 2023 03:52
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from 9ecc1d4 to 77c2ad2 Compare February 1, 2024 08:32
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from 77c2ad2 to f4058bf Compare February 24, 2024 02:16
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from f4058bf to fc1614a Compare May 18, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants