Releases: jsx-eslint/eslint-plugin-react
Releases · jsx-eslint/eslint-plugin-react
v2.6.1
v2.6.0
Added
- Add support for nested propTypes (#62 #105 @Cellule)
- Add
require-extension
rule (#117 @scothis) - Add support for computed string format in
prop-types
(#127 @Cellule) - Add ES6 methods to
sort-comp
default configuration (#97 #122) - Add support for props destructuring directly on the this keyword
- Add
acceptTranspilerName
option todisplay-name
rule (#75) - Add schema to validate rules options
Changed
- Update dependencies
Fixed
- Fix test command for Windows (#114 @Cellule)
- Fix detection of missing displayName and propTypes when
ecmaFeatures.jsx
is false (#119 @rpl) - Fix propTypes destructuring with properties as string (#118 @Cellule)
- Fix
jsx-sort-prop-types
support for keys as string (#123 @Cellule) - Fix crash if a ClassProperty has only one token (#125)
- Fix invalid class property handling in
jsx-sort-prop-types
(#129)
v2.5.2
v2.5.1
v2.5.0
v2.4.0
Added
- Add pragma option to
jsx-uses-react
(#82 @dominicbarnes) - Add context props to
sort-comp
(#89 @zertosh)
Changed
- Update dependencies
- Documentation improvement (#91 @matthewwithanm)