Fixed
- Fix spread props crash in
jsx-no-target-blank
(#679 @randycoulman) - Fix
require-optimization
warning on stateless components (#687) - Fix
jsx-uses-vars
that incorrectly marked some variables as used (#694 @lencioni) - Fix
no-unknown-property
check on SVG attributes (#718) - Fix
all
config to not include deprecated rules (#723 @pfhayes)
Breaking
- Deprecate
require-extension rule
, use the eslint-plugin-importextensions
rule instead - Enable
allow-in-func
mode by default inno-did-mount-set-state
andno-did-update-set-state
rules (#702 @lencioni) - Enable html tags check by default in
self-closing-comp
- Remove
pragma
option fromjsx-uses-react
, use the shared settings to specify a custom pragma (#700 @lencioni) - Remove
react
option fromno-deprecated
rule, use the shared settings to specify the React version (#700 @lencioni) - Remove
no-danger
from recommended rules (#636 @mjackson) - Remove
no-did-mount-set-state
and no-did-update-set-state from recommended rules (#596) - Add
require-render-return
rule 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)