Releases: jsx-eslint/eslint-plugin-react
Releases · jsx-eslint/eslint-plugin-react
v2.2.0
Added
Changed
Fixed
- Fix variables marked as used when a prop has the same name (#69 @burnnat)
v2.1.1
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
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
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
Fixed
- Fix props detection when used in an object (#41)
v2.0.0
Added
- Add
jsx-sort-props
rule (#16)
- Add
no-unknown-property
rule (#28)
- Add ignore option to
prop-types
rule
Changed
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
Changed
- Update
jsx-quotes
documentation
Fixed
- Fix
jsx-no-undef
with babel-eslint
(#30)
- Fix
jsx-quotes
on Literal childs (#29)
v1.6.0
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
Added
Fixed
- Fix
jsx-uses-react
for ESLint 0.17.0
v1.4.1
Fixed
- Fix
this.props.children
marked as missing in props validation (#7)
- Fix usage of
this.props
without property (#8)