cloudnativedaysjp / dreamkast-ui

MIT License
7 stars 2 forks source link

Update dependency eslint-plugin-react to v7.31.7 #252

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react ^7.29.4 -> 7.31.7 age adoption passing confidence

Release Notes

jsx-eslint/eslint-plugin-react ### [`v7.31.7`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7317---20220905) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.6...v7.31.7) ##### Fixed - \[`no-unknown-property`]: avoid warning on `fbt` nodes entirely ([#​3391][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: add `download` property support for `a` and `area` ([#​3394][] [@​HJain13](https://togithub.com/HJain13)) - \[`no-unknown-property`]: allow `webkitAllowFullScreen` and `mozAllowFullScreen` ([#​3396][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: `controlsList`, not `controlList` ([#​3397][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: add more capture event properties ([#​3402][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: Add more one word properties found in DefinitelyTyped's react/index.d.ts ([#​3402][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: Mark onLoad/onError as supported on iframes ([#​3398][] [@​maiis](https://togithub.com/maiis), [#​3406][] [@​akx](https://togithub.com/akx)) - \[`no-unknown-property`]: allow `imageSrcSet` and `imageSizes` attributes on `` ([#​3407][] [@​terrymun](https://togithub.com/terrymun)) - \[`no-unknown-property`]: add `border`; `focusable` on `` ([#​3404][] [#​3404][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: React lowercases `data-` attrs ([#​3395][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: add `valign` on table components ([#​3389][] [@​ljharb](https://togithub.com/ljharb)) [7.31.7]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.6...v7.31.7 [#​3407]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3407 [#​3406]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3406 [#​3405]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3405 [#​3404]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3404 [#​3402]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3402 [#​3398]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3398 [#​3397]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3397 [#​3396]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3396 [#​3395]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3395 [#​3394]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3394 [#​3391]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3391 [#​3389]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3389 ### [`v7.31.6`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7316---20220904) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.5...v7.31.6) ##### Fixed - \[`no-unknown-property`]: `onError` and `onLoad` both work on `img` and `script` ([#​3388][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: data-\* attributes can have numbers ([#​3390][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: add more audio/video attributes ([#​3390][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: move allowfullscreen to case ignored attributes ([#​3390][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: fill works on line, mask, and use elements ([#​3390][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: add onMouseMoveCapture as valid react-specific attribute ([#​3390][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: make onLoad and onError be accepted on more elements ([#​3390][] [@​sjarva](https://togithub.com/sjarva)) ##### Changed - \[Docs] \[`no-unknown-property`]: add a mention about using ignores properties with libraries that add props ([#​3390][] [@​sjarva](https://togithub.com/sjarva)) [7.31.6]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.5...v7.31.6 [#​3390]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3390 [#​3388]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3388 ### [`v7.31.5`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7315---20220903) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.4...v7.31.5) ##### Fixed - \[`no-unknown-property`]: add properties `onToggle`, `fill`, `as`, and pointer events ([#​3385][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: add `defaultChecked` property ([#​3385][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: add touch and media event related properties ([#​3385][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: `children` is always an acceptable prop; iframes have `scrolling`; video has `playsInline` ([#​3385][] [@​ljharb](https://togithub.com/ljharb)) [7.31.5]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.4...v7.31.5 [#​3385]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3385 ### [`v7.31.4`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7314---20220903) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.3...v7.31.4) ##### Fixed - \[`no-unknown-property`]: support `checked` on inputs ([#​3383][] [@​ljharb](https://togithub.com/ljharb)) [#​3383]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3383 [7.31.4]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.3...v7.31.4 ### [`v7.31.3`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7313---20220902) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.2...v7.31.3) ##### Fixed - \[`no-unknown-property`]: add SVG and meta properties ([#​3381][] [@​AhmadMayo](https://togithub.com/AhmadMayo)) [7.31.3]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.2...v7.31.3 [#​3381]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3381 ### [`v7.31.2`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7312---20220902) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.1...v7.31.2) ##### Fixed - \[`jsx-key`]: avoid a crash with optional chaining ([#​3371][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-sort-props`]: avoid a crash with spread props ([#​3376][] [@​ljharb](https://togithub.com/ljharb)) - \[`no-unknown-property`]: properly recognize valid data- and aria- attributes ([#​3377][] [@​sjarva](https://togithub.com/sjarva)) - \[`no-unknown-property`]: properly recognize unknown HTML/DOM attributes ([#​3377][] [@​sjarva](https://togithub.com/sjarva)) ##### Changed - \[Docs] \[`jsx-sort-props`]: replace ref string with ref variable ([#​3375][] [@​Luccasoli](https://togithub.com/Luccasoli)) - \[Refactor] \[`no-unknown-property`]: improve jsdoc; extract logic to separate functions ([#​3377][] [@​sjarva](https://togithub.com/sjarva)) - \[Refactor] \[`no-unknown-property`]: update DOM properties to include also one word properties ([#​3377][] [@​sjarva](https://togithub.com/sjarva)) [7.31.2]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.1...v7.31.2 [#​3377]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3377 [#​3376]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3376 [#​3375]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3375 [#​3371]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3371 ### [`v7.31.1`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7311---20220826) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.0...v7.31.1) ##### Fixed - \[`jsx-key`]: fix detecting missing key in `Array.from`'s mapping function ([#​3369][] [@​sjarva](https://togithub.com/sjarva)) - \[`jsx-no-leaked-render`]: coerce strategy now allows a ternary ([#​3370][] [@​sjarva](https://togithub.com/sjarva)) [7.31.1]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.31.0...v7.31.1 [#​3370]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3370 [#​3369]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3369 ### [`v7.31.0`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7310---20220824) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.30.2...v7.31.0) ##### Added - \[`jsx-newline`]: add `allowMultiline` option when prevent option is true ([#​3311][] [@​TildaDares](https://togithub.com/TildaDares)) - \[`forbid-dom-props`]: add `disallowedFor` option ([#​3338][] [@​TildaDares](https://togithub.com/TildaDares)) ##### Fixed - \[`jsx-no-literals`]: properly error on children with noAttributeStrings: true ([#​3317][] [@​TildaDares](https://togithub.com/TildaDares)) - \[`jsx-key`]: catch key errors inside conditional statements ([#​3320][] [@​TildaDares](https://togithub.com/TildaDares)) - \[`display-name`]: Accept forwardRef and Memo nesting in newer React versions ([#​3321][] [@​TildaDares](https://togithub.com/TildaDares)) - \[`jsx-key`]: avoid a crash from optional chaining from [#​3320][] ([#​3327][] [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-key`]: avoid a crash on a non-array node.body from [#​3320][] ([#​3328][] [@​ljharb](https://togithub.com/ljharb)) - \[`display-name`]: fix false positive for assignment of function returning null ([#​3331][] [@​apbarrero](https://togithub.com/apbarrero)) - \[`display-name`]: fix identifying `_` as a capital letter ([#​3335][] [@​apbarrero](https://togithub.com/apbarrero)) - \[`require-default-props`]: avoid a crash when function has no props param ([#​3350][] [@​noahnu](https://togithub.com/noahnu)) - \[`display-name`], component detection: fix HOF returning null as Components ([#​3347][] [@​jxm-math](https://togithub.com/jxm-math)) - \[`forbid-prop-types`]: Ignore objects that are not of type React.PropTypes ([#​3326][] [@​TildaDares](https://togithub.com/TildaDares)) - \[`display-name`], component detection: fix false positive for HOF returning only nulls and literals ([#​3305][] [@​golopot](https://togithub.com/golopot)) - \[`jsx-no-target-blank`]: False negative when rel attribute is assigned using ConditionalExpression ([#​3332][] [@​V2dha](https://togithub.com/V2dha)) - \[`jsx-no-leaked-render`]: autofix nested "&&" logical expressions ([#​3353][] [@​hduprat](https://togithub.com/hduprat)) - \[`jsx-sort-props`]: sorted attributes now respect comments ([#​3358][] [@​ROSSROSALES](https://togithub.com/ROSSROSALES)) ##### Changed - \[Refactor] \[`jsx-indent-props`]: improved readability of the checkNodesIndent function ([#​3315][] [@​caroline223](https://togithub.com/caroline223)) - \[Tests] \[`jsx-indent`], \[`jsx-one-expression-per-line`]: add passing test cases ([#​3314][] [@​ROSSROSALES](https://togithub.com/ROSSROSALES)) - \[Refactor] `boolean-prop-naming`, `jsx-indent`: avoid assigning to arguments ([#​3316][] [@​caroline223](https://togithub.com/caroline223)) - \[Docs] \[`sort-comp`]: add class component examples ([#​3339][] [@​maurer2](https://togithub.com/maurer2)) - \[Docs] \[`jsx-no-useless-fragment`]: add more examples of correct code ([#​3349][] [@​karlhorky](https://togithub.com/karlhorky)) - \[Docs] \[`jsx-boolean-value`]: add jsdoc types for helper functions ([#​3344][] [@​caroline223](https://togithub.com/caroline223)) - \[readme] remove dead codeclimate badge, add actions badge ([@​ljharb](https://togithub.com/ljharb)) - \[readme] Remove dead david-dm badge ([#​3262][] [@​ddzz](https://togithub.com/ddzz)) - \[Refactor] \[`jsx-closing-bracket-location`], \[`jsx-no-bind`]: fix eslint issues ([#​3351][] [@​caroline223](https://togithub.com/caroline223)) - \[Tests] \[`function-component-definition`]: add passing test cases ([#​3355][] [@​TildaDares](https://togithub.com/TildaDares)) - \[Docs] \[`jsx-no-target-blank`]: Fix link to link-type-noreferrer ([#​3319][] [@​Luccasoli](https://togithub.com/Luccasoli)) - \[Docs] document which rules provide suggestions ([#​3359][], [#​3365][] [@​bmish](https://togithub.com/bmish)) - \[Docs] Consistent rule descriptions and doc sections ([#​3361][] [@​bmish](https://togithub.com/bmish)) - \[Docs] Standardize deprecated rule notice ([#​3364][] [@​bmish](https://togithub.com/bmish)) - \[Docs] Fix typos ([#​3366][] [@​bmish](https://togithub.com/bmish)) - \[Docs] Add markdownlint for documentation formatting consistency ([#​3367][] [@​bmish](https://togithub.com/bmish)) - \[Docs] Add config notice to rule docs ([#​3362][] [@​bmish](https://togithub.com/bmish)) [7.31.0]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.30.1...v7.31.0 [#​3367]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3367 [#​3366]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3366 [#​3365]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3365 [#​3364]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3364 [#​3362]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3362 [#​3361]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3361 [#​3359]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3359 [#​3358]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3358 [#​3355]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3355 [#​3353]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3353 [#​3351]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3351 [#​3350]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3350 [#​3349]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3349 [#​3347]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3347 [#​3344]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3344 [#​3339]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3339 [#​3338]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3338 [#​3335]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3335 [#​3332]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3332 [#​3331]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3331 [#​3328]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3328 [#​3327]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3327 [#​3326]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3326 [#​3321]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3321 [#​3320]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3320 [#​3319]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3319 [#​3317]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3317 [#​3316]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3316 [#​3315]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3315 [#​3314]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3314 [#​3311]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3311 [#​3305]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3305 [#​3262]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3262 ### [`v7.30.2`](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.30.1...v7.30.2) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.30.1...v7.30.2) ### [`v7.30.1`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7301---20220623) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.30.0...v7.30.1) ##### Fixed - \[`display-name`]: fix false positive for HOF returning only nulls ([#​3291][] [@​golopot](https://togithub.com/golopot)) - \[`jsx-no-leaked-render`]: avoid unnecessary negation operators and ternary branches deletion ([#​3299][] [@​Belco90](https://togithub.com/Belco90)) - \[`display-name`]: fix false positive when using memo ([#​3304][] [@​golopot](https://togithub.com/golopot)) ##### Changed - \[Docs] \[`jsx-tag-spacing`]: rename option from \[[#​3264](https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3264)]\[] (\[[#​3294](https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3294)\[] [@​ljharb](https://togithub.com/ljharb)) - \[Docs] \[`jsx-key`]: split the examples ([#​3293][] [@​ioggstream](https://togithub.com/ioggstream)) [7.30.1]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.30.0...v7.30.1 [#​3304]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3304 [#​3299]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3299 [#​3294]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3294 [#​3293]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3293 [#​3291]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3291 ### [`v7.30.0`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#​7300---20220518) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.29.4...v7.30.0) ##### Added - \[`destructuring-assignment`]: add option `destructureInSignature` ([#​3235][] [@​golopot](https://togithub.com/golopot)) - \[`no-unknown-property`]: Allow crossOrigin on image tag (SVG) ([#​3251][] [@​zpao](https://togithub.com/zpao)) - \[`jsx-tag-spacing`]: Add `multiline-always` option ([#​3260][], [#​3264][] [@​Nokel81](https://togithub.com/Nokel81)) - \[`function-component-definition`]: replace `var` by `const` in certain situations ([#​3248][] [@​JohnBerd](https://togithub.com/JohnBerd) [@​SimeonC](https://togithub.com/SimeonC)) - add \[`jsx-no-leaked-render`] ([#​3203][] [@​Belco90](https://togithub.com/Belco90)) - \[`require-default-props`]: add option `functions` ([#​3249][] [@​nix6839](https://togithub.com/nix6839)) - \[`jsx-newline`]: Add `allowMultilines` option (\[[#​3311](https://togithub.com/jsx-eslint/eslint-plugin-react/issues/3311)]\[] [@​TildaDares](https://togithub.com/TildaDares)) ##### Fixed - \[`hook-use-state`]: Allow UPPERCASE setState setter prefixes ([#​3244][] [@​duncanbeevers](https://togithub.com/duncanbeevers)) - `propTypes`: add `VFC` to react generic type param map ([#​3230][] [@​dlech](https://togithub.com/dlech)) - \[`no-unused-state`]: avoid a crash ([#​3258][] [@​WillyLiaoWH](https://togithub.com/WillyLiaoWH) [@​ljharb](https://togithub.com/ljharb)) - \[`jsx-no-useless-fragment`]: use proper apostrophe in error message ([#​3266][] [@​develohpanda](https://togithub.com/develohpanda)) - `propTypes`: handle imported types/interface in forwardRef generic ([#​3280][] [@​vedadeepta](https://togithub.com/vedadeepta)) - \[`button-has-type`]: fix exception for `

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

github-actions[bot] commented 2 years ago

Review app