v7.32.0
github-actions
released this
11 Jan 06:04
·
243 commits
to master
since this release
Added
- support new config system (#3429 @jjangga0214)
hook-use-state
: addallowDestructuredState
option (#3449 @ljharb)- add
sort-default-props
and deprecatejsx-sort-default-props
(#1861 @alexzherdev) - add
no-object-type-as-default-prop
rule (#2848 @cyan33 @fengkx)
Fixed
- configs: avoid legacy config system error (#3461 @ljharb)
sort-prop-types
: restore autofixing (#3452, #3471 @ROSSROSALES)no-unknown-property
: do not checkfbs
elements (#3494 @brianogilvie)jsx-newline
: No newline between comments and jsx elements (#3493 @justmejulian)jsx-no-leaked-render
: Don't report errors on empty strings if React >= v18 (#3488 @himanshu007-creator)no-invalid-html-attribute
: convert autofix to suggestion (#3474 @himanshu007-creator @ljharb)jsx-no-leaked-render
: fix removing parentheses for conditionals (#3502 @akulsr0)jsx-no-leaked-render
: invalid fixes in coerce mode (#3511 @akulsr0)destructuring-assignment
: Handle destructuring of useContext in SFC (#2797 @Zinyon @ljharb)
Changed
- [Docs]
jsx-no-leaked-render
: Remove mentions of empty strings for React 18 (#3468 @karlhorky) - [Docs] update
eslint-doc-generator
to v1.0.0 (#3499 @bmish) - [meta] add issue template (#3483 @ROSSROSALES)
- [Docs] Use emoji for jsx-runtime config and config file for eslint-doc-generator (#3504 @bmish)
- [Docs]
prefer-exact-props
: fix example flow syntax (#3510 @smackfu) - [Perf] use
anyOf
instead ofoneOf
(@ljharb @remcohaszing)