v6.0.0-rc.0
Pre-release
Pre-release
·
2673 commits
to master
since this release
Fixed
- Fix spread props crash in
jsx-no-target-blank(#679 @randycoulman) - Fix
require-optimizationwarning on stateless components (#687) - Fix
jsx-uses-varsthat incorrectly marked some variables as used (#694 @lencioni) - Fix
no-unknown-propertycheck on SVG attributes (#718) - Fix
allconfig to not include deprecated rules (#723 @pfhayes)
Breaking
- Deprecate
require-extension rule, use the eslint-plugin-importextensionsrule instead - Enable
allow-in-funcmode by default inno-did-mount-set-stateandno-did-update-set-staterules (#702 @lencioni) - Enable html tags check by default in
self-closing-comp - Remove
pragmaoption fromjsx-uses-react, use the shared settings to specify a custom pragma (#700 @lencioni) - Remove
reactoption fromno-deprecatedrule, use the shared settings to specify the React version (#700 @lencioni) - Remove
no-dangerfrom recommended rules (#636 @mjackson) - Remove
no-did-mount-set-stateand no-did-update-set-state from recommended rules (#596) - Add
require-render-returnrule to recommended rules
Changed
- Update SVG and DOM attribute list for
no-unknown-property - Update rules to use the new ESLint rule format (#661 @petersendidit)
- Documentation improvements (#724 @lencioni)