gloriaJun / react-realworld-example-app

https://gloriajun.github.io/react-realworld-example-app/
0 stars 0 forks source link

Update eslint-config-prettier requirement from ^4.3.0 to ^6.0.0 #20

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Updates the requirements on eslint-config-prettier to permit the latest version.

Changelog *Sourced from [eslint-config-prettier's changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md).* > ### Version 6.0.0 (2019-06-25) > > - Changed: The CLI helper tool now considers [no-confusing-arrow] to conflict > if you use the default value of its `allowParens` option. The default was > changed to `true` in ESLint 6, which conflicts with Prettier. > > If the CLI helper tool gives you errors about this after upgrading, the > solution is to change this: > > ```json > { > "rules": { > "no-confusing-arrow": ["error"] > } > } > ``` > > Into this: > > ```json > { > "rules": { > "no-confusing-arrow": ["error", { "allowParens": false }] > } > } > ``` > > The latter works in both ESLint 6 as well as in ESLint 5 and older. > > - Improved: `eslint --print-config` usage instructions. The CLI tool help > text as well as the documentation has been updated to suggest commands that > work in ESLint 6.0 as well as in ESLint 5 and older. (Instead of `eslint > --print-config .`, use `eslint --print-config path/to/main.js`.) > > ### Version 5.1.0 (2019-06-25) > > - Added: [react/jsx-curly-newline]. Thanks to Masafumi Koba ([@​ybiquitous](https://github.com/ybiquitous))! > > ### Version 5.0.0 (2019-06-15) > > - Removed: [react/self-closing-comp]. This rule was added in v4.1.0 not > because it _conflicted_ with Prettier but because it was _unnecessary_ when > using Prettier. However, in v1.18.0 [Prettier stopped converting empty > elements to self-closing elements][prettier-self-closing]. So the rule is > not unnecessary anymore. > > If you use Prettier v1.17.1 or older you should be able to upgrade > eslint-config-prettier to v5.0.0 without having to do anything else. > > If you use Prettier v1.18.0 or newer, you might get lint errors about for > ... (truncated)
Commits - [`8e50dac`](https://github.com/prettier/eslint-config-prettier/commit/8e50dacca2067fd4ca1f258e47d0e6973cbea1fd) eslint-config-prettier v6.0.0 - [`7d74eb0`](https://github.com/prettier/eslint-config-prettier/commit/7d74eb007a0884bac4cfeb3c1f734546f36eade4) Make the no-confusing-arrow validator stricter - [`15f87af`](https://github.com/prettier/eslint-config-prettier/commit/15f87af1b54d62c9d92427e4016b6c7e10ff963d) Update to ESLint 6 - [`db2081c`](https://github.com/prettier/eslint-config-prettier/commit/db2081c36f375d2f49c65b54b01312a762de8aef) Update validator of no-confusing-arrow for ESLint 6 - [`595d6c1`](https://github.com/prettier/eslint-config-prettier/commit/595d6c1a933b94a45d58177f504440e15d60f922) Update eslint-config-prettier-check docs - [`11e53d0`](https://github.com/prettier/eslint-config-prettier/commit/11e53d0e8b5254c0fe2d887104387955ade1080b) Merge pull request [#98](https://github-redirect.dependabot.com/prettier/eslint-config-prettier/issues/98) from pleunv/patch-1 - [`994c26e`](https://github.com/prettier/eslint-config-prettier/commit/994c26e7bd7a67fffe715f1757bef4eb97868878) Fix link in changelog to react/jsx-curly-newline - [`b9b2ba8`](https://github.com/prettier/eslint-config-prettier/commit/b9b2ba8e05d64c3d5e20efa79c8d10a10e0501e3) eslint-config-prettier v5.1.0 - [`6d24525`](https://github.com/prettier/eslint-config-prettier/commit/6d245257e2deba6c64d8f6b0d1f9dd96312d06da) Update npm packages - [`df8be25`](https://github.com/prettier/eslint-config-prettier/commit/df8be25cb8a9007d036dbbc302df6507962990b2) Update eslint-plugin-react version in readme - Additional commits viewable in [compare view](https://github.com/prettier/eslint-config-prettier/compare/v4.3.0...v6.0.0)


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.