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.15.1 #394

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

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.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)) > * Recognize props wrapped in flow $ReadOnly<> utility type ([#2361](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2361)[] [@​lukeapage](https://github.com/lukeapage)) > * [`prop-types`][]: false positive with setState updator ([#2359](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2359)[] [@​golopot](https://github.com/golopot)) > > ### Changed > * [Docs] [`no-access-state-in-setstate`][]: update grammar ([#2418](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2418)[] [@​neaumusic](https://github.com/neaumusic)) > * [`jsx-curly-brace-presence`][], [`jsx-one-expression-per-line`][], [`no-danger-with-children`][]: add `isWhiteSpaces` to `lib/util/jsx` ([#2409](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2409)[] [@​vedadeepta](https://github.com/vedadeepta)) > > [#2422](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2422): [yannickcr/eslint-plugin-react#2422](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2422) > [#2410](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2410): [yannickcr/eslint-plugin-react#2410](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2410) > [#2409](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2409): [yannickcr/eslint-plugin-react#2409](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2409) > [#2408](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2408): [yannickcr/eslint-plugin-react#2408](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2408) > [#2402](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2402): [yannickcr/eslint-plugin-react#2402](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2402) > [#2399](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2399): [yannickcr/eslint-plugin-react#2399](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2399) > [#2395](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2395): [yannickcr/eslint-plugin-react#2395](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2395) > [#2392](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2392): [yannickcr/eslint-plugin-react#2392](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2392) > [#2391](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2391): [yannickcr/eslint-plugin-react#2391](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2391) > ... (truncated)
Commits - [`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 - [`b45219a`](https://github.com/yannickcr/eslint-plugin-react/commit/b45219a2f63451209fbf5151e813f1d5babcb3fa) Update CHANGELOG and bump version - [`a01198f`](https://github.com/yannickcr/eslint-plugin-react/commit/a01198f96b20f470f5f9638e249b07fc69e020b2) [Dev Deps] update `eslint-config-airbnb-base`, `eslint-plugin-import`, `sinon... - [`ab77870`](https://github.com/yannickcr/eslint-plugin-react/commit/ab77870ebcf35865bb04e4adc45f2cbaad40b7e2) [Deps] update `jsx-ast-utils`, `resolve` - [`32e27b7`](https://github.com/yannickcr/eslint-plugin-react/commit/32e27b7b8d31feffaa5cc572916d131d4c40df63) [Fix] `jsx-indent`: Fix false positive when a jsx element is the last stateme... - [`628a4a0`](https://github.com/yannickcr/eslint-plugin-react/commit/628a4a04d0ddc0bbcd8acf3344c61074b846b3df) [fix] `jsx-curly-brace-presence`: fix jsx tags in braces - [`3124ce0`](https://github.com/yannickcr/eslint-plugin-react/commit/3124ce09e7c651d6b4703b9dc2bd501852b24439) [Docs] `no-access-state-in-setstate`: update grammar - Additional commits viewable in [compare view](https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.4...v7.15.1)


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) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 4 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.