BCcampus / bcc-sage

BCcampus theme for marketing site
MIT License
2 stars 1 forks source link

Bump eslint-plugin-react from 7.12.4 to 7.16.0 #405

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps eslint-plugin-react from 7.12.4 to 7.16.0.

Release notes *Sourced from [eslint-plugin-react's releases](https://github.com/yannickcr/eslint-plugin-react/releases).* > ## v7.14.3 > ### Fixed > * Fix `prop-types` to ignore validation when Flow indexers are used ([#2330](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2330)[] [@​yannickcr](https://github.com/yannickcr)) > * Fix error being thrown after the first warning when react version cannot be detected ([#2336](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2336)[] [@​abhishekdev](https://github.com/abhishekdev)) > * Fix component detection when `memo` and `forwardRef` are used together ([#2349](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2349)[] [@​yannickcr](https://github.com/yannickcr)) > > ### Changed > * Documentation improvements ([@​ljharb](https://github.com/ljharb), [#2354](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2354)[] [@​golopot](https://github.com/golopot)) > > [#2330](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2330): [yannickcr/eslint-plugin-react#2330](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2330) > [#2336](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2336): [yannickcr/eslint-plugin-react#2336](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2336) > [#2349](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2349): [yannickcr/eslint-plugin-react#2349](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2349) > [#2354](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2354): [yannickcr/eslint-plugin-react#2354](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2354) > > ## v7.14.2 > ### Fixed > * Fix `prop-types` crash on for...of destructuring ([#2326](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2326)[] [@​yannickcr](https://github.com/yannickcr)) > > [#2326](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2326): [yannickcr/eslint-plugin-react#2326](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2326) > > ## v7.14.1 > ### Fixed > * Fix `prop-types` crash on multiple destructuring ([#2319](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2319)[] [@​golopot](https://github.com/golopot)) > > [#2319](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2319): [yannickcr/eslint-plugin-react#2319](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2319) > > ## v7.14.0 > ### Added > * Add `jsx-curly-newline` rule ([#1493](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1493)[] [@​golopot](https://github.com/golopot)) > * Add support for nested destructuring to `prop-types` ([#296](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/296)[] [#1422](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1422)[] [@​golopot](https://github.com/golopot)) > * Add support for variables defined as props to `prop-types` and `no-unused-prop-types` ([#442](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/442)[] [#833](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/833)[] [#1002](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1002)[] [#1116](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1116)[] [#1257](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1257)[] [#1764](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1764)[] [@​golopot](https://github.com/golopot)) > * Add `checkFragmentShorthand` option to `jsx-key` ([#2316](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2316)[] [@​kaykayehnn](https://github.com/kaykayehnn)) > > ### Fixed > * Fix `no-did-mount-set-state` and `no-did-update-set-state` to handle cDU and cDM defined as class properties ([#1595](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1595)[] [@​jaaberg](https://github.com/jaaberg)) > * Fix `sort-prop-types` cash when a shape PropType is defined in a variable ([#1749](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1749)[] [@​alexzherdev](https://github.com/alexzherdev)) > * Fix `no-unused-state` false positive when using state of non-lifecycle method ([#2274](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2274)[] [@​golopot](https://github.com/golopot)) > * Fix `static-property-placement` false positive when accessing static property inside method ([#2283](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2283)[] [@​dmason30](https://github.com/dmason30)) > * Fix `prop-type` detection for annotated props with default value ([#2298](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2298)[] [@​yannickcr](https://github.com/yannickcr)) > > ### Changed > * Add ESLint 6.0.0 as valid peerDependency ([@​yannickcr](https://github.com/yannickcr)) > * Improve `no-render-return-value` performance ([#2259](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2259)[] [@​golopot](https://github.com/golopot)) > * Change `jsx-sort-props` to report errors only on the identifier ([#2312](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2312)[] [@​MrHen](https://github.com/MrHen)) > * Change to warn only once if react version cannot be detected ([#2276](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2276)[] [@​ljharb](https://github.com/ljharb)) > * Documentation improvements ([#2263](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2263)[] [@​dimitropoulos](https://github.com/dimitropoulos), [#2262](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2262)[] [@​ybiquitous](https://github.com/ybiquitous), [#2295](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2295)[] [@​battaglr](https://github.com/battaglr), [#2302](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2302)[] [@​Jason-Cooke](https://github.com/Jason-Cooke), [#2303](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2303)[] [@​golopot](https://github.com/golopot)) > * Code refactoring ([#2265](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2265)[] [#2267](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2267)[] [#2286](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2286)[] [#2294](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2294)[] [@​golopot](https://github.com/golopot), [@​ljharb](https://github.com/ljharb)) > * Tests improvements ([#2304](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2304)[] [#1047](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1047)[] [@​golopot](https://github.com/golopot), [@​yannickcr](https://github.com/yannickcr)) > > [#296](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/296): [yannickcr/eslint-plugin-react#296](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/296) > ... (truncated)
Changelog *Sourced from [eslint-plugin-react's changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md).* > ## [7.16.0] - 2019-10-04 > > ### Added > * [`jsx-sort-default-props`][]: make rule fixable ([#2429](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2429)[] [@​emroussel](https://github.com/emroussel)) > > ### Fixed > * [`jsx-no-useless-fragment`][]: use `array-includes` over `.includes` for back compat ([@​ljharb](https://github.com/ljharb)) > * [`jsx-curly-brace-presence`][]: allow necessary white-space literal ([#2437](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2437)[] [@​uniqname](https://github.com/uniqname)) > * [`jsx-curly-brace-presence`][]: warns incorrectly on trailing whitespace ([#2431](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2431)[] [@​BC-M](https://github.com/BC-M)) > * [`no-unused-prop-types`][]: false positive when nested destructuring ([#2428](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2428)[] [@​golopot](https://github.com/golopot)) > > [#2437](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2437): [yannickcr/eslint-plugin-react#2437](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2437) > [#2431](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2431): [yannickcr/eslint-plugin-react#2431](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2431) > [#2429](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2429): [yannickcr/eslint-plugin-react#2429](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2429) > [#2428](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2428): [yannickcr/eslint-plugin-react#2428](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2428) > > ## [7.15.1] - 2019-10-01 > > ### Fixed > * [`jsx-curly-brace-presence`][]: bail out checks when JSXElements are passed as props ([#2426](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2426)[] [@​vedadeepta](https://github.com/vedadeepta)) > > ### Changed > * [Docs] [`prefer-es6-class`][]: Fix typos ([#2425](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2425)[] [@​spencerbyw](https://github.com/spencerbyw)) > > [#2426](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2426): [yannickcr/eslint-plugin-react#2426](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2426) > [#2425](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2425): [yannickcr/eslint-plugin-react#2425](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2425) > > ## [7.15.0] - 2019-09-30 > > ### Added > * add [`jsx-no-useless-fragment`][] rule ([#2261](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2261)[] [@​golopot](https://github.com/golopot)) > * [`jsx-handler-name`][]: allow `false` to disable `eventHandlerPrefix`/`eventHandlerPropPrefix` ([#2410](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2410)[] [@​tanmoyopenroot](https://github.com/tanmoyopenroot)) > * [`sort-comp`][]: add `static-variables` grouping ([#2408](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2408)[] [@​vedadeepta](https://github.com/vedadeepta)) > * [`jsx-no-literals`][]: Add `allowedStrings` option ([#2380](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2380)[] [@​benhollander](https://github.com/benhollander)) > * [`no-multi-comp`][]: Added handling for `forwardRef` and `memo` wrapping components declared in the same file ([#2184](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2184)[] [@​jenil94](https://github.com/jenil94)) > * [`jsx-pascal-case`][]: `allowAllCaps` option now allows `SCREAMING_SNAKE_CASE` ([#2364](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2364)[] [@​TylerR909](https://github.com/TylerR909)) > > ### Fixed > * [`jsx-indent`][]: Fix false positive when a jsx element is the last statement within a do expression (with tests) ([#2200](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2200)[] [@​Kenneth-KT](https://github.com/Kenneth-KT)) > * [`jsx-curly-brace-presence`][]: fix jsx tags in braces ([#2422](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2422)[] [@​tanmoyopenroot](https://github.com/tanmoyopenroot)) > * [`display-name`][]: Fix false positives ([#2399](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2399)[] [@​BPScott](https://github.com/BPScott)) > * [`jsx-curly-brace-presence`][]: report unnecessary curly braces with children on next line ([#2409](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2409)[] [@​vedadeepta](https://github.com/vedadeepta)) > * [`no-unused-prop-types`][]: false positive with callback ([#2375](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2375)[] [@​golopot](https://github.com/golopot)) > * Fix prop-types detection collision on renamed props ([#2383](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2383)[] [@​yannickcr](https://github.com/yannickcr)) > * [`jsx-sort-props`][]: use localeCompare rather than comparison operator ([#2391](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2391)[] [@​tanmoyopenroot](https://github.com/tanmoyopenroot)) > * [`jsx-pascal-case`][]: allow one-letter-named components ([#2395](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2395)[] [@​Haegin](https://github.com/Haegin)) > * [`jsx-wrap-multilines`][]: fix incorrect formatting ([#2392](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2392)[] [@​tanmoyopenroot](https://github.com/tanmoyopenroot)) > * [`require-optimization`][]: fix when using arrow function in class components ([#2385](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2385)[] [@​jenil94](https://github.com/jenil94)) > * [`no-deprecated`][]: Deprecate cWM/cWRP/cWU lifecycle methods since React 16.9.0 ([#2378](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2378)[] [@​meowtec](https://github.com/meowtec)) > * [`jsx-key`][]: improve docs and confusing error message ([#2367](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2367)[] [@​kaykayehnn](https://github.com/kaykayehnn)) > ... (truncated)
Commits - [`fb3210b`](https://github.com/yannickcr/eslint-plugin-react/commit/fb3210baa13c1c5853fb95a451c1e817840bfde4) Update CHANGELOG and bump version - [`6011505`](https://github.com/yannickcr/eslint-plugin-react/commit/60115057a99cf467d0d6f13890c58bb959ad1ccc) [new] `jsx-sort-default-props`: make rule fixable - [`6f14e16`](https://github.com/yannickcr/eslint-plugin-react/commit/6f14e16ead00f89a8bcb71919badafa5a110fccc) [fix] `jsx-no-useless-fragment`: use `array-includes` over `.includes` for ba... - [`a1dee7c`](https://github.com/yannickcr/eslint-plugin-react/commit/a1dee7ccdcda4f0e1c7420aa42640ffd930af519) [fix] `jsx-curly-brace-presence`: allow necessary white-space literal - [`d7d2a01`](https://github.com/yannickcr/eslint-plugin-react/commit/d7d2a014a596d5d5d0da3352b2f58559da1a7684) [Fix] `jsx-curly-brace-presence`: warns incorrectly on trailing whitespace - [`c153a86`](https://github.com/yannickcr/eslint-plugin-react/commit/c153a86f092c65e9fb01ee5ce544302b67f040de) [Fix] `no-unused-prop-types`: false positive when nested destructuring - [`e336aef`](https://github.com/yannickcr/eslint-plugin-react/commit/e336aef505f895ed39c796e61deb55d1f9df0aca) Update CHANGELOG and bump version - [`04fbe74`](https://github.com/yannickcr/eslint-plugin-react/commit/04fbe74cc1abd65d05b0c817bd76f98d3c7d2de6) [Fix] `jsx-curly-brace-presence`: bail out checks when JSXElements are passed... - [`20cc016`](https://github.com/yannickcr/eslint-plugin-react/commit/20cc016963273fc1774d2b28087eb7e6878420ef) [Docs] `prefer-es6-class`: Fix typos - [`feba507`](https://github.com/yannickcr/eslint-plugin-react/commit/feba50716273b24753e83440393eccffa80bbf59) [Fix] `jsx-curly-brace-presence`: bail out on JSX inside props, for now - Additional commits viewable in [compare view](https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.4...v7.16.0)


Dependabot compatibility score

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.


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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #413.