Closed renovate[bot] closed 3 years ago
As this PR has been closed unmerged, Renovate will now ignore this update (7.21.5). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps
array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.
This PR contains the following updates:
7.17.0
->7.21.5
Release Notes
yannickcr/eslint-plugin-react
### [`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 ### [`v7.20.5`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7205---20200728) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.4...v7.20.5) ##### Fixed - [`jsx-curly-brace-presence`]: disable disallowed JSX text chars check in props ([#2710][] [@jzabala](https://togithub.com/jzabala)) - [`no-unused-state`]: check for class expression ([#2712][] [@jzabala](https://togithub.com/jzabala)) - [`prop-types`]: handle anonymous functions ([#2730][], [#2731][] [@odinho](https://togithub.com/odinho) [@wKich](https://togithub.com/wKich) [@jzabala](https://togithub.com/jzabala)) ##### Docs - [Docs][`no-access-state-in-setstate`]: fix example ([#2724][] [@youngjuning](https://togithub.com/youngjuning)) [7.20.5]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.4...v7.20.5 [#2731]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2731 [#2730]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2730 [#2724]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2724 [#2712]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2712 [#2710]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2710 ### [`v7.20.4`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7204---20200726) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.4) ##### Fixed - improve algorithm to check if a variable is coming from the pragma ([#2706][] [@jzabala](https://togithub.com/jzabala)) - [`prop-types`]: handle component returning null ([#2696][] [@hank121314](https://togithub.com/hank121314)) - [`prop-types`]/[`function-component-definition`]: Add check for first letter capitalization in functional component detection ([#2699][] [@jzabala](https://togithub.com/jzabala)) - [`prop-types`]: use variable value in prop type fields defined by variables ([#2704][] [@jzabala](https://togithub.com/jzabala)) - [`no-typos`]: warn on a bindingless `react` import ##### Changed - [Tests] `boolean-prop-naming`: Added test for function invocation of bool ([#2697][] [@ajkovar](https://togithub.com/ajkovar)) - [Tests] `jsx-curly-brace-presence`, `jsx-no-comment-textnodes`: add passing tests - [Refactor] `no-unused-state`: avoid a loop [7.20.4]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.4 [#2704]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2704 [#2699]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2699 [#2697]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2697 [#2696]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2696 ### [`v7.20.3`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7203---2020-06-30) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.2...v7.20.3) ##### Fixed - [`no-unused-prop-types`]/[`prop-types`]: typescript interface support literal type and only FunctionComponent should have propTypes validation ([#2690][] [@hank121314](https://togithub.com/hank121314)) - [`no-unused-prop-types`]/TypeScript: avoid crash on indexable interface ([#2687][] [@ljharb](https://togithub.com/ljharb)) [7.20.3]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.2...v7.20.3 [#2690]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2690 [#2687]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2687 ### [`v7.20.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7202---2020-06-29) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.1...v7.20.2) ##### Fixed - [`no-unused-prop-types`]: handle optional chaining ([#2679][] [@hank121314](https://togithub.com/hank121314)) - [`jsx-pascal-case`]: fix a false positive with "H1" ([#2683][] [@ljharb](https://togithub.com/ljharb)) - [`jsx-no-useless-fragment`]: avoid a crash when autofixing a self-closing React.Fragment ([#2680][] [@ljharb](https://togithub.com/ljharb)) - [`forbid-prop-types`]: avoid crash ([#2682][] [@ljharb](https://togithub.com/ljharb)) [7.20.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.1...v7.20.2 [#2683]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2683 [#2682]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2682 [#2680]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2680 [#2679]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2679 ### [`v7.20.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7201---2020-06-28) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.0...v7.20.1) ##### Fixed - [`forbid-dom-props`], [`function-component-definition`]: fix schema typos ([#2667][] [@mflorence99](https://togithub.com/mflorence99)) - [`no-unused-prop-types`]: fix with typescript eslint parser ([#2661][] [@eltonio450](https://togithub.com/eltonio450)) ##### Changed - [`forbid-prop-types`]: warn on destructured values as well ([#2676][] [@ajkovar](https://togithub.com/ajkovar)) - relax JSX pragma regexp ([#2643][] [@gfmio](https://togithub.com/gfmio)) - Cache detected React version ([#2673][] [@lencioni](https://togithub.com/lencioni)) - [refactor][`jsx-pascal-case`]: Remove xregexp ([#2636][] [@yacinehmito](https://togithub.com/yacinehmito))) - [Tests] a [`no-typos`] test fails in eslint v7.3 ([#2678][] [@toshi-toma](https://togithub.com/toshi-toma)) - [Deps] update `jsx-ast-utils`, `object.entries`, `resolve` - [Dev Deps] update `@types/eslint`, `@types/estree`, `@types/node`, `@typescript-eslint/parser`, `eslint-config-airbnb-base`, `eslint-plugin-eslint-plugin`, `eslint-plugin-import`, `typescript` [7.20.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.20.0...v7.20.1 [#2676]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2676 [#2673]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2673 [#2667]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2667 [#2661]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2661 [#2643]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2643 [#2636]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2636 ### [`v7.20.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7200---2020-05-12) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0) ##### Added - support eslint v7 ([#2635][] [@ljharb](https://togithub.com/ljharb), [@toshi-toma](https://togithub.com/toshi-toma)) - [`forbid-component-props`][]/[`forbid-dom-props`][]: Allow a custom message with forbid props ([#2615][] [@mtamhankar1](https://togithub.com/mtamhankar1)) - [`jsx-no-literals`][]: add `ignoreProps` option to ignore props validation ([#2146][] [@iiison](https://togithub.com/iiison)) ##### Fixed - [`jsx-sort-props`][]: only use localeCompare when case is ignored ([#2556][] [@tanmoyopenroot](https://togithub.com/tanmoyopenroot)) - [`jsx-key`][]: add a failing test case for optional chaining ([#2610][] [@JonathanLee-LX](https://togithub.com/JonathanLee-LX)) - [`no-unused-state`][]: handle optional chaining ([#2588][] [@golopot](https://togithub.com/golopot)) - [`jsx-pascal-case`][]: Do not consider namespaces when checking for DOM ([#2638][] [@yacinehmito](https://togithub.com/yacinehmito)) - [`jsx-curly-spacing`][], [`jsx-no-bind`][], `usedPropTypes` util: avoid node.start and node.end ([25b1936][] [@toshi-toma](https://togithub.com/toshi-toma)) - [`jsx-no-target-blank`][]: allow `no-referrer` without `noopener` by default ([#2043][] [@seancrater](https://togithub.com/seancrater)) - [`button-has-type`][]: improve message when non-static value is used ([aecff62][] [@golopot](https://togithub.com/golopot)) - [`no-adjacent-inline-elements`][]: prevent crash on nullish children ([#2621][] [@Rogdham](https://togithub.com/Rogdham)) - [`prop-types`][]: avoid crash when spreading any type ([#2606][] [@golopot](https://togithub.com/golopot))) - [`require-render-return`][]: add missing "a" ([#2604][] [@leothorp](https://togithub.com/leothorp)) - [`jsx-no-comment-textnodes`][]: fix for `@typescript-eslint/parser` ([#2601][] [@Axnyff](https://togithub.com/Axnyff)) - [`displayName`][]: avoid a crash when using React.memo ([#2587][] [@golopot](https://togithub.com/golopot)) ##### Docs - Clean up examples in rule docs ([#2546][] [@silvenon](https://togithub.com/silvenon)) - [readme] Add Rules of Hooks to Other useful plugins section ([#2633][] [@petetnt](https://togithub.com/petetnt)) - [`no-this-in-sfc`][]: backtick `this` ([#2616][] [@mrflip](https://togithub.com/mrflip)) - [`function-component-definition`][]: Fix unnamedComponents option examples ([#2608][] [@vkrol](https://togithub.com/vkrol))) ##### Changed - [Deps] Move "semver" to devDependencies ([#2595][] [@rajivshah3](https://togithub.com/rajivshah3)) - [eslint] remove `operator-linebreak` override ([#2578][] [@golopot](https://togithub.com/golopot)) - [Tests] `button-has-type`: ensure no mistakenly allowed identifiers named `button`/`submit`/`reset` ([#2625][] [@golopot](https://togithub.com/golopot)) - [Tests] `displayName`: add a test case ([#2593][] [@golopot](https://togithub.com/golopot)) - [Dev Deps] update `@types/eslint`, `@types/estree`, `@types/node`, `@typescript-eslint/parser`, `coveralls`, `eslint-config-airbnb-base`, `eslint-plugin-import`, `typescript` [7.20.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0 [#2638]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2638 [#2635]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2635 [#2633]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2633 [#2625]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2625 [#2621]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2621 [#2616]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2616 [#2615]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2615 [#2610]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2610 [#2608]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2608 [#2606]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2606 [#2604]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2604 [#2601]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2601 [#2595]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2595 [#2593]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2593 [#2588]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2588 [#2587]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2587 [#2578]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2578 [#2556]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2556 [#2546]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2546 [#2146]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2146 [#2043]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2043 [25b1936]: https://togithub.com/yannickcr/eslint-plugin-react/commit/25b19365e6cc3f188d6a5ed6cecc70fe6f1af7cd [aecff62]: https://togithub.com/yannickcr/eslint-plugin-react/commit/aecff625bf0590ed4d80ed6b58b81af11901f5f6 ### [`v7.19.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7190---2020-03-06) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.3...v7.19.0) ##### Added - [`style-prop-object`][]: Add `allow` option ([#1819][] [@hornta](https://togithub.com/hornta)) - [`jsx-pascal-case`][]: Support unicode characters ([#2557][] [@Svish](https://togithub.com/Svish)) ##### Fixed - [`prefer-stateless-function`][]: avoid crash on ts empty constructor ([#2582][] [@golopot](https://togithub.com/golopot)) - [`no-adjacent-inline-elements`][]: avoid a crash ([#2575] [@ljharb](https://togithub.com/ljharb)) - [`no-unused-prop-types`][]: Change the reporting to point to a more accurate node ([#2292][] [@jseminck](https://togithub.com/jseminck)) - [`self-closing-comp`][]: consider JSXMemberExpression as component too ([#2572][] [@Belco90](https://togithub.com/Belco90)) - [`no-unused-prop-types`][]: make `markPropTypesAsUsed` work with `TSEmptyBodyFunctionExpression` AST node ([#2560][] [@guillaumewuip](https://togithub.com/guillaumewuip)) - [`displayName`][] (but really, `propTypes` detection): do not crash on empty flow type spreads ([#2570][] [@ljharb](https://togithub.com/ljharb)) ##### Changed - [readme] Small visual inconsistency ([#2568] [@arvigeus](https://togithub.com/arvigeus)) - [docs] add `react/` prefix to rule name, for consistency - [`no-unescaped-entities`][]: skip test cases that are now parsing errors in acorn-jsx@5.2.0 ([#2583] [@golopot](https://togithub.com/golopot)) [7.19.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.3...v7.19.0 [#2583]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2583 [#2582]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2582 [#2575]: https://togithub.com/yannickcr/eslint-plugin-react/issue/2575 [#2572]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2572 [#2570]: https://togithub.com/yannickcr/eslint-plugin-react/issue/2570 [#2568]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2568 [#2560]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2560 [#2557]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2557 [#2292]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2292 [#1819]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1819 ### [`v7.18.3`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7183---2020-02-02) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.2...v7.18.3) ##### Fixed - [`jsx-indent`][]: don't check literals not within JSX ([#2564][] [@toshi-toma](https://togithub.com/toshi-toma)) [7.18.3]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.2...v7.18.3 [#2564]: https://togithub.com/yannickcr/eslint-plugin-react/issue/2564 ### [`v7.18.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7182---2020-02-01) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.1...v7.18.2) ##### Fixed - [`jsx-indent`][]: avoid a crash on non-string literals ([#2561][] [@ljharb](https://togithub.com/ljharb)) [7.18.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.1...v7.18.2 [#2561]: https://togithub.com/yannickcr/eslint-plugin-react/issue/2561 ### [`v7.18.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7181---2020-02-01) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.0...v7.18.1) ##### Fixed - [`jsx-indent`][]: Does not check indents for JSXText ([#2542][] [@toshi-toma](https://togithub.com/toshi-toma)) - [`jsx-props-no-spreading`][]: add support for namespaced jsx components ([#2534][] [@jonathanpalma](https://togithub.com/jonathanpalma)) - [`jsx-no-target-blank`][]: allow rel to be an expression ([#2544][] [@odinho](https://togithub.com/odinho)) - [`sort-comp`][]: `|` isn’t a valid regex flag; `u` and `s` are ([@ljharb](https://togithub.com/ljharb)) ##### Changed - [Docs] use `markdown-magic` to automatically sort all rules alphabetically ([#1742][] [@ybiquitous](https://togithub.com/ybiquitous)) - [Docs][`jsx-props-no-spreading`]\[]: fix typo to use correct rule ([#2547][] [@jonggyun](https://togithub.com/jonggyun))) [7.18.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.18.0...v7.18.1 [#2547]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2547 [#2544]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2544 [#2542]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2542 [#2534]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2534 [#1742]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1742 ### [`v7.18.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#7180---2020-01-15) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.17.0...v7.18.0) ##### Added - [`require-default-props`][]: add option to ignore functional components ([#2532][] [@RedTn](https://togithub.com/RedTn)) - [`function-component-definition`][]: Enforce a specific function type for function components ([#2414][] [@Stefanwullems](https://togithub.com/Stefanwullems)) - [`no-adjacent-inline-elements`][]: Prevent adjacent inline elements not separated by whitespace ([#1155][] [@SeanHayes](https://togithub.com/SeanHayes)) - [`jsx-no-script-url`][]: prevent usage of `javascript:` URLs ([#2419][] [@sergei-startsev](https://togithub.com/sergei-startsev)) ##### Fixed - [`jsx-pascal-case`][]: false negative with namespacing ([#1337][] [@mfyuce](https://togithub.com/mfyuce)) - [`jsx-curly-brace-presence`][]: Fix `curly-brace-presence` edge cases ([#2523][] [@rafbgarcia](https://togithub.com/rafbgarcia)) - [`prop-types`][]: Does not validate missing propTypes for LogicalExpression ([#2533][] [@toshi-toma](https://togithub.com/toshi-toma)) - [`no-unknown-property`][]: allowTransparency does not exist in React >= v16.1 ([#1538][] [@dawidvdh](https://togithub.com/dawidvdh)) - [`jsx-curly-brace-presence`][]: Fix error related to tags line break ([#2521][] [@rafbgarcia](https://togithub.com/rafbgarcia)) - [`no-typos`][]: Compilation error when method name is string instead of identifier ([#2514][] [@shijistar](https://togithub.com/shijistar)) - [`jsx-curly-brace-presence`][]: allow trailing spaces in TemplateLiteral ([#2507][] [@doochik](https://togithub.com/doochik)) - [`no-unused-prop-types`], [`no-unused-state`]: fix false positives when using TS type assertions ([#2536][] [@kdmadej](https://togithub.com/kdmadej)) ##### Changed - [Docs][`no-render-return-value`]\[]: Fix title ([#2540][] [@micnic](https://togithub.com/micnic)) - [Refactor]: remove unused codes in util/propTypes ([#2288][] [@golopot](https://togithub.com/golopot)) - [`no-typos`]: check static lifecycle methods ([#2006][] [@bsonntag](https://togithub.com/bsonntag)) - [Docs][`jsx-first-prop-new-line`]\[]: Fix rule name in "Rule Options" section ([#2535][] [@barreira](https://togithub.com/barreira)) - [Tests][`no-unused-prop-types`]\[]: Added test cases ([#977][] [@dozoisch](https://togithub.com/dozoisch)) - [Tests] avoid running tests on pretest job - [meta] Move eslint-plugin-eslint-plugin to devDeps ([#2510][] [@nstepien](https://togithub.com/nstepien)) - [Deps] update `array-includes`, `object.entries`, `object.fromentries`, `object.values`, `resolve` [7.18.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.17.0...v7.18.0 [#2540]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2540 [#2536]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2536 [#2535]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2535 [#2533]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2533 [#2532]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2532 [#2523]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2523 [#2521]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2521 [#2514]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2514 [#2510]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2510 [#2507]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2507 [#2419]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2419 [#2414]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2414 [#2288]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2288 [#2006]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2006 [#1538]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1538 [#1337]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1337 [#1155]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1155 [#977]: https://togithub.com/yannickcr/eslint-plugin-react/pull/977Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled due to failing status checks.
: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.