Releases: jsx-eslint/eslint-plugin-react
Releases · jsx-eslint/eslint-plugin-react
v3.6.3
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
Fixed
- Fix wrong prop-types detection (#255)
v3.6.1
Fixed
- Fix props validation in constructor (#254)
v3.6.0
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
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
Added
Fixed
- Fix no-did-mount/update-set-state rules for ES6 classes
Changed
v3.4.2
Fixed
- Only display the
jsx-quotes
deprecation warning with the default formatter (#221)
v3.4.1
Fixed
- Fix
jsx-quotes
rule deprecation message (#220)
v3.4.0
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
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)