Releases: jsx-eslint/eslint-plugin-react
Releases · jsx-eslint/eslint-plugin-react
v6.0.0-alpha.1
Fixed
- Fix
prop-typescrash when accessing constructor on props (#654) - Fix
jsx-filename-extensionto not check filenames on text input (#662 @ljharb) - Fix
no-comment-textnodesincorrectly catching urls (#664 @petersendidit)
Breaking
- Add ESLint as peerDependency (#657 @jokeyrhyme)
- Add Node.js 0.10 as minimum required version (#657 @jokeyrhyme)
Changed
- Update dependencies
- Update Travis CI and AppVeyor CI configurations (@ljharb)
v5.2.2
v5.2.1
v5.2.0
Added
- Add
require-optimizationrule (#240 @EvNaverniouk) - Add
jsx-filename-extensionrule (#495 @lencioni) - Add
no-render-return-valuerule (#531 @iamdustan) - Add
no-comment-textnodesrule (#616 @benvinegar) - Add
objectLiteralsoption tojsx-curly-spacing(#388, #211 @casesandberg @ljharb) - Add option to
self-closing-compto check html tags (#572 @gitim) - Add
ignoreoption tono-unknown-propertyrule (#631 @insin) - Add support for ES7 bind operator to
jsx-handler-names(#630) - Add support for explicit declaration that class extends React.Component (#68 @gausie)
Fixed
- Fix
jsx-closing-bracket-locationmultiline prop support (#493 @tuures) - Fix
prop-typesfor props that where not assigned to the right component (#591) - Fix
display-namewhen JSON style is used for defining components (#590 @gitim) - Fix
jsx-no-bindfor bind detection in render when assigned to a variable (#474 @petersendidit) - Fix
jsx-curly-spacingfor spread operator (#606 @gitim) - Fix
sort-compcrash on spread operator (#624) - Fix
prop-typescrash when destructuring props with spread only
Changed
v5.1.1
v5.1.0
Added
- Add
jsx-no-target-blankrule (#582 @Gasparila) - Add
allowAllCapsandignoreoptions tojsx-pascal-case(#575) - Add class properties support to
require-render-return(#564)
Fixed
- Fix
jsx-closing-bracket-locationfixer (#533 @dtinth) - Fix
require-render-returnto only check valid render methods (#563) - Fix detection to allow simple
thisusage in fonctional components (#576) - Fix
forbid-prop-typescrash (#579) - Fix comment handling in
jsx-curly-spacing(#584)
Changed
- Update dependencies
- Documentation improvements (@coryhouse, #581 @scurker, #588)
v5.0.1
v5.0.0
Added
Breaking
- Update rules for React 15:
- Add warnings for
LinkedStateMixin,ReactPerf.printDOMandReactPerf.getMeasurementsSummaryMapinno-deprecated - Allow stateless components to return
nullinprefer-stateless-function - Remove SVG attributes warnings (#490)
- Add warnings for
If you're still not using React 15 you can keep the old behavior by setting the React version to 0.14 in the shared settings.
Fixed
- Rewrite
require-render-returnrule (#542, #543) - Fix
prefer-stateless-functioncrash (#544) - Fix external propTypes handling (#545)
- Do not mark inline functions in JSX as components (#546)
Changed
- Update dependencies
- Documentation improvements
v4.3.0
Added
- Add
require-render-returnrule (#482 @shmuga) - Add auto fix for
jsx-equals-spacing(#506 @peet) - Add auto fix for
jsx-closing-bracket-location(#511 @KevinGrandon)
Fixed
- Fix
prefer-stateless-functionfor conditional JSX (#516) - Fix
jsx-pascal-caseto support single letter component names (#505 @dthielman)
Changed
- Update dependencies
- Documentation improvements (#509 @coryhouse, #526 @ahoym)