Releases: jsx-eslint/eslint-plugin-react
Releases · jsx-eslint/eslint-plugin-react
v3.12.0
Added
- Add
no-deprecated
rule (#356 @graue) - Add
no-is-mounted
rule (#37 @lencioni) - Add
never
option toprefer-es6-class
rule (#359 @pwmckenna)
Fixed
- Fix
jsx-pascal-case
to stop checking lower cased components (#329) - Fix crash in component detection class (#364)
Changed
- Add link to eslint-plugin-react-native in Readme
- Update dependencies
v3.11.3
v3.11.2
v3.11.1
v3.11.0
Added
- Add
jsx-handler-names
rule (#315 @jakemmarsh) - Add SVG attributes support to
no-unknown-property
(#318) - Add shorthandFirst option to
jsx-sort-props
(#336 @lucasmotta)
Fixed
- Fix destructured props detection in stateless components (#326)
- Fix props validation for nested stateless components (#331)
- Fix
require-extension
to ignore extension if it's part of the package name (#319)
Changed
v3.10.0
Added
- Add
jsx-pascal-case
rule (#306 @jakemmarsh)
Fixed
- Fix crash on incomplete class property declaration (#317 @dapetcu21)
- Fix crash with ESLint 1.10.0 (#323 @lukekarrys)
v3.9.0
Added
- Add
jsx-key
rule (#293 @benmosher) - Add
allow-in-func
option tono-did-update-set-state
(#300) - Add option to only enforce
jsx-closing-bracket-location
rule to one type of tag (nonEmpty or selfClosing) (#307)
Fixed
- Fix crash when destructuring with only the rest spread (#269)
- Fix variables detection when searching for related components (#303)
- Fix
no-unknown-property
to not check custom elements (#308 @zertosh)