Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

Update eslint-plugin-react to 7.8.2 #26

Merged
merged 1 commit into from
May 17, 2018

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 22, 2018

This Pull Request updates dependency eslint-plugin-react from v7.5.1 to v7.8.2

Release Notes

v7.8.2

Compare Source

Fixed
  • Fix crash in [boolean-prop-naming][] when encountering a required shape prop type (#​1791 @​pcorpet)

v7.8.1

Compare Source

Fixed
  • Fix crash in [no-deprecated][] when encountering a class constructor (#​1785 @​taddei)

v7.8.0

Compare Source

Added
  • Add support for fragments to [react-in-jsx-scope][] (#​1758)
  • Add support for Flow generic PropType to [require-default-props][] (#​1724 @​Miziak)
  • Add component whitelist option to [forbid-component-props][] (#​1732 @​ThiefMaster)
  • Add support for React 16.3 lifecycle methods to [no-unused-prop-types][] (#​1681 @​bvaughn)
  • Add support for React 16.3 lifecycle methods to [sort-comp][] (#​1767 @​joe-denea)
  • Add support for React 16.3 lifecycle methods to [no-typos][]
  • Add support for prevState and nextState to [no-unused-state][] (#​1759)
  • Add warnings for componentWillMount, componentWillReceiveProps and componentWillUpdate lifecycle methods in [no-deprecated][] (#​1750 @​sergei-startsev)
Fixed
  • Fix [no-typos][] false positive on custom PropType classes (#​1389 @​brettdh)
  • Fix [boolean-prop-naming][] to handle required props (#​1389 @​louisscruz)
  • Fix [jsx-curly-brace-presence][] to allow whitespace JSX container (#​1717 @​sharmilajesupaul)
  • Fix [jsx-no-bind][] to handle ternary conditions (#​1722 @​gwenaellarmet)
Changed
  • Documentation improvements (#​1699 @​ronanmathew, #​1743 @​ybiquitous, #​1753 @​awthwathje, #​1783 @​chentsulin, #​1703 @​ferhatelmas)

v7.7.0

Compare Source

Added
  • [forbid-foreign-prop-types][]: add allowInPropTypes option (#​1655 @​iansu)
  • Add [jsx-max-depth][] rule (#​1260 @​chriswong)
Fixed
  • [no-access-state-in-setstate][]: Exclude references to this.state in setState callback (#​1610 @​pfhayes)
  • [no-danger-with-children][]: prevent infinite loop (#​1571 @​ljharb)
  • [sort-prop-types][]: Fix sortShapeProp when shape is not an object literal (#​1669 @​justinanastos)
  • [jsx-child-element-spacing][]: fix error location (#​1666 @​pfhayes)
  • [no-unused-prop-types][]: fix for createClass (#​1675 @​yuri-sakharov)
  • [prop-types][]: include nextProps checking in shouldComponentUpdate (#​1690 @​amerryma)
  • [jsx-curly-spacing][]: refactor to fix start and end-braces in a single pass (#​1414 @​s-h-a-d-o-w)
Changed
  • [jsx-child-element-spacing][]: add missing docs ([#​1665][] @​pfhayes); fix docs (#​1670 @​SammyM)

v7.6.1

Compare Source

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)

v7.6.0

Compare Source

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)


This PR has been generated by Renovate Bot.

@renovate renovate bot force-pushed the renovate/eslint-plugin-react-7.x branch from 9797739 to 8af7071 Compare March 22, 2018 19:24
@renovate renovate bot changed the title Update dependency eslint-plugin-react to v7.7.0 Update eslint-plugin-react to 7.7.0 Apr 17, 2018
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-7.x branch from 8af7071 to 2b3946c Compare May 9, 2018 07:18
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-7.x branch from 2b3946c to d96a5a2 Compare May 16, 2018 20:31
@renovate renovate bot changed the title Update eslint-plugin-react to 7.7.0 Update eslint-plugin-react to 7.8.2 May 16, 2018
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-7.x branch from d96a5a2 to 5be3121 Compare May 16, 2018 21:02
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-7.x branch from 5be3121 to 7a2bc62 Compare May 17, 2018 18:50
@sbardian sbardian merged commit 3eee12b into master May 17, 2018
@renovate renovate bot deleted the renovate/eslint-plugin-react-7.x branch May 17, 2018 18:53
sbardian pushed a commit that referenced this pull request Feb 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants