Added
destructuring-assignment
: add optiondestructureInSignature
(#3235 @golopot)no-unknown-property
: Allow crossOrigin on image tag (SVG) (#3251 @zpao)jsx-tag-spacing
: Addmultiline-always
option (#3260, #3264 @Nokel81)function-component-definition
: replacevar
byconst
in certain situations (#3248 @JohnBerd @SimeonC)- add
jsx-no-leaked-render
(#3203 @Belco90) require-default-props
: add optionfunctions
(#3249 @nix6839)
Fixed
hook-use-state
: Allow UPPERCASE setState setter prefixes (#3244 @duncanbeevers)propTypes
: addVFC
to react generic type param map (#3230 @dlech)no-unused-state
: avoid a crash (#3258 @WillyLiaoWH @ljharb)jsx-no-useless-fragment
: use proper apostrophe in error message (#3266 @develohpanda)propTypes
: handle imported types/interface in forwardRef generic (#3280 @vedadeepta)button-has-type
: fix exception for<button type>
(#3255 @meowtec)no-unstable-nested-components
: Improve error message and catch React.memo() (#3247 @zacharyliu)
Changed
- [readme] remove global usage and eslint version from readme (#3254 @aladdin-add)
- [Refactor] fix linter errors (#3261 @golopot)
- [Docs]
no-unused-prop-types
: fix syntax errors (#3259 @mrdulin) - [Refactor] improve performance for detecting function components (#3265 @golopot)
- [Refactor] improve performance for detecting class components (#3267 @golopot)
- [Refactor]
no-deprecated
: improve performance (#3271 @golopot) - [Refactor]
no-did-mount-set-state
,no-did-update-set-state
,no-will-update-set-state
: improve performance (#3272 @golopot) - [Refactor] improve performance by avoiding unnecessary
Components.detect
(#3273 @golopot) - [Refactor] add
isParenthesized
AST util (#3203 @Belco90) - [Docs]
default-props-match-prop-types
,require-default-props
,sort-prop-types
: fix typos (#3279 @nix6839) - [Refactor] improve performance of rule merging (#3281 @golopot)
- [Refactor] improve performance of component detection (#3276 @golopot)