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