algolia / algolia-sitemap

a node library allowing you to generate sitemaps from an Algolia index.
https://yarn.pm/algolia-sitemap
MIT License
35 stars 15 forks source link

chore(deps): update dependency eslint-plugin-react to v7.20.3 #124

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 6 years ago

This PR contains the following updates:

Package Type Update Change
eslint-plugin-react devDependencies minor 7.8.2 -> 7.20.3

Release Notes

yannickcr/eslint-plugin-react ### [`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 - [Fix] `no-unused-prop-types`/`prop-types`: typescript interface support literal type and only FunctionComponent should have propTypes validation ([#​2690][] [@​hank121314](https://togithub.com/hank121314)) - [Fix] `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 - [Fix][`no-unused-prop-types`]: handle optional chaining ([#​2679][] [@​hank121314](https://togithub.com/hank121314)) - [Fix][`jsx-pascal-case`]: fix a false positive with "H1" ([#​2683][] [@​ljharb](https://togithub.com/ljharb)) - [Fix][`jsx-no-useless-fragment`]: avoid a crash when autofixing a self-closing React.Fragment ([#​2680][] [@​ljharb](https://togithub.com/ljharb)) - [Fix][`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/977 ### [`v7.17.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7170---2019-11-28) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.16.0...v7.17.0) ##### Added - [`jsx-no-target-blank`][]: add `allowReferrer` option ([#​2478][] [@​eps1lon](https://togithub.com/eps1lon)) - [`jsx-handler-names`][]: add `checkLocalVariables` option ([#​2470][] [@​aub](https://togithub.com/aub)) - [`prop-types`][]: Support Flow Type spread ([#​2446][] [@​moroine](https://togithub.com/moroine)) - [`jsx-props-no-spreading`][]: add `explicitSpread` option to allow explicit spread of props ([#​2449][] [@​pawelnvk](https://togithub.com/pawelnvk)) - [`jsx-no-target-blank`][]: warn on `target={'_blank'}` expressions ([#​2451][] [@​timkraut](https://togithub.com/timkraut)) - [`function-component-definition`]: Enforce a specific function type for function components ([#​2414][] [@​Stefanwullems](https://togithub.com/Stefanwullems)) ##### Fixed - [`sort-prop-types`][], [`jsx-sort-default-props`][]: disable broken autofix ([#​2505][] [@​webOS101](https://togithub.com/webOS101)) - [`no-typos`][]: improve report location ([#​2468][] [@​golopot](https://togithub.com/golopot)) - [`jsx-no-literals`][]: trim whitespace for `allowedStrings` check ([#​2436][] [@​cainlevy](https://togithub.com/cainlevy)) - [`jsx-curly-brace-presence`][]: Fix filter of undefined error with whitespace inside jsx attr curlies ([#​2460][] [@​dustinyoste](https://togithub.com/dustinyoste)) - [`no-render-return-value`][]: should warn when used in assignment expression ([#​2462][] [@​jichu4n](https://togithub.com/jichu4n)) - [`jsx-curly-brace-presence`][]: allow trailing spaces in literal ([#​2448][] [@​doochik](https://togithub.com/doochik)) ##### Changed - [Deps] update `jsx-ast-utils`, `object.fromentries`, `resolve` - [eslint] fix func-names and change object-shorthand to 'always' ([#​2483][] [@​golopot](https://togithub.com/golopot)) - [Docs] `jsx-first-prop-new-line`: Fix documentation formatting ([#​2489][] [@​pjg](https://togithub.com/pjg)) - [Docs][`prop-types`]\[]: Update 'skipUndeclared' in rule options ([#​2504][] [@​cjnickel](https://togithub.com/cjnickel)) - [Docs][`jsx-first-prop-new-line`]\[]: fix wrong rule name ([#​2500][] [@​zgayjjf](https://togithub.com/zgayjjf)) - [eslint] enable eslint-plugin-eslint-plugin ([#​2469][] [@​golopot](https://togithub.com/golopot)) - [Docs][`jsx-props-no-multi-spaces`]\[]: suggest using core rule instead ([#​2463][] [@​golopot](https://togithub.com/golopot)) - [Docs][`jsx-first-prop-new-line`]\[]: add rule options ([#​2465][] [@​SerdarMustafa1](https://togithub.com/SerdarMustafa1)) - [Docs][`jsx-no-target-blank`]\[]: Add section about overriding for trusted links ([#​2438][] [@​aschriner](https://togithub.com/aschriner)) - [Docs] fix typo ([#​2453][] [@​cainwatson](https://togithub.com/cainwatson)) - [Docs][`no-unused-prop-types`]\[]: clean up prose ([#​2273][] [@​coryhouse](https://togithub.com/coryhouse)) - [Docs][`jsx-no-bind`]\[]: add section about React Hooks ([#​2443][] [@​kdex](https://togithub.com/kdex)) [7.17.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.16.0...v7.17.0 [#​2532]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2532 [#​2505]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2505 [#​2504]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2504 [#​2500]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2500 [#​2489]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2489 [#​2483]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2483 [#​2478]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2478 [#​2470]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2470 [#​2469]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2469 [#​2468]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2468 [#​2465]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2465 [#​2463]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2463 [#​2460]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2460 [#​2453]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2453 [#​2451]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2451 [#​2449]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2449 [#​2448]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2448 [#​2446]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2446 [#​2443]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2443 [#​2438]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2438 [#​2436]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2436 [#​2414]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2414 [#​2273]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2273 ### [`v7.16.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7160---2019-10-04) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.15.1...v7.16.0) ##### Added - [`jsx-sort-default-props`][]: make rule fixable ([#​2429][] [@​emroussel](https://togithub.com/emroussel)) ##### Fixed - [`jsx-no-useless-fragment`][]: use `array-includes` over `.includes` for back compat ([@​ljharb](https://togithub.com/ljharb)) - [`jsx-curly-brace-presence`][]: allow necessary white-space literal ([#​2437][] [@​uniqname](https://togithub.com/uniqname)) - [`jsx-curly-brace-presence`][]: warns incorrectly on trailing whitespace ([#​2431][] [@​BC-M](https://togithub.com/BC-M)) - [`no-unused-prop-types`][]: false positive when nested destructuring ([#​2428][] [@​golopot](https://togithub.com/golopot)) [7.16.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.15.1...v7.16.0 [#​2437]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2437 [#​2431]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2431 [#​2429]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2429 [#​2428]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2428 ### [`v7.15.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7151---2019-10-01) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.15.0...v7.15.1) ##### Fixed - [`jsx-curly-brace-presence`][]: bail out checks when JSXElements are passed as props ([#​2426][] [@​vedadeepta](https://togithub.com/vedadeepta)) ##### Changed - [Docs][`prefer-es6-class`]\[]: Fix typos ([#​2425][] [@​spencerbyw](https://togithub.com/spencerbyw)) [7.15.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.15.0...v7.15.1 [#​2426]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2426 [#​2425]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2425 ### [`v7.15.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7150---2019-09-30) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.14.3...v7.15.0) ##### Added - add [`jsx-no-useless-fragment`][] rule ([#​2261][] [@​golopot](https://togithub.com/golopot)) - [`jsx-handler-name`][]: allow `false` to disable `eventHandlerPrefix`/`eventHandlerPropPrefix` ([#​2410][] [@​tanmoyopenroot](https://togithub.com/tanmoyopenroot)) - [`sort-comp`][]: add `static-variables` grouping ([#​2408][] [@​vedadeepta](https://togithub.com/vedadeepta)) - [`jsx-no-literals`][]: Add `allowedStrings` option ([#​2380][] [@​benhollander](https://togithub.com/benhollander)) - [`no-multi-comp`][]: Added handling for `forwardRef` and `memo` wrapping components declared in the same file ([#​2184][] [@​jenil94](https://togithub.com/jenil94)) - [`jsx-pascal-case`][]: `allowAllCaps` option now allows `SCREAMING_SNAKE_CASE` ([#​2364][] [@​TylerR909](https://togithub.com/TylerR909)) ##### Fixed - [`jsx-indent`][]: Fix false positive when a jsx element is the last statement within a do expression (with tests) ([#​2200][] [@​Kenneth-KT](https://togithub.com/Kenneth-KT)) - [`jsx-curly-brace-presence`][]: fix jsx tags in braces ([#​2422][] [@​tanmoyopenroot](https://togithub.com/tanmoyopenroot)) - [`display-name`][]: Fix false positives ([#​2399][] [@​BPScott](https://togithub.com/BPScott)) - [`jsx-curly-brace-presence`][]: report unnecessary curly braces with children on next line ([#​2409][] [@​vedadeepta](https://togithub.com/vedadeepta)) - [`no-unused-prop-types`][]: false positive with callback ([#​2375][] [@​golopot](https://togithub.com/golopot)) - Fix prop-types detection collision on renamed props ([#​2383][] [@​yannickcr](https://togithub.com/yannickcr)) - [`jsx-sort-props`][]: use localeCompare rather than comparison operator ([#​2391][] [@​tanmoyopenroot](https://togithub.com/tanmoyopenroot)) - [`jsx-pascal-case`][]: allow one-letter-named components ([#​2395][] [@​Haegin](https://togithub.com/Haegin)) - [`jsx-wrap-multilines`][]: fix incorrect formatting ([#​2392][] [@​tanmoyopenroot](https://togithub.com/tanmoyopenroot)) - [`require-optimization`][]: fix when using arrow function in class components ([#​2385][] [@​jenil94](https://togithub.com/jenil94)) - [`no-deprecated`][]: Deprecate cWM/cWRP/cWU lifecycle methods since React 16.9.0 ([#​2378][] [@​meowtec](https://togithub.com/meowtec)) - [`jsx-key`][]: improve docs and confusing error message ([#​2367][] [@​kaykayehnn](https://togithub.com/kaykayehnn)) - Recognize props wrapped in flow $ReadOnly<> utility type ([#​2361][] [@​lukeapage](https://togithub.com/lukeapage)) - [`prop-types`][]: false positive with setState updator ([#​2359][] [@​golopot](https://togithub.com/golopot)) ##### Changed - [Docs][`no-access-state-in-setstate`]\[]: update grammar ([#​2418][] [@​neaumusic](https://togithub.com/neaumusic)) - [`jsx-curly-brace-presence`][], [`jsx-one-expression-per-line`][], [`no-danger-with-children`][]: add `isWhiteSpaces` to `lib/util/jsx` ([#​2409][] [@​vedadeepta](https://togithub.com/vedadeepta)) [7.15.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.14.3...v7.15.0 [#​2422]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2422 [#​2410]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2410 [#​2409]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2409 [#​2408]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2408 [#​2402]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2402 [#​2399]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2399 [#​2395]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2395 [#​2392]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2392 [#​2391]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2391 [#​2385]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2385 [#​2383]: https://togithub.com/yannickcr/eslint-plugin-react/issue/2383 [#​2380]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2380 [#​2378]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2378 [#​2375]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2375 [#​2367]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2367 [#​2364]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2364 [#​2361]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2361 [#​2359]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2359 [#​2261]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2261 [#​2200]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2200 [#​2184]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2184 ### [`v7.14.3`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7143---2019-07-23) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.14.2...v7.14.3) ##### Fixed - Fix [`prop-types`][] to ignore validation when Flow indexers are used ([#​2330][] [@​yannickcr](https://togithub.com/yannickcr)) - Fix error being thrown after the first warning when react version cannot be detected ([#​2336][] [@​abhishekdev](https://togithub.com/abhishekdev)) - Fix component detection when `memo` and `forwardRef` are used together ([#​2349][] [@​yannickcr](https://togithub.com/yannickcr)) ##### Changed - Documentation improvements ([@​ljharb](https://togithub.com/ljharb), [#​2354][] [@​golopot](https://togithub.com/golopot)) [7.14.3]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.14.2...v7.14.3 [#​2330]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2330 [#​2336]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2336 [#​2349]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2349 [#​2354]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2354 ### [`v7.14.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7142---2019-06-24) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.14.1...v7.14.2) ##### Fixed - Fix [`prop-types`][] crash on for...of destructuring ([#​2326][] [@​yannickcr](https://togithub.com/yannickcr)) [7.14.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.14.1...v7.14.2 [#​2326]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2326 ### [`v7.14.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7141---2019-06-24) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.14.0...v7.14.1) ##### Fixed - Fix [`prop-types`][] crash on multiple destructuring ([#​2319][] [@​golopot](https://togithub.com/golopot)) [7.14.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.14.0...v7.14.1 [#​2319]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2319 ### [`v7.14.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7140---2019-06-23) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.13.0...v7.14.0) ##### Added - Add [`jsx-curly-newline`][] rule ([#​1493][] [@​golopot](https://togithub.com/golopot)) - Add support for nested destructuring to [`prop-types`][] ([#​296][] [#​1422][] [@​golopot](https://togithub.com/golopot)) - Add support for variables defined as props to [`prop-types`][] and [`no-unused-prop-types`][] ([#​442][] [#​833][] [#​1002][] [#​1116][] [#​1257][] [#​1764][] [@​golopot](https://togithub.com/golopot)) - Add `checkFragmentShorthand` option to [`jsx-key`][] ([#​2316][] [@​kaykayehnn](https://togithub.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][] [@​jaaberg](https://togithub.com/jaaberg)) - Fix [`sort-prop-types`][] cash when a shape PropType is defined in a variable ([#​1749][] [@​alexzherdev](https://togithub.com/alexzherdev)) - Fix [`no-unused-state`][] false positive when using state of non-lifecycle method ([#​2274][] [@​golopot](https://togithub.com/golopot)) - Fix [`static-property-placement`][] false positive when accessing static property inside method ([#​2283][] [@​dmason30](https://togithub.com/dmason30)) - Fix [`prop-type`][] detection for annotated props with default value ([#​2298][] [@​yannickcr](https://togithub.com/yannickcr)) ##### Changed - Add ESLint 6.0.0 as valid peerDependency ([@​yannickcr](https://togithub.com/yannickcr)) - Improve [`no-render-return-value`][] performance ([#​2259][] [@​golopot](https://togithub.com/golopot)) - Change [`jsx-sort-props`][] to report errors only on the identifier ([#​2312][] [@​MrHen](https://togithub.com/MrHen)) - Change to warn only once if react version cannot be detected ([#​2276][] [@​ljharb](https://togithub.com/ljharb)) - Documentation improvements ([#​2263][] [@​dimitropoulos](https://togithub.com/dimitropoulos), [#​2262][] [@​ybiquitous](https://togithub.com/ybiquitous), [#​2295][] [@​battaglr](https://togithub.com/battaglr), [#​2302][] [@​Jason-Cooke](https://togithub.com/Jason-Cooke), [#​2303][] [@​golopot](https://togithub.com/golopot)) - Code refactoring ([#​2265][] [#​2267][] [#​2286][] [#​2294][] [@​golopot](https://togithub.com/golopot), [@​ljharb](https://togithub.com/ljharb)) - Tests improvements ([#​2304][] [#​1047][] [@​golopot](https://togithub.com/golopot), [@​yannickcr](https://togithub.com/yannickcr)) [7.14.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.13.0...v7.14.0 [#​296]: https://togithub.com/yannickcr/eslint-plugin-react/issues/296 [#​442]: https://togithub.com/yannickcr/eslint-plugin-react/issues/442 [#​833]: https://togithub.com/yannickcr/eslint-plugin-react/issues/833 [#​1002]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1002 [#​1047]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1047 [#​1116]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1116 [#​1257]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1257 [#​1422]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1422 [#​1493]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1493 [#​1595]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1595 [#​1749]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1749 [#​1764]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1764 [#​2259]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2259 [#​2262]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2262 [#​2263]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2263 [#​2265]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2265 [#​2267]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2267 [#​2274]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2274 [#​2276]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2276 [#​2283]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2283 [#​2286]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2286 [#​2294]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2294 [#​2295]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2295 [#​2298]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2298 [#​2302]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2302 [#​2303]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2303 [#​2304]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2304 [#​2312]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2312 [#​2316]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2316 ### [`v7.13.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7130---2019-05-03) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.4...v7.13.0) ##### Added - Make [`jsx-sort-props`][] fully fixable ([#​2250][], [@​guliashvili](https://togithub.com/guliashvili)) - [`boolean-prop-naming`][]: add `validateNested` option to validate shape prop names ([#​2234][], [@​pawelnvk](https://togithub.com/pawelnvk)) - add [`static-property-placement`][] rule ([#​2193][], [@​dmason30](https://togithub.com/dmason30)) - add "detect" for flow version ([#​2233][], [@​jedwards1211](https://togithub.com/jedwards1211)) - [`jsx-indent`][]: Add `indentLogicalExpressions` option ([#​2227][], [@​mdnsk](https://togithub.com/mdnsk)) - add [`jsx-props-no-spreading`][] ([#​2191][], [@​ashbhir](https://togithub.com/ashbhir)) - [`no-string-refs`][]: Added `noTemplateLiteral` option ([#​2167][], [@​jenil94](https://togithub.com/jenil94)) - add `linkComponents` setting ([#​2116][], [@​gbakernet](https://togithub.com/gbakernet)) - [`jsx-no-target-blank`][]: add support for `linkComponents` setting ([#​2116][], [@​gbakernet](https://togithub.com/gbakernet)) - Add [`state-in-constructor`][] rule ([#​1945][], [@​lukyth](https://togithub.com/lukyth)) - Add [`prefer-read-only-props`][] rule ([#​2110][], [@​golopot](https://togithub.com/golopot)) - [`no-unescaped-entities`][]: more friendly error message; add config to adjust ([#​2016][], [@​stevemao](https://togithub.com/stevemao)) ##### Fixed - [`jsx-props-no-multi-spaces`][]: support generic components (ts) ([#​2256][], [@​mateuszsokola](https://togithub.com/mateuszsokola)) - [`prop-types`][]: fix case with destructuring and default param ([#​2246][], [@​golopot](https://togithub.com/golopot)) - [`prefer-stateless-function`][]: Ignoring pure components without props and context usage ([#​2238][], [@​pawelnvk](https://togithub.com/pawelnvk)) - `propTypes`: resolveSuperParameterPropsType: add null check ([#​2232][], [@​jedwards1211](https://togithub.com/jedwards1211)) - [`self-closing-comp`][]: stop reporting single-line spaces ([#​2210][], [@​golopot](https://togithub.com/golopot)) - [`require-render-return`][]: more accurate report location ([#​2229][], [@​golopot](https://togithub.com/golopot)) - [`sort-prop-types`][]: Fix sorting props with numeric keys ([#​2230][], [@​pawelnvk](https://togithub.com/pawelnvk)) - [`display-name`][]: fix false negative around nested functions ([#​2225][], [@​dwelle](https://togithub.com/dwelle)) - [`no-unknown-property`][]: fix case like `` ([#​2207][], [@​golopot](https://togithub.com/golopot)) - [`jsx-curly-brace-presence`][]: accept multiline template string ([#​2203][], [@​golopot](https://togithub.com/golopot)) - [`jsx-one-expression-per-line`][]: fix when using tabs ([#​2198][], [@​Ohar](https://togithub.com/Ohar)) - [`prop-types`][]: Fix false positive on computed member expression ([#​2202][], [@​golopot](https://togithub.com/golopot)) - [`jsx-sort-default-props`][]: fix case with spread ([#​2182][], [@​VincentLanglet](https://togithub.com/VincentLanglet)) - [`no-this-in-sfc`][]: Fix false positive on SFC defined as object property ([#​2147][], [@​yannickcr](https://togithub.com/yannickcr)) - [`sort-comp`][]: correctly recognize instance variables declared without explicit value ([#​2183][], [@​yannickcr](https://togithub.com/yannickcr)) - [`no-unused-state`][]: fix set state callback destructing & state use inside callback ([#​2151][], [@​barakyosi](https://togithub.com/barakyosi)) - [`no-multi-comp`][]: correctly ignore wrapped stateless components: ([#​2145][], [@​yannickcr](https://togithub.com/yannickcr)) - [`display-name`][]: avoid crash on for..of ([#​2137][], [@​ljharb](https://togithub.com/ljharb)) ##### Changed - [Docs][`no-access-state-in-setstate`]\[]: Use syntax highlighting for examples ([#​2160][], [@​pReya](https://togithub.com/pReya)) - [Docs][`jsx-fragments`]\[]: add "fixable" note ([#​2143][], [@​joshunger](https://togithub.com/joshunger)) - [Docs] Added shared settings info, React version default note ([#​2180][], [@​samsch](https://togithub.com/samsch)) - [Tests][`jsx-curly-spacing`]\[]: add regression test case ([#​2206][], [@​ColCh](https://togithub.com/ColCh)) [7.13.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.4...v7.13.0 [#​2256]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2256 [#​2250]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2250 [#​2246]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2246 [#​2238]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2238 [#​2234]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2234 [#​2233]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2233 [#​2232]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2232 [#​2230]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2230 [#​2229]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2229 [#​2227]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2227 [#​2225]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2225 [#​2210]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2210 [#​2207]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2207 [#​2206]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2206 [#​2203]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2203 [#​2202]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2202 [#​2198]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2198 [#​2193]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2193 [#​2191]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2191 [#​2183]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2183 [#​2182]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2182 [#​2180]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2180 [#​2167]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2167 [#​2147]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2147 [#​2145]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2145 [#​2143]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2143 [#​2137]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2137 [#​2116]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2116 [#​2110]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2110 [#​2016]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2016 [#​1945]: https://togithub.com/yannickcr/eslint-plugin-react/pull/1945 ### [`v7.12.4`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7124---2019-01-16) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.3...v7.12.4) ##### Fixed - [`no-unused-prop-types`][]: avoid a crash ([#​2131][], [@​ljharb](https://togithub.com/ljharb)) - [`prop-types`][]: avoid further crashes from nonexistent nodes in unusedPropTypes ([#​2127][], [@​ljharb](https://togithub.com/ljharb)) - [`prop-types`][]: Read name of callee object ([#​2125][], [@​CrOrc](https://togithub.com/CrOrc)) - [`prop-types`][]: Ignore reassignments when matching props declarations with components ([#​2051][], [#​1957][], [@​yannickcr](https://togithub.com/yannickcr)) - [`prop-types`][], [`no-unused-prop-types`][], [`require-default-props`][]: Detect components with return statement in switch/case ([#​2118][], [@​yannickcr](https://togithub.com/yannickcr)) ##### Changed - [`prop-types`][], [`no-typos`][]: add passing test cases ([#​2123][], [#​2128][], [#​2136][], [#​2134][], [@​ljharb](https://togithub.com/ljharb)) [7.12.4]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.3...v7.12.4 [#​2136]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2136 [#​2134]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2134 [#​2131]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2131 [#​2128]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2128 [#​2127]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2127 [#​2125]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2125 [#​2123]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2123 [#​2118]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2118 [#​2051]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2051 [#​1957]: https://togithub.com/yannickcr/eslint-plugin-react/issues/1957 ### [`v7.12.3`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7123---2019-01-04) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.2...v7.12.3) ##### Fixed - [`jsx-indent`][]: Prevent crash on valueless props ([#​2120][], [@​jomasti](https://togithub.com/jomasti)) - [`jsx-fragments`][]: avoid crashing on self-closing fragments ([#​2113][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [`no-unused-prop-types`][]: Fix propType detection inside class bodies ([#​2115][], [@​drx](https://togithub.com/drx)) - [`no-unused-prop-types`][]: fix issue with propTypes misclassifying props ([#​2111][], [@​drx](https://togithub.com/drx)) - [`display-name`][]: fix false positive for `React.memo` ([#​2109][], [@​jomasti](https://togithub.com/jomasti)) ##### Changed - [Docs] add a missing comma in the JSON settings ([#​2117][], [@​haideralsh](https://togithub.com/haideralsh)) - [Docs] update README to document React version detection ([#​2114][], [@​mohsinulhaq](https://togithub.com/mohsinulhaq)) [7.12.3]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.2...v7.12.3 [#​2120]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2120 [#​2117]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2117 [#​2115]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2115 [#​2114]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2114 [#​2113]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2113 [#​2111]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2111 [#​2109]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2109 ### [`v7.12.2`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7122---2019-01-02) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.1...v7.12.2) ##### Fixed - [`prop-types`][]: avoid crash on used prevProps ([#​2095][], [@​ljharb](https://togithub.com/ljharb)) - Version warning: Link does not end with '.' ([#​2103][], [@​yoyo837](https://togithub.com/yoyo837))) - [`forbid-prop-types`][]: fix crash with propWrapper check on MemberExpressions ([#​2104][], [@​ljharb](https://togithub.com/ljharb)) [7.12.2]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.1...v7.12.2 [#​2104]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2104 [#​2103]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2103 [#​2095]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2095 ### [`v7.12.1`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7121---2019-01-01) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.0...v7.12.1) ##### Fixed - [`no-unused-state`][]: Fix crash with class fields ([#​2098][], [@​jomasti](https://togithub.com/jomasti)) - [`prop-types`][]: Fix false positives inside lifecycle methods ([#​2099][], [@​jomasti](https://togithub.com/jomasti)) - [`jsx-max-depth`][]: avoid a crash ([#​2102][], [@​ljharb](https://togithub.com/ljharb)) - [`jsx-wrap-multilines`][]: avoid crash when no trailing newline ([#​2100][], [@​ljharb](https://togithub.com/ljharb)) ##### Changed - Fix CHANGELOG.md ([#​2097][], [@​alexzherdev](https://togithub.com/alexzherdev)) [7.12.1]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.12.0...v7.12.1 [#​2102]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2102 [#​2100]: https://togithub.com/yannickcr/eslint-plugin-react/issues/2100 [#​2099]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2099 [#​2098]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2098 [#​2097]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2097 ### [`v7.12.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#​7120---2018-12-27) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.11.1...v7.12.0) ##### Added - [`no-typos`]: Support createClass ([#​1828][], [@​alexzherdev](https://togithub.com/alexzherdev)) - Support detecting React.forwardRef/React.memo ([#​2089][], [@​jomasti](https://togithub.com/jomasti)) - [`jsx-indent`][]: add `checkAttributes` option for JSX attribute indentation ([#​2086][], [@​jomasti](https://togithub.com/jomasti)) - Change allowed `propWrapperFunctions` setting values ([#​2065][], [@​jomasti](https://togithub.com/jomasti)) - add [`jsx-fragments`][] rule to enforce fragment syntax ([#​1994][], [@​alexzherdev](https://togithub.com/alexzherdev)) - Support "detect" option for React version setting ([#​1978][], [@​alexzherdev](https://togithub.com/alexzherdev)) - Support shorthand fragment syntax in many rules ([#​1956][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [`jsx-no-literals`][]: print node value in warning message ([#​2008][], [@​jlgonzalezdev](https://togithub.com/jlgonzalezdev)) ##### Fixed - [`jsx-max-depth`][]: Fix depth of JSX siblings in a JSXEpressionContainer ([#​1824][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [`no-array-index-key`][]: fix in React.Children methods ([#​2085][], [@​himynameisdave](https://togithub.com/himynameisdave)) - [`no-unused-state`][]: handle functional setState ([#​2084][], [@​jomasti](https://togithub.com/jomasti)) - version errors should log to stderr, not stdout ([#​2082][], [@​ljharb](https://togithub.com/ljharb)) - [`no-deprecated`][]: Disable legacy lifecycle methods linting for now ([#​2069][], [@​sergei-startsev](https://togithub.com/sergei-startsev)) - ensure that react and flow versions can be numbers ([#​2056][], [@​ljharb](https://togithub.com/ljharb)) - [`forbid-foreign-prop-types`][]: ensure `allowInPropTypes` option applies to class fields ([#​2040][], [@​Sheile](https://togithub.com/Sheile)) - [`jsx-wrap-multilines`][]: catch single missing newlines ([#​1984][], [@​MrHen](https://togithub.com/MrHen)) - [`jsx-first-prop-new-line`][]: Fix for parsers (like TypeScript) ([#​2026][], [@​HauptmannEck](https://togithub.com/HauptmannEck)) - [`sort-comp`][]: Fix fixer in case of more than 10 props ([#​2012][], [@​tihonove](https://togithub.com/tihonove)) - [`no-unused-state`][] Don't depend on state parameter name ([#​1829][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [`no-this-in-sfc`][] fix for class properties ([#​1995][], [@​sergei-startsev](https://togithub.com/sergei-startsev)) - [`no-this-in-sfc`][] fix rule behavior for arrow functions inside a class field ([#​1989][], [@​sergei-startsev](https://togithub.com/sergei-startsev)) - [`destructuring-assignment`][]: handle nested props usage ([#​1983][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [`sort-prop-types`][]: fix string property order ([#​1977][], [@​metreniuk](https://togithub.com/metreniuk)) - [`jsx-no-target-blank`][]: don’t crash when there’s no value ([#​1949][], [@​ljharb](https://togithub.com/ljharb)) - [`prop-types`][], [`no-unused-prop-types`][]: better handle object spread ([#​1939][], [@​alexzherdev](https://togithub.com/alexzherdev)) ##### Changed - [`jsx-fragments`][]: improve message text ([#​2032][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [`no-unsafe`][]: handle all unsafe life-cycle methods ([#​2075][], [@​sergei-startsev](https://togithub.com/sergei-startsev)) - [`require-default-props`][]: Change error message naming from singular defaultProp to plural defaultProps ([#​2064][], [@​jseminck](https://togithub.com/jseminck)) - [Refactor] Extract used `propTypes` detection ([#​1946][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [Refactor] Extract `defaultProps` detection ([#​1942][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [Refactor] Extract required `propTypes` detection ([#​2001][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [Docs][`no-did-mount-set-state`]\[], [`no-did-update-set-state`][], [`no-will-update-set-state`][]: fix docs URLs ([#​2090][], [@​JBallin](https://togithub.com/JBallin)) - [Docs] Remove statement on GC in jsx-no-bind ([#​2067][], [@​rickhanlonii](https://togithub.com/rickhanlonii)) - [Docs][`jsx-sort-props`]\[]: Fix small mistake ([#​2044][], [@​dimitarnestorov](https://togithub.com/dimitarnestorov)) - [Docs][`no-unescaped-entities`]\[]: add more escape examples ([#​2015][], [@​stevemao](https://togithub.com/stevemao)) - [Docs][`display-name`]\[]: mention default `ignoreTranspilerName` value ([#​2002][], [@​OliverJAsh](https://togithub.com/OliverJAsh)) - [Docs][`jsx-no-target-blank`]\[]: Add full example ([#​1988][], [@​atomcorp](https://togithub.com/atomcorp)) - [Docs] Update [`jsx-no-target-blank`][].md ([#​1953][], [@​brunocoelho](https://togithub.com/brunocoelho)) - [Changelog] fix "Ignore class properties" contributor ([#​1941][], [@​alexzherdev](https://togithub.com/alexzherdev)) - [Tests] Remove redundant `require('babel-eslint')` from tests ([#​2004][], [@​sergei-startsev](https://togithub.com/sergei-startsev)) - [Tests][`prop-types`]\[]: Add tests for prop-types destructuring ([#​2029][], [@​sstern6](https://togithub.com/sstern6)) - [Tests][`display-name`]\[]: add false positive component detection for destructured createElement ([#​1098][], [@​arian](https://togithub.com/arian)) [7.12.0]: https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.11.1...v7.12.0 [#​2090]: https://togithub.com/yannickcr/eslint-plugin-react/pull/2090 [#​2089]: https://togithub.c

Renovate configuration

:date: Schedule: "every weekend" in timezone Europe/Paris.

:vertical_traffic_light: Automerge: Enabled.

:recycle: Rebasing: Whenever PR is behind base branch, 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.