v6.0.0-alpha.2
Pre-release
Pre-release
·
2695 commits
to master
since this release
Added
- Add an
allsharable configuration with all rules enabled (#674 @pfhayes) - Add
no-find-dom-noderule (#678) - Add
shorthandFirstoption tojsx-sort-props(#391 @mathieumg) - Add
allowDecoratorsoption torequire-optimization(#669 @Tom910)
Fixed
- Fix
jsx-no-bindreporting errors on render functions that don't return JSX (#663 @petersendidit) - Fix
jsx-closing-bracket-locationautofix whenlocationis set toprops-aligned(#684 @pfhayes) - Fix
prop-typesfor destructured arguments being assigned to the parent stateless component in some cases (#698) - Fix
prop-typesfor JSX return being assigned to the parent function in some cases (#504) - Fix
jsx-curly-spacingfor reporting on JSX content by mistake (#671)
Breaking
- Remove deprecated
jsx-sort-prop-typesrule, usesort-prop-typesinstead (#549 @lencioni) - Rename
jsx-no-comment-textnodestono-comment-textnodes.jsx-no-comment-textnodesstill works but will trigger a warning (#668 @lencioni) - Rename
jsx-require-extensiontorequire-extension.jsx-require-extensionstill works but will trigger a warning (#668 @lencioni) - Rename
jsx-wrap-multilinestowrap-multilines.jsx-wrap-multilinesstill works but will trigger a warning (#668 @lencioni)
Changed
- Update dependencies
- Only report
jsx-filename-extensionwarning once per file (#660 @mathieumg)