Title: Update dependency eslint-config-prettier to v8 by renovate[bot] · Pull Request #633 · coderplex-org/coderplex · GitHub
Open Graph Title: Update dependency eslint-config-prettier to v8 by renovate[bot] · Pull Request #633 · coderplex-org/coderplex
X Title: Update dependency eslint-config-prettier to v8 by renovate[bot] · Pull Request #633 · coderplex-org/coderplex
Description: This PR contains the following updates: Package Change Age Adoption Passing Confidence eslint-config-prettier 6.5.0 -> 8.1.0 Release Notes prettier/eslint-config-prettier 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 Added: [@typescript-eslint/object-curly-spacing]. Added: [react/jsx-newline]. 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. v6.15.0 Compare Source Added: [@typescript-eslint/space-infix-ops]. Thanks to Masafumi Koba (@ybiquitous)! v6.14.0 Compare Source Added: New [eslint-plugin-vue] rules: [vue/array-bracket-newline] and [vue/block-tag-newline]. Thanks to @xcatliu! v6.13.0 Compare Source Added: New rules in [eslint-plugin-vue] 7.0 (which supports Vue 3.0). Thanks to @xcatliu! v6.12.0 Compare Source Added: [@typescript-eslint/comma-dangle]. Thanks to Masafumi Koba (@ybiquitous)! v6.11.0 Compare Source Added: [@typescript-eslint/keyword-spacing]. Thanks to Hans Bergren (@hbergren)! v6.10.1 Compare Source Improved: Recommend using npx when running the CLI helper tool. Updated: Mention that eslint-config-prettier has been tested with Prettier 2.0 and the latest versions of plugins. v6.10.0 Compare Source Added: [@typescript-eslint/comma-spacing]. Thanks to Masafumi Koba (@ybiquitous)! v6.9.0 Compare Source Added: [vue/max-len]. Thanks to @xcatliu! v6.8.0 Compare Source Added: [@typescript-eslint/no-extra-semi]. Thanks to @xcatliu! v6.7.0 Compare Source Added: [@typescript-eslint/space-before-function-paren]. Thanks to Masafumi Koba (@ybiquitous)! v6.6.0 Compare Source Added: New [eslint-plugin-vue] rules: [vue/dot-location] and [vue/keyword-spacing]. Thanks to @xcatliu! Renovate configuration 📅 Schedule: At any time (no schedule defined). 🚦 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, check this box This PR has been generated by WhiteSource Renovate. View repository job log here.
Open Graph Description: This PR contains the following updates: Package Change Age Adoption Passing Confidence eslint-config-prettier 6.5.0 -> 8.1.0 Release Notes prettier/eslint-config-prettier v8.1.0 ...
X Description: This PR contains the following updates: Package Change Age Adoption Passing Confidence eslint-config-prettier 6.5.0 -> 8.1.0 Release Notes prettier/eslint-config-prettier v8....
Opengraph URL: https://github.com/coderplex-org/coderplex/pull/633
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:44da65f5-7bf9-d3be-4e73-53b0ca784b6a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DB60:296869:329C06B:4334733:69819648 |
| html-safe-nonce | 6f255f83c489090cb2c5a2187d7e4240d9eb795ddebf97a653d6fb5913151a94 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjYwOjI5Njg2OTozMjlDMDZCOjQzMzQ3MzM6Njk4MTk2NDgiLCJ2aXNpdG9yX2lkIjoiNTg1MDQ4ODE0ODk2MTg5MTkxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 131feb5580d7d2403013798c2a8e5f63bb66e2843363b2b6e921e570f9768cf1 |
| hovercard-subject-tag | pull_request:577101151 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/coderplex-org/coderplex/pull/633/files |
| twitter:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| og:image:alt | This PR contains the following updates: Package Change Age Adoption Passing Confidence eslint-config-prettier 6.5.0 -> 8.1.0 Release Notes prettier/eslint-config-prettier v8.1.0 ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e137814e266030874fd2c86863529d0622b13889eeda04148c57654b6ea84ad6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/coderplex-org/coderplex git https://github.com/coderplex-org/coderplex.git |
| octolytics-dimension-user_id | 19891160 |
| octolytics-dimension-user_login | coderplex-org |
| octolytics-dimension-repository_id | 99134683 |
| octolytics-dimension-repository_nwo | coderplex-org/coderplex |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 99134683 |
| octolytics-dimension-repository_network_root_nwo | coderplex-org/coderplex |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd58d68a7813bbec9c91422c8c35f4af33832d70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width