v7.34.0
github-actions
released this
04 Mar 06:12
·
131 commits
to master
since this release
Added
sort-prop-types
: give errors on TS types (#3615 @akulsr0)no-invalid-html-attribute
: add support forapple-touch-startup-image
rel
attributes inlink
tags (#3638 @thomashockaday)no-unknown-property
: add requireDataLowercase option (#3645 @HermanBilous)no-unknown-property
: adddisplaystyle
on<math>
(#3652 @lounsbrough)prefer-read-only-props
,prop-types
, component detection: allow components to be async functions (#3654 @pnodet)no-unknown-property
: supportonResize
on audio/video tags (#3662 @caesar1030)jsx-wrap-multilines
: addnever
option to prohibit wrapping parens on multiline JSX (#3668 @reedws)jsx-filename-extension
: addignoreFilesWithoutCode
option to allow empty files (#3674 @burtek)jsx-boolean-value
: addassumeUndefinedIsFalse
option (#3675 @developer-bandi)linkAttribute
setting,jsx-no-target-blank
: support multiple properties (#3673 @burtek)jsx-no-script-url
: addincludeFromSettings
option to supportlinkAttributes
setting (#3673 @burtek)jsx-one-expression-per-line
: addnon-jsx
option to allow non-JSX children in one line (#3677 @burtek)- add
checked-requires-onchange-or-readonly
rule (#3680 @jaesoekjjang)
Fixed
jsx-no-leaked-render
: preserve RHS parens for multiline jsx elements while fixing (#3623 @akulsr0)jsx-key
: detect conditional returns (#3630 @yialo)jsx-newline
: prevent a crash whenallowMultilines
(#3633 @ljharb)no-unknown-property
: use a better regex to avoid a crash (#3666 @ljharb @SCH227)prop-types
: handle nested forwardRef + memo (#3679 @developer-bandi)no-unknown-property
: addfetchPriority
(#3697 @SevereCloud)forbid-elements
: prevent a crash oncreateElement()
(#3632 @ljharb)
Changed
jsx-boolean-value
: make error messages clearer (#3691 @developer-bandi)- [Refactor]
propTypes
: extract type params to var (#3634 @HenryBrown0) - [Refactor]
boolean-prop-naming
: invert if statement (#3634 @HenryBrown0) - [Refactor]
function-component-definition
: exit early if no type params (#3634 @HenryBrown0) - [Refactor]
jsx-props-no-multi-spaces
: extract type parameters to var (#3634 @HenryBrown0) - [Docs]
jsx-key
: fix correct example (#3656 @developer-bandi) - [Tests]
jsx-wrap-multilines
: passing tests (#3545 @burtek) - [Docs]
iframe-missing-sandbox
: fix link to iframe attribute on mdn (#3690 @nnmrts) - [Docs]
hook-use-state
: fix an undefined variable (#3626 @chentsulin)