Skip to content

Releases: jsx-eslint/eslint-plugin-react

v3.6.3

19 Oct 23:12
Compare
Choose a tag to compare

Fixed

  • Fix display-name for stateless components (#256)
  • Fix prop-types props validation in constructor (#259)
  • Fix typo in README (#261 @chiedojohn)

v3.6.2

18 Oct 21:51
Compare
Choose a tag to compare

Fixed

  • Fix wrong prop-types detection (#255)

v3.6.1

18 Oct 20:18
Compare
Choose a tag to compare

Fixed

  • Fix props validation in constructor (#254)

v3.6.0

18 Oct 17:41
Compare
Choose a tag to compare

Added

  • Add support for stateless function components to display-name and prop-types (#237)
  • Add callbacksLast option to jsx-sort-props and jsx-sort-prop-types (#242 @Daniel15)
  • Add prefer-es6-class rule (#247 @hamiltondanielb)

Fixed

  • Fix forbid-prop-types crash with destructured PropTypes (#230 @epmatsw)
  • Fix forbid-prop-types to do not modify AST directly (#249 @rhysd)
  • Fix prop-types crash with empty destructuring (#251)
  • Fix prop-types to not validate computed keys in destructuring (#236)

Changed

  • Update dependencies
  • Improve components detection (#233)
  • Documentation improvements (#248 @dguo)

v3.5.1

30 Sep 22:38
Compare
Choose a tag to compare

Fixed

  • Fix no-direct-mutation-state to report only in React components (#229)
  • Fix forbid-prop-types for arrayOf and instanceOf (#230)

Changed

v3.5.0

28 Sep 20:38
Compare
Choose a tag to compare

Added

Fixed

  • Fix no-did-mount/update-set-state rules for ES6 classes

Changed

  • Update dependencies
  • Documentation improvements (#222 @Andersos)

v3.4.2

18 Sep 19:28
Compare
Choose a tag to compare

Fixed

  • Only display the jsx-quotes deprecation warning with the default formatter (#221)

v3.4.1

16 Sep 22:50
Compare
Choose a tag to compare

Fixed

  • Fix jsx-quotes rule deprecation message (#220)

v3.4.0

16 Sep 16:43
Compare
Choose a tag to compare

Added

  • Add namespaced JSX support to jsx-no-undef (#219 @zertosh)
  • Add option to jsx-closing-bracket-location to configure different styles for self-closing and non-empty tags (#208 @evocateur)

Deprecated

  • Deprecate jsx-quotes rule, will now trigger a warning if used (#217)

v3.3.2

09 Sep 22:42
Compare
Choose a tag to compare

Changed

  • Add state in lifecycle methods for sort-comp rule (#197 @mathieudutour)
  • Treat component with render which returns createElement as valid (#206 @epmatsw)

Fixed

  • Fix allowed methods on arrayOf in prop-types (#146)
  • Fix default configuration for jsx-boolean-value (#210)