build: update dependency eslint-plugin-react to v7.27.0
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
eslint-plugin-react | 7.26.1 -> 7.27.0 |
Release Notes
yannickcr/eslint-plugin-react
v7.27.0
Added
- support eslint 8.x (#3059 @MichaelDeBoey @ljharb)
- [
no-unused-class-component-methods
]: Handle unused class component methods (#2166 @jakeleventhal @pawelnvk) - add [
no-arrow-function-lifecycle
] (#1980 @ngtan) - add support for
@typescript-eslint/parser
v5 (@ljharb) - [
no-invalid-html-attribute
]: add rule (#2863 @Nokel81)
Fixed
-
propTypes
: addVoidFunctionComponent
to react generic list (#3092 @vedadeepta) - [
jsx-fragments
], [jsx-no-useless-fragment
]: avoid a crash on fragment syntax intypescript-eslint
parser (@ljharb) - [
jsx-props-no-multi-spaces
]: avoid a crash on long member chains in tag names intypescript-eslint
parser (@ljharb) - [
no-unused-prop-types
],usedPropTypes
: avoid crash with typescript-eslint parser (@ljharb) - [
display-name
]: unwrap TSas
expressions (#3110 @ljharb) - [
destructuring-assignment
]: detect refs nested in functions (#3102 @ljharb) - [
no-unstable-components
]: improve handling of objects containing render function properties (#3111 @fizwidget) - [
prop-types
],propTypes
: add forwardRef<>, ForwardRefRenderFunction<> prop-types (#3112 @vedadeepta) - [
no-typos
]: prevent a crash when using private methods (@ljharb) - [
destructuring-assignment
], component detection: improve component detection (#3122 @vedadeepta) - [
no-invalid-html-attribute
]: avoid crash on spread props (#3126 @ljharb)
Changed
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.