Skip to content

Releases: jsx-eslint/eslint-plugin-react

v2.2.0

21 Apr 22:40
Compare
Choose a tag to compare

Added

Changed

Fixed

  • Fix variables marked as used when a prop has the same name (#69 @burnnat)

v2.1.1

16 Apr 23:41
Compare
Choose a tag to compare

Added

  • Add support for classes static properties (#43)
  • Add tests for the babel-eslint parser
  • Add ESLint as peerDependency (#63 @AlexKVal)

Changed

v2.1.0

06 Apr 21:25
Compare
Choose a tag to compare

Added

  • Add jsx-boolean-value rule (#11)
  • Add support for static methods in display-name and prop-types (#48)

Changed

  • Update jsx-sort-props to reset the alphabetical verification on spread (#47 @zertosh)
  • Update jsx-uses-vars to be enabled by default (#49 @banderson)

Fixed

  • Fix describing comment for hasSpreadOperator() method (#53 @AlexKVal)

v2.0.2

30 Mar 23:50
Compare
Choose a tag to compare

Fixed

  • Fix ignore rest spread when destructuring props (#46)
  • Fix component detection in prop-types and display-name (#45)
  • Fix spread handling in jsx-sort-props (#42 @zertosh)

v2.0.1

29 Mar 23:20
Compare
Choose a tag to compare

Fixed

  • Fix props detection when used in an object (#41)

v2.0.0

29 Mar 23:19
Compare
Choose a tag to compare

Added

  • Add jsx-sort-props rule (#16)
  • Add no-unknown-property rule (#28)
  • Add ignore option to prop-types rule

Changed

  • Update dependencies

Breaking

  • In prop-types the children prop is no longer ignored

Fixed

  • Fix components are now detected when using ES6 classes (#24)
  • Fix prop-types now return the right line/column (#33)
  • Fix props are now detected when destructuring (#27)
  • Fix only check for computed property names in prop-types (#36 @burnnat)

v1.6.1

29 Mar 23:16
Compare
Choose a tag to compare

Changed

  • Update jsx-quotes documentation

Fixed

  • Fix jsx-no-undef with babel-eslint (#30)
  • Fix jsx-quotes on Literal childs (#29)

v1.6.0

22 Mar 22:21
Compare
Choose a tag to compare

Added

  • Add jsx-no-undef rule
  • Add jsx-quotes rule (#12)
  • Add @jsx pragma support (#23)

Changed

  • Allow this.getState references (not calls) in lifecycle methods (#22 @benmosher)
  • Update dependencies

Fixed

  • Fix react-in-jsx-scope in Node.js env
  • Fix usage of propTypes with an external object (#9)

v1.5.0

14 Mar 22:38
Compare
Choose a tag to compare

Added

  • Add jsx-uses-vars rule

Fixed

  • Fix jsx-uses-react for ESLint 0.17.0

v1.4.1

03 Mar 22:28
Compare
Choose a tag to compare

Fixed

  • Fix this.props.children marked as missing in props validation (#7)
  • Fix usage of this.props without property (#8)