v4.0.0-rc.0
Pre-release
Pre-release
·
2869 commits
to master
since this release
Added
- Add
jsx-space-before-closingrule (#244 @ryym) - Add support for destructing in function signatures to
prop-types(#354 @lencioni)
Breaking
- Add support for static methods to
sort-comp. Static methods must now be declared first, see rule documentation (#128 @lencioni) - Add shareable config in place of default configuration.
jsx-uses-varsis not enabled by default anymore, see documentation (#192) - Rename
jsx-sort-prop-typestosort-prop-types.jsx-sort-prop-typesstill works but will trigger a warning (#87 @lencioni) - Remove deprecated
jsx-quotesrule (#433 @lencioni) display-namenow accept the transpiler name by default. You can use theignoreTranspilerNameoption to get the old behavior, see rule documentation (#440 @lencioni)
Fixed
- Only ignore lowercase JSXIdentifier in
jsx-no-undef(#435)