diego3g / rocketredis

A beautiful Redis GUI :fire: (under development)
MIT License
1.92k stars 173 forks source link

chore(deps): update dependency eslint-plugin-react to v7.22.0 #121

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 4 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react 7.20.5 -> 7.22.0 age adoption passing confidence

Release Notes

yannickcr/eslint-plugin-react ### [`v7.22.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7220---20201229) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.5...v7.22.0) ##### Added - [`jsx-key`]: added `checkKeyMustBeforeSpread` option for new jsx transform ([#​2835][] [@​morlay](https://togithub.com/morlay)) - [`jsx-newline`]: add new rule ([#​2693][] [@​jzabala](https://togithub.com/jzabala)) - [`jsx-no-constructed-context-values`]: add new rule which checks when the value passed to a Context Provider will cause needless rerenders ([#​2763][] [@​dylanOshima](https://togithub.com/dylanOshima)) - [`jsx-indent-props`]: add `ignoreTernaryOperator` option ([#​2846][] [@​SebastianZimmer](https://togithub.com/SebastianZimmer)) - [`jsx-no-target-blank`]: Add `warnOnSpreadAttributes` option ([#​2855][] [@​michael-yx-wu](https://togithub.com/michael-yx-wu)) ##### Fixed - [`display-name`]/component detection: avoid a crash on anonymous components ([#​2840][] [@​ljharb](https://togithub.com/ljharb)) - [`prop-types`]: function in class that returns a component causes false warning in typescript ([#​2843][] [@​SyMind](https://togithub.com/SyMind)) - [`jsx-no-target-blank`]: avoid a crash with a non-string literal ([#​2851][] [@​ljharb](https://togithub.com/ljharb)) - [`jsx-no-script-url`]: avoid crash with boolean `href` ([#​2871][] [@​ljharb](https://togithub.com/ljharb), [@​AriPerkkio](https://togithub.com/AriPerkkio)) - [`no-typos`]: avoid crash with computed method name ([#​2870][] [@​ljharb](https://togithub.com/ljharb), [@​AriPerkkio](https://togithub.com/AriPerkkio)) - [`jsx-max-depth`]: avoid crash with childless jsx child ([#​2869][] [@​ljharb](https://togithub.com/ljharb), [@​AriPerkkio](https://togithub.com/AriPerkkio)) - [`jsx-wrap-multilines`]: fix crash with `declaration`s that are on a new line after `=` ([#​2875][] [@​ljharb](https://togithub.com/ljharb)) - [`no-unknown-property`]: avoid crash with prop named with Object.prototype key ([#​2879][] [@​ljharb](https://togithub.com/ljharb), [@​AriPerkkio](https://togithub.com/AriPerkkio)) - [`prop-types`]: default argument does not count as props-types declaration ([#​2877][] [@​golopot](https://togithub.com/golopot)) - [`jsx-props-no-multi-spaces`]: fix a false positive for beside comments ([#​2878][] [@​golopot](https://togithub.com/golopot)) - [`jsx-no-undef`]: handle the TS parser combined with an invalid ecmaVersion ([#​2882][] [@​ljharb](https://togithub.com/ljharb)) - [`no-unused-prop-types`]: apply `skipShapeProps` to exact types ([#​2883][] [@​golopot](https://togithub.com/golopot)) - [`no-danger-with-children`]/[`style-prop-object`]/[`no-adjacent-inline-elements`]: add category, URL ([#​2891][] [@​thofmann](https://togithub.com/thofmann)) ##### Docs - [`no-unused-prop-types`]: Add new example to rule ([#​2852][] [@​thehereward](https://togithub.com/thehereward)) - [`prop-types`]: fix example ([#​2881][] [@​technote-space](https://togithub.com/technote-space)) [7.22.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.5...v7.22.0 [#​2891]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2891 [#​2883]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2883 [#​2882]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2882 [#​2881]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2881 [#​2879]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2879 [#​2878]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2878 [#​2877]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2877 [#​2875]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2875 [#​2871]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2871 [#​2870]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2870 [#​2869]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2869 [#​2855]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2855 [#​2852]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2852 [#​2851]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2851 [#​2846]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2846 [#​2843]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2843 [#​2840]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2840 [#​2835]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2835 [#​2763]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2763 [#​2693]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2693 ### [`v7.21.5`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7215---20201019) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.4...v7.21.5) ##### Fixed - [`jsx-indent-props`]: Apply indentation when using brackets ([#​2826][] [@​Moong0122](https://togithub.com/Moong0122)) - [`jsx-handler-names`]: Skip inline handlers when checkInlineFunction=false ([#​2833][] [@​onigoetz](https://togithub.com/onigoetz)) ##### Changed - [Tests] `jsx-indent-props`: Add passing test ([#​2823][] [@​Hypnosphi](https://togithub.com/Hypnosphi)) [7.21.5]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.4...v7.21.5 [#​2833]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2833 [#​2826]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2826 [#​2823]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2823 ### [`v7.21.4`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7214---20201009) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.3...v7.21.4) ##### Fixed - [`no-unused-prop-types`]: Silence false positive on `never` type in TS ([#​2815][] [@​pcorpet](https://togithub.com/pcorpet)) - [`jsx-indent-props`]: Apply indentation when operator is used in front of the upper line ([#​2808][], [#​2820][] [@​Moong0122](https://togithub.com/Moong0122)) - [Deps] update `jsx-ast-utils` ([#​2822][] [jsx-eslint/jsx-ast-utils#​102][] [@​ljharb](https://togithub.com/ljharb)) [7.21.4]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.3...v7.21.4 [#​2822]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2822 [#​2820]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2820 [#​2815]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2815 [#​2808]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2808 [jsx-eslint/jsx-ast-utils#​102]: https://togithub.com/jsx-eslint/jsx-ast-utils/pull/102 ### [`v7.21.3`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7213---20201002) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.2...v7.21.3) ##### Fixed - [`prop-types`]: fix Cannot read property 'type' of undefined error when destructured param ([#​2807][] [@​minwe](https://togithub.com/minwe)) - [`no-typos`]: avoid crash on spread syntax in createReactClass object ([#​2816][] [@​ljharb](https://togithub.com/ljharb) [@​Songyu-Wang](https://togithub.com/Songyu-Wang)) [7.21.3]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.2...v7.21.3 [#​2816]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2816 [#​2807]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2807 ### [`v7.21.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7212---20200924) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.1...v7.21.2) ##### Fixed - [`prop-types`]: handle RestElement in destructured param ([#​2805][] [@​hank121314](https://togithub.com/hank121314)) [7.21.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.1...v7.21.2 [#​2805]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2805 ### [`v7.21.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7211---20200923) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.0...v7.21.1) ##### Fixed - [`jsx-handler-names`]: avoid a crash when an inline prop is not a MemberExpression ([#​2803][] [@​willheslam](https://togithub.com/willheslam)) [7.21.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.21.0...v7.21.1 [#​2803]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2803 ### [`v7.21.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7210---20200922) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.6...v7.21.0) ##### Added - [`button-has-type`]: support trivial ternary expressions ([#​2748][] [@​Hypnosphi](https://togithub.com/Hypnosphi)) - [`jsx-handler-names`]: add `checkInlineFunction` option ([#​2761][] [@​dididy](https://togithub.com/dididy)) - [`jsx-no-literals`]: add `noAttributeStrings` option ([#​2782][] [@​TaLeaMonet](https://togithub.com/TaLeaMonet)) - [`prop-types`]: add support for `PropTypes.exact` ([#​2740][] [@​jzabala](https://togithub.com/jzabala)) - [`jsx-filename-extension`]: Add allow option ([#​2746][] [@​remcohaszing](https://togithub.com/remcohaszing)) ##### Fixed - [`function-component-definition`]: ignore object properties ([#​2771][] [@​stefan-wullems](https://togithub.com/stefan-wullems)) - [`forbid-component-props`]: Implemented support for "namespaced" components ([#​2767][] [@​mnn](https://togithub.com/mnn)) - [`prefer-read-only-props`]: support Flow `$ReadOnly` ([#​2772][], [#​2779][], [#​2770][] [@​karolina-benitez](https://togithub.com/karolina-benitez)) - [`jsx-handler-names`]: handle whitespace ([#​2789][] [@​AriPerkkio](https://togithub.com/AriPerkkio)) - [`prop-types`]: Detect TypeScript types for destructured default prop values ([#​2780][] [@​sunghyunjo](https://togithub.com/sunghyunjo)) - [`jsx-pascal-case`]: Handle single character namespaced component ([#​2791][] [@​daviferreira](https://togithub.com/daviferreira)) - [`jsx-closing-bracket-location`]: In `tag-aligned`, made a distinction between tabs and spaces ([#​2796][] [@​Moong0122](https://togithub.com/Moong0122)) - [`jsx-handler-names`]: false positive when handler name begins with number ([#​1689][] [@​jsphstls](https://togithub.com/jsphstls)) - [`prop-types`]: Detect JSX returned by sequential expression ([#​2801][] [@​mikol](https://togithub.com/mikol)) - [`jsx-props-no-multi-spaces`]: "Expected no line gap between" false positive ([#​2792][] [@​karolina-benitez](https://togithub.com/karolina-benitez)) - [`no-unknown-property`]: check attributes with any input case ([#​2790][] [@​julienw](https://togithub.com/julienw)) - [`prop-types`]/[`no-unused-prop-types`]: handle CallExpression in ReturnType ([#​2802][] [@​hank121314](https://togithub.com/hank121314)) - [`jsx-uses-react`]: mark fragment variables as used ([#​2775][] [@​remcohaszing](https://togithub.com/remcohaszing)) - [`no-unused-prop-types`]: improve component declared props detection ([#​2755][] [@​jzabala](https://togithub.com/jzabala)) - [`jsx-props-no-multi-spaces`]: Show error in multi-line props ([#​2756][] [@​iiison](https://togithub.com/iiison)) ##### Changed - [Tests][`jsx-one-expression-per-line`]: add passing tests ([#​2799][] [@​TaLeaMonet](https://togithub.com/TaLeaMonet)) - [Tests][`prop-types`]: add test ([#​2757][] [@​jzabala](https://togithub.com/jzabala)) [7.21.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.6...v7.21.0 [#​2802]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2802 [#​2801]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2801 [#​2799]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2799 [#​2796]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2796 [#​2792]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2792 [#​2791]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2791 [#​2790]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2790 [#​2789]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2789 [#​2782]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2782 [#​2780]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2780 [#​2779]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2779 [#​2775]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2775 [#​2772]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2772 [#​2771]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2771 [#​2770]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2770 [#​2767]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2767 [#​2761]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2761 [#​2757]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2757 [#​2756]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2756 [#​2748]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2748 [#​2746]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2746 [#​2740]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2740 [#​1689]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1689 ### [`v7.20.6`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7206---20200812) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.5...v7.20.6) ##### Fixed - [`jsx-curly-brace-presence`]: fix multiline comment case ([#​2716][] [@​ljharb](https://togithub.com/ljharb)) - [`jsx-no-useless-fragment`]: accept fragments with call expressions ([#​2744][] [@​hasparus](https://togithub.com/hasparus)) - [`jsx-no-literals`] with allowStrings doesn't work in props ([#​2736][] [@​karolina-benitez](https://togithub.com/karolina-benitez)) - [`no-find-dom-node`]: Improve error message ([#​2741][] [@​ecraig12345](https://togithub.com/ecraig12345)) - [`no-typos`]/[`no-unused-prop-types`]/propType detection: Support typescript props interface extension and TSTypeAliasDeclaration ([#​2721][] [@​hank121314](https://togithub.com/hank121314)) - [`no-this-in-sfc`]/component detection: add arrow function to list of allowed position for component ([#​2708][] [@​jzabala](https://togithub.com/jzabala)) - [`no-access-state-in-setstate`]: add check for class component ([#​2711][] [@​jzabala](https://togithub.com/jzabala)) - [`prop-types`]/component detection: avoid a crash when a local `createElement` identifier exists ([#​2733][] [@​ljharb](https://togithub.com/ljharb)) ##### Changed - [`no-unused-prop-types`]: add test assigning this.props to a variable [7.20.6]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.5...v7.20.6 [#​2744]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2744 [#​2741]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2741 [#​2737]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2737 [#​2736]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2736 [#​2733]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2733 [#​2721]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2721 [#​2716]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2716 [#​2711]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2711 [#​2708]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2708

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: 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.