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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 7, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-config-prettier 6.15.0 -> 8.5.0 age adoption passing confidence

Release Notes

prettier/eslint-config-prettier

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

v7.2.0

Compare Source

v7.1.0

Compare Source

  • Added: [unicorn/empty-brace-spaces]. Thanks to fisker Cheung (@​fisker)!

v7.0.0

Compare 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-tabs is now a validatable rule. If you use it, you should enable allowIndentationTabs so 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-prettier instead of eslint-config-prettier-check. This is so that npx eslint-config-prettier always works regardless of whether you have already installed eslint-config-prettier or not: If you have, the local installation is used; if you haven’t, npx downloads a temporary copy.

  • Changed: The CLI helper tool no longer requires you to pipe the output of eslint --print-config to it. Instead, it does that automatically for you via ESLint API:s added in ESLint v7.

    Before:

    npx eslint --print-config index.js | npx eslint-config-prettier-check
    

    After:

    npx eslint-config-prettier index.js
    
  • Improved: The npm package is now 75% smaller.


Configuration

📅 Schedule: "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris.

🚦 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.


  • If you want to rebase/retry this PR, click this checkbox.

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 from 806d18b to 102473f Compare April 9, 2021 22:18
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch from 102473f to d6475c5 Compare April 16, 2021 22:55
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch from d6475c5 to 4f76a7b Compare April 24, 2021 13:50
@armandabric armandabric added the dependencies Pull requests that update a dependency file label Sep 28, 2021
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 6 times, most recently from 6d9ba63 to b1ff214 Compare October 3, 2021 11:50
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 4 times, most recently from f05a825 to eaaf1c5 Compare October 15, 2021 16:58
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 3 times, most recently from 055754b to af98afb Compare October 22, 2021 19:37
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch from af98afb to 0d585c5 Compare October 29, 2021 18:31
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 2 times, most recently from d2112f3 to 437fd5b Compare November 5, 2021 19:37
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 5 times, most recently from ce94c95 to e71e052 Compare November 20, 2021 12:45
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 2 times, most recently from e48c3c8 to 6d4c684 Compare November 26, 2021 20:22
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 2 times, most recently from 3e6bc36 to 1d5f1ad Compare December 4, 2021 21:18
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch from 1d5f1ad to 776ce0d Compare December 17, 2021 20:50
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 2 times, most recently from 1c5c59f to 58a6772 Compare December 17, 2021 21:10
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 3 times, most recently from c0061fa to 1622842 Compare December 31, 2021 20:56
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 4 times, most recently from 0976060 to 24bc670 Compare January 8, 2022 16:04
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch from 24bc670 to e48b666 Compare January 14, 2022 21:00
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 2 times, most recently from cdba288 to 1a7d66d Compare January 28, 2022 21:07
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 4 times, most recently from 89e4d0a to f5fc767 Compare February 11, 2022 20:14
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 2 times, most recently from 3d4460e to 6d50c8e Compare February 19, 2022 12:00
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch 3 times, most recently from b708d3f to 9a810d7 Compare February 25, 2022 21:24
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch from 9a810d7 to 82c5f02 Compare March 4, 2022 15:45
@renovate renovate bot force-pushed the renovate/eslint-config-prettier-8.x branch from 82c5f02 to 41e3ea2 Compare March 7, 2022 07:12
@armandabric armandabric closed this Mar 7, 2022
@renovate
Copy link
Contributor Author

renovate bot commented Mar 7, 2022

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 8.x releases. But if you manually upgrade to 8.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/eslint-config-prettier-8.x branch March 7, 2022 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants