Bump eslint-plugin-react from 7.32.2 to 7.34.0
Bumps eslint-plugin-react from 7.32.2 to 7.34.0.
Release notes
Sourced from eslint-plugin-react's releases.
v7.34.0
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-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)#1000: jsx-eslint/eslint-plugin-react#1000 #1002: jsx-eslint/eslint-plugin-react#1002 #1005: jsx-eslint/eslint-plugin-react#1005 #100: jsx-eslint/eslint-plugin-react#100 #1010: jsx-eslint/eslint-plugin-react#1010 #1013: jsx-eslint/eslint-plugin-react#1013 #1022: jsx-eslint/eslint-plugin-react#1022 #1029: jsx-eslint/eslint-plugin-react#1029 #102: jsx-eslint/eslint-plugin-react#102 #1034: jsx-eslint/eslint-plugin-react#1034 #1038: jsx-eslint/eslint-plugin-react#1038 #1041: jsx-eslint/eslint-plugin-react#1041 #1043: jsx-eslint/eslint-plugin-react#1043 #1046: jsx-eslint/eslint-plugin-react#1046
... (truncated)
Changelog
Sourced from eslint-plugin-react's changelog.
7.34.0 - 2024.03.03
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-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)#3697: jsx-eslint/eslint-plugin-react#3697 #3691: jsx-eslint/eslint-plugin-react#3691 #3690: jsx-eslint/eslint-plugin-react#3690 #3680: jsx-eslint/eslint-plugin-react#3680 #3679: jsx-eslint/eslint-plugin-react#3679 #3677: jsx-eslint/eslint-plugin-react#3677 #3675: jsx-eslint/eslint-plugin-react#3675 #3674: jsx-eslint/eslint-plugin-react#3674 #3673: jsx-eslint/eslint-plugin-react#3673 #3668: jsx-eslint/eslint-plugin-react#3668 #3666: jsx-eslint/eslint-plugin-react#3666 #3662: jsx-eslint/eslint-plugin-react#3662
... (truncated)
Commits
2e6b557Update CHANGELOG and bump version24d21ac[Dev Deps] update@babel/core,@babel/plugin-syntax-decorators, `eslint-d...6cb0f00[Fix]jsx-boolean-value: make error messages clearer2124d13[Fix] add a few jsdoc type annotations to work around TS inference for consumersbd55ca2[Docs] update URLs83a26dd[Fix]forbid-elements: prevent a crash oncreateElement()e880213[Fix]no-unknown-property: addfetchPriority36e791d[Deps] updatearray.prototype.findlast,array.prototype.tosorted, `es-ite...b8a0580[Dev Deps] update@babel/core,@babel/eslint-parser,eslint-doc-generatord4e58aa[Docs]hook-use-state: fix an undefined variable- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)