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 v8 #167

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 21, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-config-prettier 7.2.0 -> 8.3.0 age adoption passing confidence

Release Notes

prettier/eslint-config-prettier

v8.3.0

Compare Source

  • Added: Support for [@​babel/eslint-plugin]. Thanks to Chip Zhang (@​ChipZhang) for the heads-up! ([eslint-plugin-babel] is still supported, too.)

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: 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 WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 14 times, most recently from be5d707 to 0cc6b52 Compare February 28, 2021 01:42
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 13 times, most recently from 018f88f to 08221e6 Compare March 7, 2021 09:36
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 3 times, most recently from c29da1e to 0c0a7e0 Compare March 8, 2021 23:05
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 9 times, most recently from 0b4e079 to 86b31fc Compare April 15, 2021 20:29
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 5 times, most recently from c1e059a to 7e3fe5a Compare April 24, 2021 17:12
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 5 times, most recently from 031921d to d5df211 Compare May 1, 2021 19:26
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 9 times, most recently from 6e20954 to 09ee100 Compare May 6, 2021 20:26
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch from 09ee100 to e82b2d9 Compare May 6, 2021 22:25
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.

1 participant