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 2 times, most recently from 5c74689 to 4925101 Compare September 27, 2024 22:14
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from 358f7fd to e1b5035 Compare October 13, 2024 00:25
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 4 times, most recently from 531cd11 to c66c5fb Compare October 23, 2024 22:43
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 5 times, most recently from d885a1e to b2bbca4 Compare November 1, 2024 01:56
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 2 times, most recently from 7627bb7 to d4478f3 Compare November 6, 2024 01:35
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 5 times, most recently from 7b9aac2 to 2493875 Compare November 27, 2024 00:31
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from 429de3c to 99fc804 Compare December 3, 2024 02:18
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from 99fc804 to 66821cc Compare December 12, 2024 00:09
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch 3 times, most recently from 3432cd3 to 7eace28 Compare January 4, 2025 01:51
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-9.x branch from 7eace28 to 2a73f39 Compare January 9, 2025 02:46
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