v7.7.0
Added
forbid-foreign-prop-types: addallowInPropTypesoption (#1655 @iansu)- Add
jsx-max-depthrule (#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)