paralleldrive / riteway

Simple, readable, helpful unit tests.
MIT License
1.15k stars 35 forks source link

chore(deps): update dependency eslint-plugin-react to v7.33.2 - autoclosed #321

Closed renovate[bot] closed 9 months ago

renovate[bot] commented 3 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react 7.31.8 -> 7.33.2 age adoption passing confidence

Release Notes

jsx-eslint/eslint-plugin-react (eslint-plugin-react) ### [`v7.33.2`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7332---20230815) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.33.1...v7.33.2) ##### Fixed - \[`no-deprecated`]: prevent false positive on commonjs import ([#​3614][] [@​akulsr0](https://togithub.com/akulsr0)) - \[`no-unsafe`]: report on the method instead of the entire component ([@​ljharb](https://togithub.com/ljharb)) - \[`no-deprecated`]: report on the destructured property instead of the entire variable declarator ([@​ljharb](https://togithub.com/ljharb)) - \[`no-deprecated`]: report on the imported specifier instead of the entire import statement ([@​ljharb](https://togithub.com/ljharb)) - \[`no-invalid-html-attribute`]: report more granularly ([@​ljharb](https://togithub.com/ljharb)) [7.33.2]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.33.1...v7.33.2 [#​3614]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3614 ### [`v7.33.1`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7331---20230729) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.33.0...v7.33.1) ##### Fixed - \[`require-default-props`]: fix config schema ([#​3605][] [@​controversial](https://togithub.com/controversial)) - \[`jsx-curly-brace-presence`]: Revert \[[#​3538](https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3538)]\[] due to issues with intended string type casting usage ([#​3611][] [@​taozhou-glean](https://togithub.com/taozhou-glean)) - \[`sort-prop-types`]: ensure sort-prop-types respects noSortAlphabetically ([#​3610][] [@​caesar1030](https://togithub.com/caesar1030)) [7.33.1]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.33.0...v7.33.1 [#​3611]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3611 [#​3610]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3610 [#​3605]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3605 ### [`v7.33.0`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7330---20230719) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.32.2...v7.33.0) ##### Added - \[`display-name`]: add `checkContextObjects` option ([#​3529][] [@​JulesBlm](https://togithub.com/JulesBlm)) - \[`jsx-first-prop-new-line`]: add `multiprop` option ([#​3533][] [@​haydncomley](https://togithub.com/haydncomley)) - \[`no-deprecated`]: add React 18 deprecations ([#​3548][] [@​sergei-startsev](https://togithub.com/sergei-startsev)) - \[`forbid-component-props`]: add `disallowedFor` option ([#​3417][] [@​jacketwpbb](https://togithub.com/jacketwpbb)) ##### Fixed - \[`no-array-index-key`]: consider flatMap ([#​3530][] [@​k-yle](https://togithub.com/k-yle)) - \[`jsx-curly-brace-presence`]: handle single and only expression template literals ([#​3538][] [@​taozhou-glean](https://togithub.com/taozhou-glean)) - \[`no-unknown-property`]: allow `onLoad` on `source` ([@​ljharb](https://togithub.com/ljharb)) - \[`jsx-first-prop-new-line`]: ensure autofix preserves generics in component name ([#​3546][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: allow `fill` prop on `` ([#​3555][] [@​stefanprobst](https://togithub.com/stefanprobst)) - \[`display-name`], \[`prop-types`]: when checking for a capitalized name, ignore underscores entirely ([#​3560][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unused-state`]: avoid crashing on a class field function with destructured state ([#​3568][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unused-prop-types`]: allow using spread with object expression in jsx ([#​3570][] [@​akulsr0](https://togithub.com/akulsr0)) - Revert "\[`destructuring-assignment`]: Handle destructuring of useContext in SFC" ([#​3583][] \[[#​2797](https://togithub.com/jsx-eslint/eslint-plugin-react/issues/2797)]\[] [@​102](https://togithub.com/102)) - \[`prefer-read-only-props`]: add TS support ([#​3593][] [@​HenryBrown0](https://togithub.com/HenryBrown0)) ##### Changed - \[Docs] \[`jsx-newline`], \[`no-unsafe`], \[`static-property-placement`]: Fix code syntax highlighting ([#​3563][] [@​nbsp1221](https://togithub.com/nbsp1221)) - \[readme] resore configuration URL ([#​3582][] [@​gokaygurcan](https://togithub.com/gokaygurcan)) - \[Docs] \[`jsx-no-bind`]: reword performance rationale ([#​3581][] [@​gpoole](https://togithub.com/gpoole)) - \[Docs] \[`jsx-first-prop-new-line`]: add missing `multiprop` value ([#​3598][] [@​dzek69](https://togithub.com/dzek69)) [7.33.0]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.32.2...v7.33.0 [#​3598]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3598 [#​3593]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3593 [#​3583]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3583 [#​3582]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3582 [#​3581]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3581 [#​3570]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3570 [#​3568]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3568 [#​3563]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3563 [#​3560]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3560 [#​3555]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3555 [#​3548]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3548 [#​3546]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3546 [#​3538]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3538 [#​3533]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3533 [#​3530]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3530 [#​3529]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3529 [#​3417]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3417 ### [`v7.32.2`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7322---20230128) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.32.1...v7.32.2) ##### Fixed - configs: restore `parserOptions` in legacy configs (\[[#​3523](https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3523)]\[] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-no-constructed-context-values`], \[`jsx-no-useless-fragment`]: add a rule schema ([@​ljharb](https://togithub.com/ljharb)) ( \[`no-unknown-property`]: add `fill` for `` ([#​3525][] [@​alexey-koran](https://togithub.com/alexey-koran)) [7.32.2]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.32.1...v7.32.2 [#​3525]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3525 [#​3520]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3523 ### [`v7.32.1`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7321---20230116) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.32.0...v7.32.1) ##### Fixed - prevent circular dependency in index and "all" config ([#​3519][] [@​ljharb](https://togithub.com/ljharb)) - \[`destructuring-assignment`]: do not force destructuring of optionally chained properties ([#​3520][] [@​ljharb](https://togithub.com/ljharb)) [7.32.1]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.32.0...v7.32.1 [#​3520]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3520 [#​3519]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3519 ### [`v7.32.0`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7320---20230110) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.11...v7.32.0) ##### Added - support new config system ([#​3429][] [@​jjangga0214](https://togithub.com/jjangga0214)) - \[`hook-use-state`]: add `allowDestructuredState` option ([#​3449][] [@​ljharb](https://togithub.com/ljharb)) - add \[`sort-default-props`] and deprecate \[`jsx-sort-default-props`] ([#​1861][] [@​alexzherdev](https://togithub.com/alexzherdev)) - add \[`no-object-type-as-default-prop`] rule ([#​2848][] [@​cyan33](https://togithub.com/cyan33) [@​fengkx](https://togithub.com/fengkx)) ##### Fixed - configs: avoid legacy config system error ([#​3461][] [@​ljharb](https://togithub.com/ljharb)) - \[`sort-prop-types`]: restore autofixing ([#​3452][], [#​3471][] [@​ROSSROSALES](https://togithub.com/ROSSROSALES)) - \[`no-unknown-property`]: do not check `fbs` elements ([#​3494][] [@​brianogilvie](https://togithub.com/brianogilvie)) - \[`jsx-newline`]: No newline between comments and jsx elements ([#​3493][] [@​justmejulian](https://togithub.com/justmejulian)) - \[`jsx-no-leaked-render`]: Don't report errors on empty strings if React >= v18 ([#​3488][] [@​himanshu007-creator](https://togithub.com/himanshu007-creator)) - \[`no-invalid-html-attribute`]: convert autofix to suggestion ([#​3474][] [@​himanshu007-creator](https://togithub.com/himanshu007-creator) [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-no-leaked-render`]: fix removing parentheses for conditionals ([#​3502][] [@​akulsr0](https://togithub.com/akulsr0)) - \[`jsx-no-leaked-render`]: invalid fixes in coerce mode ([#​3511][] [@​akulsr0](https://togithub.com/akulsr0)) - \[`destructuring-assignment`]: Handle destructuring of useContext in SFC ([#​2797][] [@​Zinyon](https://togithub.com/Zinyon) [@​ljharb](https://togithub.com/ljharb)) ##### Changed - \[Docs] \[`jsx-no-leaked-render`]: Remove mentions of empty strings for React 18 ([#​3468][] [@​karlhorky](https://togithub.com/karlhorky)) - \[Docs] update `eslint-doc-generator` to v1.0.0 ([#​3499][] [@​bmish](https://togithub.com/bmish)) - \[meta] add issue template ([#​3483][] [@​ROSSROSALES](https://togithub.com/ROSSROSALES)) - \[Docs] Use emoji for jsx-runtime config and config file for eslint-doc-generator ([#​3504][] [@​bmish](https://togithub.com/bmish)) - \[Docs] \[`prefer-exact-props`]: fix example flow syntax ([#​3510][] [@​smackfu](https://togithub.com/smackfu)) - \[Perf] use `anyOf` instead of `oneOf` ([@​ljharb](https://togithub.com/ljharb) [@​remcohaszing](https://togithub.com/remcohaszing)) [7.32.0]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.11...v7.32.0 [#​3511]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3511 [#​3510]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3510 [#​3504]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3504 [#​3502]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3502 [#​3499]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3499 [#​3494]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3494 [#​3493]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3493 [#​3488]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3488 [#​3483]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3483 [#​3474]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3474 [#​3471]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3471 [#​3468]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3468 [#​3461]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3461 [#​3452]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3452 [#​3449]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3449 [#​3429]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3429 [#​2848]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/2848 [#​2797]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/2797 [#​1861]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1861 ### [`v7.31.11`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#73111---20221117) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.10...v7.31.11) ##### Fixed - \[`jsx-no-target-blank`]: allow ternaries with literals ([#​3464][] [@​akulsr0](https://togithub.com/akulsr0)) - \[`no-unknown-property`]: add `inert` attribute ([#​3484][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-key`]: detect keys in logical expression and conditional expression ([#​3490][] [@​metreniuk](https://togithub.com/metreniuk)) ##### Changed - \[Perf] component detection: improve performance by avoiding traversing parents unnecessarily ([#​3459][] [@​golopot](https://togithub.com/golopot)) - \[Docs] `forbid-component-props`: inclusive language w/ allowlist ([#​3473][] [@​AndersDJohnson](https://togithub.com/AndersDJohnson)) - \[Docs] automate doc generation with `eslint-doc-generator` ([#​3469][] [@​bmish](https://togithub.com/bmish)) [7.31.11]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.10...v7.31.11 [#​3490]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3490 [#​3484]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3484 [#​3473]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3473 [#​3469]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3469 [#​3464]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3464 [#​3459]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3459 ### [`v7.31.10`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#73110---20221010) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.9...v7.31.10) ##### Fixed - \[`no-unknown-property`]: allow `allowFullScreen` on `iframe` ([#​3455][] [@​almeidx](https://togithub.com/almeidx)) [7.31.10]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.9...v7.31.10 [#​3455]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3455 ### [`v7.31.9`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7319---20221009) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.8...v7.31.9) ##### Fixed - \[`no-unknown-property`]: add `dialog` attributes ([#​3436][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-arrow-function-lifecycle`]: when converting from an arrow, remove the semi and wrapping parens ([#​3337][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-key`]: Ignore elements inside `React.Children.toArray()` ([#​1591][] [@​silvenon](https://togithub.com/silvenon)) - \[`jsx-no-constructed-context-values`]: fix false positive for usage in non-components ([#​3448][] [@​golopot](https://togithub.com/golopot)) - \[`static-property-placement`]: warn on nonstatic expected-statics ([#​2581][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: properly tag-restrict case-insensitive attributes ([@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: allow `webkitDirectory` on `input`, case-insensitive ([#​3454][] [@​ljharb](https://togithub.com/ljharb)) ##### Changed - \[Docs] \[`no-unknown-property`]: fix typo in link ([#​3445][] [@​denkristoffer](https://togithub.com/denkristoffer)) - \[Perf] component detection: improve performance by optimizing getId ([#​3451][] [@​golopot](https://togithub.com/golopot)) - \[Docs] \[`no-unstable-nested-components`]: Warn about memoized, nested components ([#​3444][] [@​eps1lon](https://togithub.com/eps1lon)) [7.31.9]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.8...v7.31.9 [#​3454]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3454 [#​3451]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3451 [#​3448]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3448 [#​3445]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3445 [#​3444]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3444 [#​3436]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3436 [#​3337]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3337 [#​2581]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/2581 [#​1591]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1591

Configuration

📅 Schedule: Branch creation - "before 4am" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.