sourcegraph / learn

Sourcegraph Learn: an educational hub to support all developers
https://learn.sourcegraph.com
Apache License 2.0
18 stars 34 forks source link

Update dependency eslint-plugin-react to ^7.29.2 #461

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react ^7.28.0 -> ^7.29.2 age adoption passing confidence

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

yannickcr/eslint-plugin-react ### [`v7.29.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7292---20220225) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.29.1...v7.29.2) ##### Fixed - \[`jsx-curly-brace-presence`]: avoid warning on curlies containing quote characters ([#​3214][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-indent`]: do not report on non-jsx-returning ternaries that contain null ([#​3222][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-indent`]: properly report on returned ternaries with jsx ([#​3222][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-array-index-key`]: detect named-imported `cloneElement`/`createElement` ([#​3213][] [@​ljharb](https://togithub.com/ljharb)) [7.29.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.29.1...v7.29.2 [#​3222]: https://togithub.com/yannickcr/eslint-plugin-react/issues/3222 [#​3214]: https://togithub.com/yannickcr/eslint-plugin-react/issues/3214 [#​3213]: https://togithub.com/yannickcr/eslint-plugin-react/issues/3213 ### [`v7.29.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7291---20220225) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.29.0...v7.29.1) ##### Fixed - \[`jsx-key`]: prevent false "missing array key" warning ([#​3215][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-indent`]: avoid checking returns sans jsx ([#​3218][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-key`]: avoid a crash ([#​3220][] [@​ljharb](https://togithub.com/ljharb)) - version settings: avoid a crash with an invalid version ([#​3219][] [@​ljharb](https://togithub.com/ljharb)) [7.29.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.29.0...v7.29.1 [#​3220]: https://togithub.com/yannickcr/eslint-plugin-react/issues/3220 [#​3219]: https://togithub.com/yannickcr/eslint-plugin-react/issues/3219 [#​3218]: https://togithub.com/yannickcr/eslint-plugin-react/issues/3218 [#​3215]: https://togithub.com/yannickcr/eslint-plugin-react/issues/3215 ### [`v7.29.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7290---20220224) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.28.0...v7.29.0) ##### Added - add \[`hook-use-state`] rule to enforce symmetric useState hook variable names ([#​2921][] [@​duncanbeevers](https://togithub.com/duncanbeevers)) - \[`jsx-no-target-blank`]: Improve fixer with option `allowReferrer` ([#​3167][] [@​apepper](https://togithub.com/apepper)) - \[`jsx-curly-brace-presence`]: add "propElementValues" config option ([#​3191][] [@​ljharb](https://togithub.com/ljharb)) - add \[`iframe-missing-sandbox`] rule ([#​2753][] [@​tosmolka](https://togithub.com/tosmolka) [@​ljharb](https://togithub.com/ljharb)) - \[`no-did-mount-set-state`], \[`no-did-update-set-state`]: no-op with react >= 16.3 ([#​1754][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-sort-props`]: support multiline prop groups ([#​3198][] [@​duhamelgm](https://togithub.com/duhamelgm)) - \[`jsx-key`]: add `warnDuplicates` option to warn on duplicate jsx keys in an array ([#​2614][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-sort-props`]: add `locale` option ([#​3002][] [@​ljharb](https://togithub.com/ljharb)) ##### Fixed - \[`prop-types`], `propTypes`: add support for exported type inference ([#​3163][] [@​vedadeepta](https://togithub.com/vedadeepta)) - \[`no-invalid-html-attribute`]: allow 'shortcut icon' on `link` ([#​3174][] [@​Primajin](https://togithub.com/Primajin)) - \[`prefer-exact-props`] improve performance for `Identifier` visitor ([#​3190][] [@​meowtec](https://togithub.com/meowtec)) - `propTypes`: Handle TSTypeReference in no-unused-prop-type ([#​3195][] [@​niik](https://togithub.com/niik)) - \[`sort-prop-types`]: avoid repeated warnings of the same node/reason ([#​519][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-indent`]: Fix indent handling for closing parentheses ([#​620][] [@​stefanbuck](https://togithub.com/stefanbuck)]) - \[`prop-types`/`propTypes`]: follow a returned identifier to see if it is JSX ([#​1046][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unused-state`]: TS: support `getDerivedStateFromProps` as an arrow function ([#​2061][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-array-index-key`]: catch `.toString` and `String()` usage ([#​2813][] [@​RedTn](https://togithub.com/RedTn)) - \[`function-component-definition`]: do not break on dollar signs ([#​3207][] [@​ljharb](https://togithub.com/ljharb)) - \[`prefer-stateless-function`]: avoid a crash inside `doctrine` ([#​2596][] [@​ljharb](https://togithub.com/ljharb)) - \[`prop-types`]: catch infinite loop ([#​2861][] [@​ljharb](https://togithub.com/ljharb)) - \[`forbid-prop-types`]: properly report name in error message; check undestructured arguments ([#​2945][] [@​ljharb](https://togithub.com/ljharb)) ##### Changed - \[readme] change \[`jsx-runtime`] link from branch to sha ([#​3160][] [@​tatsushitoji](https://togithub.com/tatsushitoji)) - \[Docs] HTTP => HTTPS ([#​3133][] [@​Schweinepriester](https://togithub.com/Schweinepriester)) - \[readme] Some grammar fixes ([#​3186][] [@​JJ](https://togithub.com/JJ)) - \[Docs] \[`jsx-no-target-blank`]: Improve readme ([#​3169][] [@​apepper](https://togithub.com/apepper)) - \[Docs] \[`display-name`]: improve examples ([#​3189][] [@​golopot](https://togithub.com/golopot)) - \[Refactor] \[`no-invalid-html-attribute`]: sort HTML_ELEMENTS and messages ([#​3182][] [@​Primajin](https://togithub.com/Primajin)) - \[Docs] \[`forbid-foreign-prop-types`]: document `allowInPropTypes` option ([#​1815][] [@​ljharb](https://togithub.com/ljharb)) - \[Refactor] \[`jsx-sort-default-props`]: remove unnecessary code ([#​1817][] [@​ljharb](https://togithub.com/ljharb)) - \[Docs] \[`jsx-no-target-blank`]: fix syntax highlighting ([#​3199][] [@​shamrin](https://togithub.com/shamrin)) - \[Docs] \[`jsx-key`]: improve example ([#​3202][] [@​chnakamura](https://togithub.com/chnakamura)) - \[Refactor] \[`jsx-key`]: use more AST selectors ([@​ljharb](https://togithub.com/ljharb)) [7.29.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.28.0...v7.29.0 [#​3207]: https://togithub.com/yannickcr/eslint-plugin-react/issues/3207 [#​3202]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3202 [#​3199]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3199 [#​3198]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3198 [#​3195]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3195 [#​3191]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3191 [#​3190]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3190 [#​3189]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3189 [#​3186]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3186 [#​3182]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3182 [#​3174]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3174 [#​3169]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3169 [#​3167]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3167 [#​3163]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3163 [#​3160]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3160 [#​3133]: https://togithub.com/yannickcr/eslint-plugin-react/pull/3133 [#​3002]: https://togithub.com/yannickcr/eslint-plugin-react/issues/3002 [#​2945]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2945 [#​2921]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2921 [#​2861]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2861 [#​2813]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2813 [#​2753]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2753 [#​2614]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2614 [#​2596]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2596 [#​2061]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2061 [#​1817]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1817 [#​1815]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1815 [#​1754]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1754 [#​1046]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1046 [#​620]: https://togithub.com/yannickcr/eslint-plugin-react/pull/620 [#​519]: https://togithub.com/yannickcr/eslint-plugin-react/issues/519

Configuration

πŸ“… Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 Automerge: Enabled.

β™» 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.



This PR has been generated by WhiteSource Renovate. View repository job log here.

netlify[bot] commented 2 years ago

βœ”οΈ Deploy Preview for sourcegraph-learn ready!

πŸ”¨ Explore the source changes: 98be633cba2df5566988fdc1e909b3c70c22ab61

πŸ” Inspect the deploy log: https://app.netlify.com/sites/sourcegraph-learn/deploys/621e26b419bc3900076c34fd

😎 Browse the preview: https://deploy-preview-461--sourcegraph-learn.netlify.app