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

Update dependency eslint-config-prettier to v9 #925

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 5, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-config-prettier ^7.2.0 -> ^9.1.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 2am and before 7am every weekday,after 2am and before 7am every weekend" in timezone Asia/Yangon, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 11 times, most recently from b5f961b to 65f604b Compare December 8, 2023 01:15
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from b9f46a5 to edf8c6f Compare December 18, 2023 01:33
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from edf8c6f to 74a68a2 Compare December 31, 2023 00:03
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from f64fd91 to d1b4ac1 Compare January 12, 2024 01:44
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from a973b90 to 87d3736 Compare January 18, 2024 01:52
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 6 times, most recently from f7b1e8a to 8887108 Compare February 1, 2024 00:48
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from 890de93 to 18087a1 Compare February 9, 2024 00:50
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from 5acf855 to f5a055b Compare February 15, 2024 22:20
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 4 times, most recently from 0d77905 to a50fb44 Compare June 6, 2024 02:00
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 6 times, most recently from 58628db to c401301 Compare June 22, 2024 21:33
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from 95fa1e3 to 0528175 Compare July 1, 2024 21:58
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from 0528175 to c36d9bb Compare July 5, 2024 22:41
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 4 times, most recently from 7f2fcb7 to cda8195 Compare July 24, 2024 00:55
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from 09ed400 to f1db361 Compare August 3, 2024 00:56
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from 1d24551 to 8f755bb Compare August 16, 2024 23:27
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from 484a917 to 7ce726b Compare August 21, 2024 22:47
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from 0764d13 to c76d7ae Compare September 1, 2024 21:09
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from f5e2310 to a3b49d5 Compare September 9, 2024 22:07
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from a3b49d5 to b15c079 Compare September 16, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants