This Pull Request updates dependency eslint-plugin-react from v7.5.1 to v7.6.1
Release Notes
### [`v7.6.0`](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#760---2018-01-25)
##### Added
* Add [`forbid-dom-props`][] rule ([#1562][] @davazp)
* Add [`jsx-child-element-spacing`][] rule ([#1515][] @pfhayes)
* Add [`no-this-in-sfc`][] rule ([#1435][] @jomasti)
* Add [`jsx-sort-default-props`][] rule ([#281][] @b0gok)
* Add `message` option to [`boolean-prop-naming`][] ([#1588][] @louisscruz)
* Add `beforeClosing` option to [`jsx-tag-spacing`][] ([#1396][] @cjskillingstad)
* Add `instance-methods` and `instance-variables` to [`sort-comp`][] ([#599][] @RDGthree)
* Add `propWrapperFunctions` support for [`boolean-prop-naming`][] ([#1478][] @jomasti)
* Add warning for `React.addons.TestUtils` in [`no-deprecated`][] ([#1644][] @nirnaor)
* Add URL to rule documentation to the rules metadata ([#1635][] @Arcanemagus)
##### Fixed
* Fix crashes in [`no-access-state-in-setstate`][] ([#1559][] @jomasti, [#1611][] @pfhayes)
* Fix crash in [`require-optimization`][] when encountering arrays with empty items as values in object ([#1621][] @kamataryo)
* Fix crash in [`no-unused-prop-types`][] when passing an empty function as a PropType ([#1542][] [#1581][] @kevinzwhuang)
* Fix crash in [`no-typos`][] when using `PropType.shape` without arguments ([#1471][] @mrichmond)
* Fix crash when using Unions in flow propTypes ([#1468][] @justinanastos)
* Fix missing meta in [`jsx-tag-spacing`][] ([#1650][] @flyerhzm)
* Fix [`no-unused-state`][] to detect usage of `this.state` as an object ([#1572][])
* Fix [`no-access-state-in-setstate`][] to detect when the `state` variable is destructured from `this.state` ([#1597][] @jaaberg)
* Fix [`jsx-no-literals`][] to correctly find string literals part of BinaryExpressions ([#1511][] @jaaberg)
* Fix [`no-typos`][] false positive on custom propTypes with isRequired ([#1607][] @lfades)
* Fix [`prop-types`][] to check for `nextProps` in `componentWillReceiveProps` ([#1636][] @xjmdoo)
* Fix [`no-unknown-property`][] to not pascal-casing `crossorigin` attribute and only allow it on script/img/video ([#1642][] @ljharb)
##### Changed
* Improve [`jsx-wrap-multilines`][] auto fix ([#1576][] @sharmilajesupaul)
* Export `defaultConfig` from [`sort-comp`][] rule for programmatic use ([#1578][] @Andarist)
* Documentation improvements ([#1552][] @TSMMark, [#1566][] @lukeapage, [#1624][] @alexilyaev, @ljharb)
* Update dependencies (@ljharb)
[7.6.0]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.5.1...v7.6.0
[#1562]: `https://github.com/yannickcr/eslint-plugin-react/pull/1562`
[#1515]: `https://github.com/yannickcr/eslint-plugin-react/issues/1515`
[#1435]: `https://github.com/yannickcr/eslint-plugin-react/issues/1435`
[#281]: `https://github.com/yannickcr/eslint-plugin-react/issues/281`
[#1588]: `https://github.com/yannickcr/eslint-plugin-react/pull/1588`
[#1396]: `https://github.com/yannickcr/eslint-plugin-react/issues/1396`
[#599]: `https://github.com/yannickcr/eslint-plugin-react/issues/599`
[#1478]: `https://github.com/yannickcr/eslint-plugin-react/pull/1478`
[#1644]: `https://github.com/yannickcr/eslint-plugin-react/issues/1644`
[#1635]: `https://github.com/yannickcr/eslint-plugin-react/pull/1635`
[#1559]: `https://github.com/yannickcr/eslint-plugin-react/issues/1559`
[#1611]: `https://github.com/yannickcr/eslint-plugin-react/pull/1611`
[#1621]: `https://github.com/yannickcr/eslint-plugin-react/pull/1621`
[#1542]: `https://github.com/yannickcr/eslint-plugin-react/issues/1542`
[#1581]: `https://github.com/yannickcr/eslint-plugin-react/issues/1581`
[#1471]: `https://github.com/yannickcr/eslint-plugin-react/issues/1471`
[#1468]: `https://github.com/yannickcr/eslint-plugin-react/issues/1468`
[#1650]: `https://github.com/yannickcr/eslint-plugin-react/pull/1650`
[#1572]: `https://github.com/yannickcr/eslint-plugin-react/issues/1572`
[#1597]: `https://github.com/yannickcr/eslint-plugin-react/issues/1597`
[#1511]: `https://github.com/yannickcr/eslint-plugin-react/issues/1511`
[#1607]: `https://github.com/yannickcr/eslint-plugin-react/issues/1607`
[#1636]: `https://github.com/yannickcr/eslint-plugin-react/issues/1636`
[#1642]: `https://github.com/yannickcr/eslint-plugin-react/issues/1642`
[#1576]: `https://github.com/yannickcr/eslint-plugin-react/pull/1576`
[#1578]: `https://github.com/yannickcr/eslint-plugin-react/pull/1578`
[#1552]: `https://github.com/yannickcr/eslint-plugin-react/pull/1552`
[#1566]: `https://github.com/yannickcr/eslint-plugin-react/pull/1566`
[#1624]: `https://github.com/yannickcr/eslint-plugin-react/pull/1624`
---
### [`v7.6.1`](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#761---2018-01-28)
##### Fixed
* Flow: fix crash in [`prop-types`][] with recursive type annotations ([#1653][] @jetpacmonkey)
* Fix [`no-unknown-property`][] to properly recognize `crossOrigin` instead of `crossorigin`, and allow it on `link` tags. ([#1659][] @jzDev)
* Fix [`no-access-state-in-setstate`][] to handle object spread ([#1657][] @ljharb)
[7.6.1]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.6.0...v7.6.1
[#1659]: `https://github.com/yannickcr/eslint-plugin-react/pull/1659`
[#1657]: https://github.com/yannickcr/eslint-plugin-react/issue/1657
[#1653]: `https://github.com/yannickcr/eslint-plugin-react/pull/1653`
---
Commits
#### v7.6.0
- [`16e57ff`](https://github.com/yannickcr/eslint-plugin-react/commit/16e57ff8085742e166d03ab45082c647db68eb59) Fix crash in prop-types test with `UnionTypeAnnotation`
- [`077e017`](https://github.com/yannickcr/eslint-plugin-react/commit/077e017892369865301770c4172a3f3faa6748cc) Create failing no-unused-prop-types test with union flowtypes
- [`dd10851`](https://github.com/yannickcr/eslint-plugin-react/commit/dd1085122634344ae2b7e7a928e3d8ebfa240b50) Fix crash in no-unused-prop-types test with `UnionTypeAnnotation`
- [`df17cd4`](https://github.com/yannickcr/eslint-plugin-react/commit/df17cd45658f1ea65bb49340efdf8cd59bd76084) Merge pull request #1563 from justinanastos/fix/prop-types-union-flowtype-1468
- [`2c2d831`](https://github.com/yannickcr/eslint-plugin-react/commit/2c2d8310f5a914d75ea246f516a7e829ee0f439f) Add related rules link to both forbid-dom-props and forbid-component-props
- [`28654e2`](https://github.com/yannickcr/eslint-plugin-react/commit/28654e29b1286d7166f7237a5b4107f5d9045d63) Add more invalid tests cases for forbid-dom-props
- [`ae55fdf`](https://github.com/yannickcr/eslint-plugin-react/commit/ae55fdf7408e65fd5ed66339fd64c1378d015a6a) Fix typo in changelog
- [`7aaec03`](https://github.com/yannickcr/eslint-plugin-react/commit/7aaec03fe6fb60a5537f36a9cb4b409d9bb24953) Merge pull request #1566 from lukeapage/patch-1
- [`adf5d81`](https://github.com/yannickcr/eslint-plugin-react/commit/adf5d816731020931bdec243bfc70ff6002914f7) [Fix] `jsx-curly-spacing`:
- [`115e4b9`](https://github.com/yannickcr/eslint-plugin-react/commit/115e4b900e540ef77ae6b17afd6457da1b5d9c07) [Refactor] Move findVariableByName to variable util
- [`78ec577`](https://github.com/yannickcr/eslint-plugin-react/commit/78ec577ca61ef657f67efcab751ee80c47d80965) test(no-unused-prop-types): Add `import` test with `Union`
- [`6323015`](https://github.com/yannickcr/eslint-plugin-react/commit/6323015242428a2f7e9b490b6e9ca07078a428a0) test(prop-types): Add `import` test with `Union`
- [`e5e4536`](https://github.com/yannickcr/eslint-plugin-react/commit/e5e45361a9462720003510346647a36dcec3bc83) Merge pull request #1570 from justinanastos/fix/prop-types-union-flowtype-1468
- [`e632628`](https://github.com/yannickcr/eslint-plugin-react/commit/e6326281303ec03b8d6f09d50899e1fca92fabd8) [Docs] improve readme
- [`268a704`](https://github.com/yannickcr/eslint-plugin-react/commit/268a704437e73597eb9385c5153ece3312620fe4) Refine schema for forbid-dom-props options
- [`c7dd755`](https://github.com/yannickcr/eslint-plugin-react/commit/c7dd755c4607151d058af39ed45f60613ba16ccf) Merge pull request #1470 from RDGthree/master
- [`af6ccb0`](https://github.com/yannickcr/eslint-plugin-react/commit/af6ccb0d0b6371fa8addafcd4bc176404612c359) Fix no-unused-state to detect usage of this.state as an object (fixes #1572)
- [`c072c89`](https://github.com/yannickcr/eslint-plugin-react/commit/c072c899083bbbfba0a3d51ce0fe4b152f934c27) Merge pull request #1562 from davazp/add-forbid-dom-props-rule
- [`6a41c60`](https://github.com/yannickcr/eslint-plugin-react/commit/6a41c600be7d3ee0d16a92b283f918e5e7da9ac1) Potential autofix improvement for jsx-wrap-mulitlines
- [`b801624`](https://github.com/yannickcr/eslint-plugin-react/commit/b801624066192f486c7d92ca1c1efe3245ad4656) Merge pull request #1576 from sharmilajesupaul/shar--remove-newline-before-paren
- [`06e1667`](https://github.com/yannickcr/eslint-plugin-react/commit/06e1667bd704dbcfe1ce7f12f821bc3274ea69b4) Merge pull request #1519 from pfhayes/spaces
- [`cfd1c34`](https://github.com/yannickcr/eslint-plugin-react/commit/cfd1c3461d01a14a92f665ae89498b1c407085ea) Merge pull request #1509 from jomasti/issue-1435
- [`f044bc2`](https://github.com/yannickcr/eslint-plugin-react/commit/f044bc2a269967a86f31dfe887c4efb92f734306) Export defaultConfig from sort-comp rule for programmatic use
- [`6f444a7`](https://github.com/yannickcr/eslint-plugin-react/commit/6f444a7a8b07f4ded90eee5a9711012e17e503b5) Merge pull request #1578 from Andarist/sort-comp/export-default-config
- [`eefce85`](https://github.com/yannickcr/eslint-plugin-react/commit/eefce85281c0d521a94507bf0c3606b4a091485d) [Dev Deps] update `babel-eslint`, `eslint`
- [`58159c0`](https://github.com/yannickcr/eslint-plugin-react/commit/58159c00a795c67ff9dbe386b9b5b7e2029e4116) [Deps] update `jsx-ast-utils`, `doctrine`
- [`f6e4c89`](https://github.com/yannickcr/eslint-plugin-react/commit/f6e4c891a474aaff8f69088b174de8c1317f8fa8) Merge pull request #1478 from jomasti/issue-1452
- [`9a7423e`](https://github.com/yannickcr/eslint-plugin-react/commit/9a7423ebfac2528e8949a96ab1d9f8a92b079e24) Add custom message
- [`73f135a`](https://github.com/yannickcr/eslint-plugin-react/commit/73f135adb4d2c4fa02bffb037fc3df6909ca152c) Add more test cases for no-access-state-in-setstate
- [`4950623`](https://github.com/yannickcr/eslint-plugin-react/commit/495062336c85a189dbf7e351dfbf4eb3924384e6) Make no-access-state-in-setstate find cases where state is destructured from this
- [`37902d4`](https://github.com/yannickcr/eslint-plugin-react/commit/37902d420fbedf82323e1465ce763386c8193432) Use ESLint string templating
- [`d331af6`](https://github.com/yannickcr/eslint-plugin-react/commit/d331af621b9c7e3bad14268ca4d11192b8658345) Add empty params check for unused prop types rule to fix empty proptype functions from causing crashes
- [`292ebed`](https://github.com/yannickcr/eslint-plugin-react/commit/292ebedfb89102bc7d53caed0eecb0ce86b98733) Merge pull request #1588 from louisscruz/bool-props-message
- [`a908eb3`](https://github.com/yannickcr/eslint-plugin-react/commit/a908eb3a1d9804865a7175c31de52637c33d0279) Merge pull request #1598 from jaaberg/master
- [`6015af2`](https://github.com/yannickcr/eslint-plugin-react/commit/6015af29182e4cd406a6b661539fb592b3a1022e) Add test cases for other forms of empty functions in no-unused-prop-types and remove parser option
- [`3194de2`](https://github.com/yannickcr/eslint-plugin-react/commit/3194de2fdb24d8aa7f858a62cf95b36172a75b88) Exclude references to this.state in setState callback
- [`af6cb31`](https://github.com/yannickcr/eslint-plugin-react/commit/af6cb319a578b78c21b8e5a03f6a80c6d1d41961) Fix typo in comment
- [`eb7e152`](https://github.com/yannickcr/eslint-plugin-react/commit/eb7e152704dac25582b158615169fd791fd539da) Handle nodes without init
- [`4cf6752`](https://github.com/yannickcr/eslint-plugin-react/commit/4cf675294fa7578e1551b77c76d9ff3db5583ccf) Add failing tests for jsx-no-literals with literal as BinaryExpression
- [`2ae8d5e`](https://github.com/yannickcr/eslint-plugin-react/commit/2ae8d5edfbb6e1951d141e3cb88e88132375c3f0) Find usages of literals as a part of BinaryExpressions in jsx-no-literals
- [`f27ebc2`](https://github.com/yannickcr/eslint-plugin-react/commit/f27ebc28ec11b1e99232dae2763246b2293413d6) jsx-no-literals Add tests combining literals and strings
- [`28581df`](https://github.com/yannickcr/eslint-plugin-react/commit/28581df71a7cde4285054b894a2e6759ca0d26ac) jsx-no-literals Find all usages of literals combined with strings
- [`9b8ea5e`](https://github.com/yannickcr/eslint-plugin-react/commit/9b8ea5ef27525d86a9fa80f0bb34026c3a314204) Merge pull request #1600 from kevinzwhuang/fix-unused-prop-types
- [`bb34372`](https://github.com/yannickcr/eslint-plugin-react/commit/bb343723274921500a05eba1a9e68481b7fca3e1) Add test
- [`f40b7b8`](https://github.com/yannickcr/eslint-plugin-react/commit/f40b7b8c982196e24e5c0adc4fd1a0f7120d1275) Merge pull request #1611 from pfhayes/node.init
- [`22c9237`](https://github.com/yannickcr/eslint-plugin-react/commit/22c9237fd447d1bc44a838042799217942fcceb2) Add null avoidance
- [`5f1ec80`](https://github.com/yannickcr/eslint-plugin-react/commit/5f1ec800cb4621f5793d151989ec6a465f33ec67) Merge pull request #1621 from kamataryo/master
- [`686fa76`](https://github.com/yannickcr/eslint-plugin-react/commit/686fa760d9c9e000f236547c25a46e71979a8185) Docs: Document `forbid` for `no-unescaped-entities` rule (#1263)
- [`a7bc91b`](https://github.com/yannickcr/eslint-plugin-react/commit/a7bc91bcafdceeb399abd94f926ca6957982518e) Merge pull request #1624 from alexilyaev/patch-2
- [`d9c36bf`](https://github.com/yannickcr/eslint-plugin-react/commit/d9c36bf88173caf98d77903ab9037ce9807bc4b6) [Tests] `no-typos`: add regression test
- [`c23d395`](https://github.com/yannickcr/eslint-plugin-react/commit/c23d3952f0a5779bff71dab007a6d294dcfcedbd) Merge pull request #1504 from mrichmond/bugfix/no-typos-TypeError
- [`bf544dc`](https://github.com/yannickcr/eslint-plugin-react/commit/bf544dcfc8a35d4fbea12094e6c6305cf50fd079) Add URL to rule documentation to the metadata
- [`07345b4`](https://github.com/yannickcr/eslint-plugin-react/commit/07345b489c2d6e2626b9b0d7573cf8c2a5458335) Merge pull request #1635 from Arcanemagus/rules-docs-url
- [`73c86c9`](https://github.com/yannickcr/eslint-plugin-react/commit/73c86c9d28d8ccebbe594ee73ba5a42a7eb9e0ff) Add beforeClosing option to jsx-tag-spacing
- [`9cc118c`](https://github.com/yannickcr/eslint-plugin-react/commit/9cc118c80ede94ebd958b61f147f656b24f98626) Add unit tests
- [`6fdefcf`](https://github.com/yannickcr/eslint-plugin-react/commit/6fdefcfcc95b2b511e910b9d9cfe313b2dcec8f0) Add jsx-sort-default-props rule
- [`5770c72`](https://github.com/yannickcr/eslint-plugin-react/commit/5770c72094f30c4a2dd7a09abbe85f4f3a309425) Surround sort-default-props keywords with backticks and fix typo
- [`4f00455`](https://github.com/yannickcr/eslint-plugin-react/commit/4f004557ab980ae54b03e9dcdc3742835c48ecae) Add SFC examples in the documentation and tests
- [`ba394d2`](https://github.com/yannickcr/eslint-plugin-react/commit/ba394d292c21f9edd91c896a7cc3716164c55eb0) Fix wording in docs
- [`f5cff2a`](https://github.com/yannickcr/eslint-plugin-react/commit/f5cff2ad9379035a5c4fb67420e1a29446b8c63e) Fix typo
- [`f103712`](https://github.com/yannickcr/eslint-plugin-react/commit/f103712b3cc30f9cd166d7680f4e8ef13314ce04) Make default value allow
- [`2043520`](https://github.com/yannickcr/eslint-plugin-react/commit/204352007380efb272dbb07d195491b9004f48cd) Add multiline test cases
- [`0e983de`](https://github.com/yannickcr/eslint-plugin-react/commit/0e983de47eaf1ef5f49c72619f3f269017a78060) Merge pull request #1641 from cjskillingstad/feat/jsx-tag-spacing_before_closing
- [`2e3a6a4`](https://github.com/yannickcr/eslint-plugin-react/commit/2e3a6a44ec334ab59a8d597d3ffe0fae8a685cca) [Fix] crossOrigin is wrong; and crossorigin is only valid on script/img/video
- [`92add21`](https://github.com/yannickcr/eslint-plugin-react/commit/92add21c427c0065ee3bfbec00bbf5f569012ad6) Adding a warning for React.addons.TestUtils.
- [`8237551`](https://github.com/yannickcr/eslint-plugin-react/commit/8237551309e2beaaa751d3d3fcc8bdb15e0f9a1b) Merge pull request #1645 from nirnaor/master
- [`558576c`](https://github.com/yannickcr/eslint-plugin-react/commit/558576c7920c62df030c7d0819f544b4cabf9cdd) Add more tests with spread, add examples
- [`e24b53f`](https://github.com/yannickcr/eslint-plugin-react/commit/e24b53f9f217218a4546596f485ba1a40fef637f) Add tests and examples with multiple spreads
- [`c2c7a2a`](https://github.com/yannickcr/eslint-plugin-react/commit/c2c7a2ab5c8a514f4414699ed6a4793bf7981b45) Merge pull request #1616 from jaaberg/jsx-no-literals-binary
- [`36beb6d`](https://github.com/yannickcr/eslint-plugin-react/commit/36beb6d6535ff12d60de465507a8b5617fb405b4) Merge pull request #1483 from b0gok/jsx-sort-default-props
- [`d3840a5`](https://github.com/yannickcr/eslint-plugin-react/commit/d3840a51ba0676d261321ec3c5616b709304cf79) add missing meta to jsx-tag-spacing
- [`f9cc10d`](https://github.com/yannickcr/eslint-plugin-react/commit/f9cc10d2b77ed868ae3aec82c89163e9c39c3e3d) prop-types doesn't check nextProps of componentWillReceiveProps
- [`8360ffa`](https://github.com/yannickcr/eslint-plugin-react/commit/8360ffa5614fd4bed039e2122215da2eaaf1035d) support isRequired for custom props and call expressions
- [`1d12044`](https://github.com/yannickcr/eslint-plugin-react/commit/1d12044f83d85dde6ebb5f16084fe5cda2d5b8eb) Merge pull request #1650 from xinminlabs/add-missing-meta-to-jsx-tag-spacing
- [`942a92c`](https://github.com/yannickcr/eslint-plugin-react/commit/942a92ccacdee5e7c9b034bfccdbc6bfdc335f5d) merged one of the previous tests and added 2 new tests for the default parser
- [`20dff22`](https://github.com/yannickcr/eslint-plugin-react/commit/20dff229a934677cb5b9816c73f34c9e34988d57) Adds more checks to MethodDefinition case and adds new test case for default parser
- [`f4cab9a`](https://github.com/yannickcr/eslint-plugin-react/commit/f4cab9a3ddeb730bf5f0ae47b739a6bba84ac237) Merge pull request #1652 from lfades/fix/no-typos
- [`c558451`](https://github.com/yannickcr/eslint-plugin-react/commit/c5584511064b49a6c0d8f99518045f7f03dc1941) Merge pull request #1651 from xjmdoo/master
- [`692cdc8`](https://github.com/yannickcr/eslint-plugin-react/commit/692cdc88c1c41c55604067bf0f261bfba7337d8c) Merge pull request #1643 from ljharb/fix_crossorigin
- [`614d3bd`](https://github.com/yannickcr/eslint-plugin-react/commit/614d3bd49773c6692018adea10750719b2fae4ab) Support recursive type annotations, fixes #913
- [`e4f7e30`](https://github.com/yannickcr/eslint-plugin-react/commit/e4f7e3021adf8f7919a118bd4893f5ba866b1a28) Mark all recursive proptypes as acceptable with {}, not true
- [`7b742d0`](https://github.com/yannickcr/eslint-plugin-react/commit/7b742d0ddecfdfb796a3705aae56e4534c9bb370) Update CHANGELOG and bump version
- [`7443a37`](https://github.com/yannickcr/eslint-plugin-react/commit/7443a37fff3d2cfc77d9c4379e19bb0bc8266800) [New] `forbid-foreign-prop-types`: Add `allowInPropTypes` option
#### v7.6.1
- [`509f2cb`](https://github.com/yannickcr/eslint-plugin-react/commit/509f2cbc211d1c31536d7d778b6b6d162b7c86bc) Use typeof === 'undefined' instead of void 0
- [`f947536`](https://github.com/yannickcr/eslint-plugin-react/commit/f947536ce6daa5b796827e0fc61cbbbd005ed1d3) Fixed crossorigin naming convention to match React's supported HTML attributes.
- [`a19b2ad`](https://github.com/yannickcr/eslint-plugin-react/commit/a19b2adfc26b41de418301bbe9ce80c84e8cfca3) Removed unnecessary mapping and tests handled by React's existing warnings.
- [`d64a16b`](https://github.com/yannickcr/eslint-plugin-react/commit/d64a16bd941ad204ace45edcc8a03c0b0508d10c) Added the missing tagName, link, to support the crossOrigin property.
- [`843d71a`](https://github.com/yannickcr/eslint-plugin-react/commit/843d71a432baf0f01f598d7cf1eea75ad6896e4b) Merge pull request #1653 from jetpacmonkey/master
- [`1d13218`](https://github.com/yannickcr/eslint-plugin-react/commit/1d13218ecb9299b5dce4d18f437c89f1ae209c92) Restore tests and crossorigin attribute map
- [`d060041`](https://github.com/yannickcr/eslint-plugin-react/commit/d060041c20410affe58cb2ddf604d2737b36491a) Merge pull request #1659 from jzDev/jzDev/flip-crossorigin-rule
- [`e56376e`](https://github.com/yannickcr/eslint-plugin-react/commit/e56376eb7a4de0e82a5736b009b7fac943da9062) [Fix] `no-access-state-in-setstate`: handle object spread
- [`f7441bb`](https://github.com/yannickcr/eslint-plugin-react/commit/f7441bb41e4a916b4d5b1b22b136515024f18d65) Update CHANGELOG and bump version
This Pull Request updates dependency eslint-plugin-react from
v7.5.1
tov7.6.1
Release Notes
### [`v7.6.0`](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#760---2018-01-25) ##### Added * Add [`forbid-dom-props`][] rule ([#1562][] @davazp) * Add [`jsx-child-element-spacing`][] rule ([#1515][] @pfhayes) * Add [`no-this-in-sfc`][] rule ([#1435][] @jomasti) * Add [`jsx-sort-default-props`][] rule ([#281][] @b0gok) * Add `message` option to [`boolean-prop-naming`][] ([#1588][] @louisscruz) * Add `beforeClosing` option to [`jsx-tag-spacing`][] ([#1396][] @cjskillingstad) * Add `instance-methods` and `instance-variables` to [`sort-comp`][] ([#599][] @RDGthree) * Add `propWrapperFunctions` support for [`boolean-prop-naming`][] ([#1478][] @jomasti) * Add warning for `React.addons.TestUtils` in [`no-deprecated`][] ([#1644][] @nirnaor) * Add URL to rule documentation to the rules metadata ([#1635][] @Arcanemagus) ##### Fixed * Fix crashes in [`no-access-state-in-setstate`][] ([#1559][] @jomasti, [#1611][] @pfhayes) * Fix crash in [`require-optimization`][] when encountering arrays with empty items as values in object ([#1621][] @kamataryo) * Fix crash in [`no-unused-prop-types`][] when passing an empty function as a PropType ([#1542][] [#1581][] @kevinzwhuang) * Fix crash in [`no-typos`][] when using `PropType.shape` without arguments ([#1471][] @mrichmond) * Fix crash when using Unions in flow propTypes ([#1468][] @justinanastos) * Fix missing meta in [`jsx-tag-spacing`][] ([#1650][] @flyerhzm) * Fix [`no-unused-state`][] to detect usage of `this.state` as an object ([#1572][]) * Fix [`no-access-state-in-setstate`][] to detect when the `state` variable is destructured from `this.state` ([#1597][] @jaaberg) * Fix [`jsx-no-literals`][] to correctly find string literals part of BinaryExpressions ([#1511][] @jaaberg) * Fix [`no-typos`][] false positive on custom propTypes with isRequired ([#1607][] @lfades) * Fix [`prop-types`][] to check for `nextProps` in `componentWillReceiveProps` ([#1636][] @xjmdoo) * Fix [`no-unknown-property`][] to not pascal-casing `crossorigin` attribute and only allow it on script/img/video ([#1642][] @ljharb) ##### Changed * Improve [`jsx-wrap-multilines`][] auto fix ([#1576][] @sharmilajesupaul) * Export `defaultConfig` from [`sort-comp`][] rule for programmatic use ([#1578][] @Andarist) * Documentation improvements ([#1552][] @TSMMark, [#1566][] @lukeapage, [#1624][] @alexilyaev, @ljharb) * Update dependencies (@ljharb) [7.6.0]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.5.1...v7.6.0 [#1562]: `https://github.com/yannickcr/eslint-plugin-react/pull/1562` [#1515]: `https://github.com/yannickcr/eslint-plugin-react/issues/1515` [#1435]: `https://github.com/yannickcr/eslint-plugin-react/issues/1435` [#281]: `https://github.com/yannickcr/eslint-plugin-react/issues/281` [#1588]: `https://github.com/yannickcr/eslint-plugin-react/pull/1588` [#1396]: `https://github.com/yannickcr/eslint-plugin-react/issues/1396` [#599]: `https://github.com/yannickcr/eslint-plugin-react/issues/599` [#1478]: `https://github.com/yannickcr/eslint-plugin-react/pull/1478` [#1644]: `https://github.com/yannickcr/eslint-plugin-react/issues/1644` [#1635]: `https://github.com/yannickcr/eslint-plugin-react/pull/1635` [#1559]: `https://github.com/yannickcr/eslint-plugin-react/issues/1559` [#1611]: `https://github.com/yannickcr/eslint-plugin-react/pull/1611` [#1621]: `https://github.com/yannickcr/eslint-plugin-react/pull/1621` [#1542]: `https://github.com/yannickcr/eslint-plugin-react/issues/1542` [#1581]: `https://github.com/yannickcr/eslint-plugin-react/issues/1581` [#1471]: `https://github.com/yannickcr/eslint-plugin-react/issues/1471` [#1468]: `https://github.com/yannickcr/eslint-plugin-react/issues/1468` [#1650]: `https://github.com/yannickcr/eslint-plugin-react/pull/1650` [#1572]: `https://github.com/yannickcr/eslint-plugin-react/issues/1572` [#1597]: `https://github.com/yannickcr/eslint-plugin-react/issues/1597` [#1511]: `https://github.com/yannickcr/eslint-plugin-react/issues/1511` [#1607]: `https://github.com/yannickcr/eslint-plugin-react/issues/1607` [#1636]: `https://github.com/yannickcr/eslint-plugin-react/issues/1636` [#1642]: `https://github.com/yannickcr/eslint-plugin-react/issues/1642` [#1576]: `https://github.com/yannickcr/eslint-plugin-react/pull/1576` [#1578]: `https://github.com/yannickcr/eslint-plugin-react/pull/1578` [#1552]: `https://github.com/yannickcr/eslint-plugin-react/pull/1552` [#1566]: `https://github.com/yannickcr/eslint-plugin-react/pull/1566` [#1624]: `https://github.com/yannickcr/eslint-plugin-react/pull/1624` --- ### [`v7.6.1`](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#761---2018-01-28) ##### Fixed * Flow: fix crash in [`prop-types`][] with recursive type annotations ([#1653][] @jetpacmonkey) * Fix [`no-unknown-property`][] to properly recognize `crossOrigin` instead of `crossorigin`, and allow it on `link` tags. ([#1659][] @jzDev) * Fix [`no-access-state-in-setstate`][] to handle object spread ([#1657][] @ljharb) [7.6.1]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.6.0...v7.6.1 [#1659]: `https://github.com/yannickcr/eslint-plugin-react/pull/1659` [#1657]: https://github.com/yannickcr/eslint-plugin-react/issue/1657 [#1653]: `https://github.com/yannickcr/eslint-plugin-react/pull/1653` ---Commits
#### v7.6.0 - [`16e57ff`](https://github.com/yannickcr/eslint-plugin-react/commit/16e57ff8085742e166d03ab45082c647db68eb59) Fix crash in prop-types test with `UnionTypeAnnotation` - [`077e017`](https://github.com/yannickcr/eslint-plugin-react/commit/077e017892369865301770c4172a3f3faa6748cc) Create failing no-unused-prop-types test with union flowtypes - [`dd10851`](https://github.com/yannickcr/eslint-plugin-react/commit/dd1085122634344ae2b7e7a928e3d8ebfa240b50) Fix crash in no-unused-prop-types test with `UnionTypeAnnotation` - [`df17cd4`](https://github.com/yannickcr/eslint-plugin-react/commit/df17cd45658f1ea65bb49340efdf8cd59bd76084) Merge pull request #1563 from justinanastos/fix/prop-types-union-flowtype-1468 - [`2c2d831`](https://github.com/yannickcr/eslint-plugin-react/commit/2c2d8310f5a914d75ea246f516a7e829ee0f439f) Add related rules link to both forbid-dom-props and forbid-component-props - [`28654e2`](https://github.com/yannickcr/eslint-plugin-react/commit/28654e29b1286d7166f7237a5b4107f5d9045d63) Add more invalid tests cases for forbid-dom-props - [`ae55fdf`](https://github.com/yannickcr/eslint-plugin-react/commit/ae55fdf7408e65fd5ed66339fd64c1378d015a6a) Fix typo in changelog - [`7aaec03`](https://github.com/yannickcr/eslint-plugin-react/commit/7aaec03fe6fb60a5537f36a9cb4b409d9bb24953) Merge pull request #1566 from lukeapage/patch-1 - [`adf5d81`](https://github.com/yannickcr/eslint-plugin-react/commit/adf5d816731020931bdec243bfc70ff6002914f7) [Fix] `jsx-curly-spacing`: - [`115e4b9`](https://github.com/yannickcr/eslint-plugin-react/commit/115e4b900e540ef77ae6b17afd6457da1b5d9c07) [Refactor] Move findVariableByName to variable util - [`78ec577`](https://github.com/yannickcr/eslint-plugin-react/commit/78ec577ca61ef657f67efcab751ee80c47d80965) test(no-unused-prop-types): Add `import` test with `Union` - [`6323015`](https://github.com/yannickcr/eslint-plugin-react/commit/6323015242428a2f7e9b490b6e9ca07078a428a0) test(prop-types): Add `import` test with `Union` - [`e5e4536`](https://github.com/yannickcr/eslint-plugin-react/commit/e5e45361a9462720003510346647a36dcec3bc83) Merge pull request #1570 from justinanastos/fix/prop-types-union-flowtype-1468 - [`e632628`](https://github.com/yannickcr/eslint-plugin-react/commit/e6326281303ec03b8d6f09d50899e1fca92fabd8) [Docs] improve readme - [`268a704`](https://github.com/yannickcr/eslint-plugin-react/commit/268a704437e73597eb9385c5153ece3312620fe4) Refine schema for forbid-dom-props options - [`c7dd755`](https://github.com/yannickcr/eslint-plugin-react/commit/c7dd755c4607151d058af39ed45f60613ba16ccf) Merge pull request #1470 from RDGthree/master - [`af6ccb0`](https://github.com/yannickcr/eslint-plugin-react/commit/af6ccb0d0b6371fa8addafcd4bc176404612c359) Fix no-unused-state to detect usage of this.state as an object (fixes #1572) - [`c072c89`](https://github.com/yannickcr/eslint-plugin-react/commit/c072c899083bbbfba0a3d51ce0fe4b152f934c27) Merge pull request #1562 from davazp/add-forbid-dom-props-rule - [`6a41c60`](https://github.com/yannickcr/eslint-plugin-react/commit/6a41c600be7d3ee0d16a92b283f918e5e7da9ac1) Potential autofix improvement for jsx-wrap-mulitlines - [`b801624`](https://github.com/yannickcr/eslint-plugin-react/commit/b801624066192f486c7d92ca1c1efe3245ad4656) Merge pull request #1576 from sharmilajesupaul/shar--remove-newline-before-paren - [`06e1667`](https://github.com/yannickcr/eslint-plugin-react/commit/06e1667bd704dbcfe1ce7f12f821bc3274ea69b4) Merge pull request #1519 from pfhayes/spaces - [`cfd1c34`](https://github.com/yannickcr/eslint-plugin-react/commit/cfd1c3461d01a14a92f665ae89498b1c407085ea) Merge pull request #1509 from jomasti/issue-1435 - [`f044bc2`](https://github.com/yannickcr/eslint-plugin-react/commit/f044bc2a269967a86f31dfe887c4efb92f734306) Export defaultConfig from sort-comp rule for programmatic use - [`6f444a7`](https://github.com/yannickcr/eslint-plugin-react/commit/6f444a7a8b07f4ded90eee5a9711012e17e503b5) Merge pull request #1578 from Andarist/sort-comp/export-default-config - [`eefce85`](https://github.com/yannickcr/eslint-plugin-react/commit/eefce85281c0d521a94507bf0c3606b4a091485d) [Dev Deps] update `babel-eslint`, `eslint` - [`58159c0`](https://github.com/yannickcr/eslint-plugin-react/commit/58159c00a795c67ff9dbe386b9b5b7e2029e4116) [Deps] update `jsx-ast-utils`, `doctrine` - [`f6e4c89`](https://github.com/yannickcr/eslint-plugin-react/commit/f6e4c891a474aaff8f69088b174de8c1317f8fa8) Merge pull request #1478 from jomasti/issue-1452 - [`9a7423e`](https://github.com/yannickcr/eslint-plugin-react/commit/9a7423ebfac2528e8949a96ab1d9f8a92b079e24) Add custom message - [`73f135a`](https://github.com/yannickcr/eslint-plugin-react/commit/73f135adb4d2c4fa02bffb037fc3df6909ca152c) Add more test cases for no-access-state-in-setstate - [`4950623`](https://github.com/yannickcr/eslint-plugin-react/commit/495062336c85a189dbf7e351dfbf4eb3924384e6) Make no-access-state-in-setstate find cases where state is destructured from this - [`37902d4`](https://github.com/yannickcr/eslint-plugin-react/commit/37902d420fbedf82323e1465ce763386c8193432) Use ESLint string templating - [`d331af6`](https://github.com/yannickcr/eslint-plugin-react/commit/d331af621b9c7e3bad14268ca4d11192b8658345) Add empty params check for unused prop types rule to fix empty proptype functions from causing crashes - [`292ebed`](https://github.com/yannickcr/eslint-plugin-react/commit/292ebedfb89102bc7d53caed0eecb0ce86b98733) Merge pull request #1588 from louisscruz/bool-props-message - [`a908eb3`](https://github.com/yannickcr/eslint-plugin-react/commit/a908eb3a1d9804865a7175c31de52637c33d0279) Merge pull request #1598 from jaaberg/master - [`6015af2`](https://github.com/yannickcr/eslint-plugin-react/commit/6015af29182e4cd406a6b661539fb592b3a1022e) Add test cases for other forms of empty functions in no-unused-prop-types and remove parser option - [`3194de2`](https://github.com/yannickcr/eslint-plugin-react/commit/3194de2fdb24d8aa7f858a62cf95b36172a75b88) Exclude references to this.state in setState callback - [`af6cb31`](https://github.com/yannickcr/eslint-plugin-react/commit/af6cb319a578b78c21b8e5a03f6a80c6d1d41961) Fix typo in comment - [`eb7e152`](https://github.com/yannickcr/eslint-plugin-react/commit/eb7e152704dac25582b158615169fd791fd539da) Handle nodes without init - [`4cf6752`](https://github.com/yannickcr/eslint-plugin-react/commit/4cf675294fa7578e1551b77c76d9ff3db5583ccf) Add failing tests for jsx-no-literals with literal as BinaryExpression - [`2ae8d5e`](https://github.com/yannickcr/eslint-plugin-react/commit/2ae8d5edfbb6e1951d141e3cb88e88132375c3f0) Find usages of literals as a part of BinaryExpressions in jsx-no-literals - [`f27ebc2`](https://github.com/yannickcr/eslint-plugin-react/commit/f27ebc28ec11b1e99232dae2763246b2293413d6) jsx-no-literals Add tests combining literals and strings - [`28581df`](https://github.com/yannickcr/eslint-plugin-react/commit/28581df71a7cde4285054b894a2e6759ca0d26ac) jsx-no-literals Find all usages of literals combined with strings - [`9b8ea5e`](https://github.com/yannickcr/eslint-plugin-react/commit/9b8ea5ef27525d86a9fa80f0bb34026c3a314204) Merge pull request #1600 from kevinzwhuang/fix-unused-prop-types - [`bb34372`](https://github.com/yannickcr/eslint-plugin-react/commit/bb343723274921500a05eba1a9e68481b7fca3e1) Add test - [`f40b7b8`](https://github.com/yannickcr/eslint-plugin-react/commit/f40b7b8c982196e24e5c0adc4fd1a0f7120d1275) Merge pull request #1611 from pfhayes/node.init - [`22c9237`](https://github.com/yannickcr/eslint-plugin-react/commit/22c9237fd447d1bc44a838042799217942fcceb2) Add null avoidance - [`5f1ec80`](https://github.com/yannickcr/eslint-plugin-react/commit/5f1ec800cb4621f5793d151989ec6a465f33ec67) Merge pull request #1621 from kamataryo/master - [`686fa76`](https://github.com/yannickcr/eslint-plugin-react/commit/686fa760d9c9e000f236547c25a46e71979a8185) Docs: Document `forbid` for `no-unescaped-entities` rule (#1263) - [`a7bc91b`](https://github.com/yannickcr/eslint-plugin-react/commit/a7bc91bcafdceeb399abd94f926ca6957982518e) Merge pull request #1624 from alexilyaev/patch-2 - [`d9c36bf`](https://github.com/yannickcr/eslint-plugin-react/commit/d9c36bf88173caf98d77903ab9037ce9807bc4b6) [Tests] `no-typos`: add regression test - [`c23d395`](https://github.com/yannickcr/eslint-plugin-react/commit/c23d3952f0a5779bff71dab007a6d294dcfcedbd) Merge pull request #1504 from mrichmond/bugfix/no-typos-TypeError - [`bf544dc`](https://github.com/yannickcr/eslint-plugin-react/commit/bf544dcfc8a35d4fbea12094e6c6305cf50fd079) Add URL to rule documentation to the metadata - [`07345b4`](https://github.com/yannickcr/eslint-plugin-react/commit/07345b489c2d6e2626b9b0d7573cf8c2a5458335) Merge pull request #1635 from Arcanemagus/rules-docs-url - [`73c86c9`](https://github.com/yannickcr/eslint-plugin-react/commit/73c86c9d28d8ccebbe594ee73ba5a42a7eb9e0ff) Add beforeClosing option to jsx-tag-spacing - [`9cc118c`](https://github.com/yannickcr/eslint-plugin-react/commit/9cc118c80ede94ebd958b61f147f656b24f98626) Add unit tests - [`6fdefcf`](https://github.com/yannickcr/eslint-plugin-react/commit/6fdefcfcc95b2b511e910b9d9cfe313b2dcec8f0) Add jsx-sort-default-props rule - [`5770c72`](https://github.com/yannickcr/eslint-plugin-react/commit/5770c72094f30c4a2dd7a09abbe85f4f3a309425) Surround sort-default-props keywords with backticks and fix typo - [`4f00455`](https://github.com/yannickcr/eslint-plugin-react/commit/4f004557ab980ae54b03e9dcdc3742835c48ecae) Add SFC examples in the documentation and tests - [`ba394d2`](https://github.com/yannickcr/eslint-plugin-react/commit/ba394d292c21f9edd91c896a7cc3716164c55eb0) Fix wording in docs - [`f5cff2a`](https://github.com/yannickcr/eslint-plugin-react/commit/f5cff2ad9379035a5c4fb67420e1a29446b8c63e) Fix typo - [`f103712`](https://github.com/yannickcr/eslint-plugin-react/commit/f103712b3cc30f9cd166d7680f4e8ef13314ce04) Make default value allow - [`2043520`](https://github.com/yannickcr/eslint-plugin-react/commit/204352007380efb272dbb07d195491b9004f48cd) Add multiline test cases - [`0e983de`](https://github.com/yannickcr/eslint-plugin-react/commit/0e983de47eaf1ef5f49c72619f3f269017a78060) Merge pull request #1641 from cjskillingstad/feat/jsx-tag-spacing_before_closing - [`2e3a6a4`](https://github.com/yannickcr/eslint-plugin-react/commit/2e3a6a44ec334ab59a8d597d3ffe0fae8a685cca) [Fix] crossOrigin is wrong; and crossorigin is only valid on script/img/video - [`92add21`](https://github.com/yannickcr/eslint-plugin-react/commit/92add21c427c0065ee3bfbec00bbf5f569012ad6) Adding a warning for React.addons.TestUtils. - [`8237551`](https://github.com/yannickcr/eslint-plugin-react/commit/8237551309e2beaaa751d3d3fcc8bdb15e0f9a1b) Merge pull request #1645 from nirnaor/master - [`558576c`](https://github.com/yannickcr/eslint-plugin-react/commit/558576c7920c62df030c7d0819f544b4cabf9cdd) Add more tests with spread, add examples - [`e24b53f`](https://github.com/yannickcr/eslint-plugin-react/commit/e24b53f9f217218a4546596f485ba1a40fef637f) Add tests and examples with multiple spreads - [`c2c7a2a`](https://github.com/yannickcr/eslint-plugin-react/commit/c2c7a2ab5c8a514f4414699ed6a4793bf7981b45) Merge pull request #1616 from jaaberg/jsx-no-literals-binary - [`36beb6d`](https://github.com/yannickcr/eslint-plugin-react/commit/36beb6d6535ff12d60de465507a8b5617fb405b4) Merge pull request #1483 from b0gok/jsx-sort-default-props - [`d3840a5`](https://github.com/yannickcr/eslint-plugin-react/commit/d3840a51ba0676d261321ec3c5616b709304cf79) add missing meta to jsx-tag-spacing - [`f9cc10d`](https://github.com/yannickcr/eslint-plugin-react/commit/f9cc10d2b77ed868ae3aec82c89163e9c39c3e3d) prop-types doesn't check nextProps of componentWillReceiveProps - [`8360ffa`](https://github.com/yannickcr/eslint-plugin-react/commit/8360ffa5614fd4bed039e2122215da2eaaf1035d) support isRequired for custom props and call expressions - [`1d12044`](https://github.com/yannickcr/eslint-plugin-react/commit/1d12044f83d85dde6ebb5f16084fe5cda2d5b8eb) Merge pull request #1650 from xinminlabs/add-missing-meta-to-jsx-tag-spacing - [`942a92c`](https://github.com/yannickcr/eslint-plugin-react/commit/942a92ccacdee5e7c9b034bfccdbc6bfdc335f5d) merged one of the previous tests and added 2 new tests for the default parser - [`20dff22`](https://github.com/yannickcr/eslint-plugin-react/commit/20dff229a934677cb5b9816c73f34c9e34988d57) Adds more checks to MethodDefinition case and adds new test case for default parser - [`f4cab9a`](https://github.com/yannickcr/eslint-plugin-react/commit/f4cab9a3ddeb730bf5f0ae47b739a6bba84ac237) Merge pull request #1652 from lfades/fix/no-typos - [`c558451`](https://github.com/yannickcr/eslint-plugin-react/commit/c5584511064b49a6c0d8f99518045f7f03dc1941) Merge pull request #1651 from xjmdoo/master - [`692cdc8`](https://github.com/yannickcr/eslint-plugin-react/commit/692cdc88c1c41c55604067bf0f261bfba7337d8c) Merge pull request #1643 from ljharb/fix_crossorigin - [`614d3bd`](https://github.com/yannickcr/eslint-plugin-react/commit/614d3bd49773c6692018adea10750719b2fae4ab) Support recursive type annotations, fixes #913 - [`e4f7e30`](https://github.com/yannickcr/eslint-plugin-react/commit/e4f7e3021adf8f7919a118bd4893f5ba866b1a28) Mark all recursive proptypes as acceptable with {}, not true - [`7b742d0`](https://github.com/yannickcr/eslint-plugin-react/commit/7b742d0ddecfdfb796a3705aae56e4534c9bb370) Update CHANGELOG and bump version - [`7443a37`](https://github.com/yannickcr/eslint-plugin-react/commit/7443a37fff3d2cfc77d9c4379e19bb0bc8266800) [New] `forbid-foreign-prop-types`: Add `allowInPropTypes` option #### v7.6.1 - [`509f2cb`](https://github.com/yannickcr/eslint-plugin-react/commit/509f2cbc211d1c31536d7d778b6b6d162b7c86bc) Use typeof === 'undefined' instead of void 0 - [`f947536`](https://github.com/yannickcr/eslint-plugin-react/commit/f947536ce6daa5b796827e0fc61cbbbd005ed1d3) Fixed crossorigin naming convention to match React's supported HTML attributes. - [`a19b2ad`](https://github.com/yannickcr/eslint-plugin-react/commit/a19b2adfc26b41de418301bbe9ce80c84e8cfca3) Removed unnecessary mapping and tests handled by React's existing warnings. - [`d64a16b`](https://github.com/yannickcr/eslint-plugin-react/commit/d64a16bd941ad204ace45edcc8a03c0b0508d10c) Added the missing tagName, link, to support the crossOrigin property. - [`843d71a`](https://github.com/yannickcr/eslint-plugin-react/commit/843d71a432baf0f01f598d7cf1eea75ad6896e4b) Merge pull request #1653 from jetpacmonkey/master - [`1d13218`](https://github.com/yannickcr/eslint-plugin-react/commit/1d13218ecb9299b5dce4d18f437c89f1ae209c92) Restore tests and crossorigin attribute map - [`d060041`](https://github.com/yannickcr/eslint-plugin-react/commit/d060041c20410affe58cb2ddf604d2737b36491a) Merge pull request #1659 from jzDev/jzDev/flip-crossorigin-rule - [`e56376e`](https://github.com/yannickcr/eslint-plugin-react/commit/e56376eb7a4de0e82a5736b009b7fac943da9062) [Fix] `no-access-state-in-setstate`: handle object spread - [`f7441bb`](https://github.com/yannickcr/eslint-plugin-react/commit/f7441bb41e4a916b4d5b1b22b136515024f18d65) Update CHANGELOG and bump versionThis PR has been generated by Renovate Bot.