HospitalRun / hospitalrun-core

All elements shared between Frontend and Backend, including CouchDB design-documents and schemas.
44 stars 44 forks source link

chore(deps-dev): bump eslint-plugin-react from 7.28.0 to 7.31.0 #270

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps eslint-plugin-react from 7.28.0 to 7.31.0.

Release notes

Sourced from eslint-plugin-react's releases.

v7.31.0

Added

Fixed

  • [jsx-no-literals]: properly error on children with noAttributeStrings: true (#3317[] @​TildaDares)
  • [jsx-key]: catch key errors inside conditional statements (#3320[] @​TildaDares)
  • [display-name]: Accept forwardRef and Memo nesting in newer React versions (#3321[] @​TildaDares)
  • [jsx-key]: avoid a crash from optional chaining from #3320[] (#3327[] @​ljharb)
  • [jsx-key]: avoid a crash on a non-array node.body from #3320[] (#3328[] @​ljharb)
  • [display-name]: fix false positive for assignment of function returning null (#3331[] @​apbarrero)
  • [display-name]: fix identifying _ as a capital letter (#3335[] @​apbarrero)
  • [require-default-props]: avoid a crash when function has no props param (#3350[] @​noahnu)
  • [display-name], component detection: fix HOF returning null as Components (#3347[] @​jxm-math)
  • [forbid-prop-types]: Ignore objects that are not of type React.PropTypes (#3326[] @​TildaDares)
  • [display-name], component detection: fix false positive for HOF returning only nulls and literals (#3305[] @​golopot)
  • [jsx-no-target-blank]: False negative when rel attribute is assigned using ConditionalExpression (#3332[] @​V2dha)
  • [jsx-no-leaked-render]: autofix nested "&&" logical expressions (#3353[] @​hduprat)
  • [jsx-sort-props]: sorted attributes now respect comments (#3358[] @​ROSSROSALES)

Changed

#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

... (truncated)

Changelog

Sourced from eslint-plugin-react's changelog.

7.31.0 - 2022.08.24

Added

Fixed

  • [jsx-no-literals]: properly error on children with noAttributeStrings: true (#3317[] @​TildaDares)
  • [jsx-key]: catch key errors inside conditional statements (#3320[] @​TildaDares)
  • [display-name]: Accept forwardRef and Memo nesting in newer React versions (#3321[] @​TildaDares)
  • [jsx-key]: avoid a crash from optional chaining from #3320[] (#3327[] @​ljharb)
  • [jsx-key]: avoid a crash on a non-array node.body from #3320[] (#3328[] @​ljharb)
  • [display-name]: fix false positive for assignment of function returning null (#3331[] @​apbarrero)
  • [display-name]: fix identifying _ as a capital letter (#3335[] @​apbarrero)
  • [require-default-props]: avoid a crash when function has no props param (#3350[] @​noahnu)
  • [display-name], component detection: fix HOF returning null as Components (#3347[] @​jxm-math)
  • [forbid-prop-types]: Ignore objects that are not of type React.PropTypes (#3326[] @​TildaDares)
  • [display-name], component detection: fix false positive for HOF returning only nulls and literals (#3305[] @​golopot)
  • [jsx-no-target-blank]: False negative when rel attribute is assigned using ConditionalExpression (#3332[] @​V2dha)
  • [jsx-no-leaked-render]: autofix nested "&&" logical expressions (#3353[] @​hduprat)
  • [jsx-sort-props]: sorted attributes now respect comments (#3358[] @​ROSSROSALES)

Changed

#3367: jsx-eslint/eslint-plugin-react#3367 #3366: jsx-eslint/eslint-plugin-react#3366 #3365: jsx-eslint/eslint-plugin-react#3365 #3364: jsx-eslint/eslint-plugin-react#3364 #3362: jsx-eslint/eslint-plugin-react#3362 #3361: jsx-eslint/eslint-plugin-react#3361 #3359: jsx-eslint/eslint-plugin-react#3359 #3358: jsx-eslint/eslint-plugin-react#3358

... (truncated)

Commits
  • b0d0ca1 Update CHANGELOG and bump version
  • c14e209 [Fix] jsx-sort-props: sorted attributes now respect comments
  • 1656707 [Docs] Add config notice to rule docs
  • 6207a04 [Dev Deps] update @babel/core; downgrade @types/node
  • ae34341 [Docs] Add markdownlint for documentation formatting consistency
  • 11306e1 [Docs] Fix typos
  • 9836d3a [Docs] Remove duplicate fixable notice
  • 885afc3 [Docs] Standardize deprecated rule notice
  • 13d23b8 [Docs] Consistent rule descriptions and doc sections
  • 11dc75e [Dev Deps] update eslint-plugin-eslint-plugin to v5
  • Additional commits viewable in compare view


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #272.