v7.34.0
·
164 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-imagerelattributes inlinktags (#3638 @thomashockaday)no-unknown-property: add requireDataLowercase option (#3645 @HermanBilous)no-unknown-property: adddisplaystyleon<math>(#3652 @lounsbrough)prefer-read-only-props,prop-types, component detection: allow components to be async functions (#3654 @pnodet)no-unknown-property: supportonResizeon audio/video tags (#3662 @caesar1030)jsx-wrap-multilines: addneveroption to prohibit wrapping parens on multiline JSX (#3668 @reedws)jsx-filename-extension: addignoreFilesWithoutCodeoption to allow empty files (#3674 @burtek)jsx-boolean-value: addassumeUndefinedIsFalseoption (#3675 @developer-bandi)linkAttributesetting,jsx-no-target-blank: support multiple properties (#3673 @burtek)jsx-no-script-url: addincludeFromSettingsoption to supportlinkAttributessetting (#3673 @burtek)jsx-one-expression-per-line: addnon-jsxoption to allow non-JSX children in one line (#3677 @burtek)- add
checked-requires-onchange-or-readonlyrule (#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)