build: update dependency eslint-plugin-react to v7.26.0
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
eslint-plugin-react | 7.24.0 -> 7.26.0 |
Release Notes
yannickcr/eslint-plugin-react
v7.26.0
Added
- add [
no-namespace
] rule (#2640 @yacinehmito @ljharb) - [
jsx-max-props-per-line
]: addsingle
andmulti
options (#3078 @SIL0RAK)
Fixed
Changed
- [
no-access-state-in-setstate
]: passing test for “don't error if it's not a React Component” (#1873 @kentcdodds)
v7.25.3
Fixed
- [
prop-types
],propTypes
: bail out unknown generic types inside func params (#3076 @vedadeepta)
Changed
- [readme] Update broken link for configuration files (#3071 @prateek3255)
- [Refactor] create/extract
isCreateElement
andisDestructuredFromPragmaImport
utils (@ljharb)
v7.25.2
Fixed
- [
jsx-no-useless-fragments
]: Handle insignificant whitespace correctly whenallowExpressions
istrue
(#3061 @benj-dobs) - [
prop-types
],propTypes
: handle implicitchildren
prop in react's generic types (#3064 @vedadeepta) - [
display-name
]: fix arrow function returning result of function call with JSX arguments being interpreted as component (#3065 @danielfinke) - [
jsx-no-target-blank
]: avoid crash on attr-only href (#3066 @ljharb @gaz77a) - [
jsx-uses-vars
]: ignore lowercase tag names (#3070 @alanorozco)
v7.25.1
Fixed
v7.25.0
Added
- [
jsx-no-useless-fragments
]: add option to allow single expressions in fragments (#3006 @mattdarveniza) - add [
prefer-exact-props
] rule (#1547 @jomasti) - [
jsx-no-target-blank
]: addforms
option (#1617 @jaaberg) - [
jsx-pascal-case
]: addallowLeadingUnderscore
option (#3039 @pangaeatech) - [
no-children-prop
]: AddallowFunctions
option (#1903 @alexzherdev) - [
jsx-runtime
]: setparserOptions.jsxPragma
for@typescript-eslint/parser
(bb64df65 @ljharb)
Fixed
- component detection: use
estraverse
to improve component detection (#2992 @Wesitos) - [
destructuring-assignment
], [no-multi-comp
], [no-unstable-nested-components
], component detection: improve component detection (#3001 @vedadeepta) - [
no-deprecated
]: fix crash on rest elements (#3016 @ljharb) - [
destructuring-assignment
]: get the contextName correctly (#3025 @ohhoney1) - [
no-typos
]: prevent crash on styled components and forwardRefs (#3036 @ljharb) - [
destructuring-assignment
], component detection: handle default exports edge case (#3038 @vedadeepta) - [
no-typos
]: fix crash on private methods (#3043 @ljharb) - [
jsx-no-bind
]: handle local function declarations (#3048 @p7g) - [
prop-types
],propTypes
: handle React.* TypeScript types (#3049 @vedadeepta) - [
prop-types
],propTypes
: add handling forFC<Props>
, improve tests (#3051 @vedadeepta) - [
prop-types
],propTypes
: prevent crash introduced in #3051 (#3053 @ljharb)
Changed
- [Docs] [
jsx-no-bind
]: updates discussion of refs (#2998 @dimitropoulos) - [Refactor]
utils/Components
: correct spelling and delete unused code (#3026 @ohhoney1) - [Docs] [
jsx-uses-react
], [react-in-jsx-scope
]: document [react/jsx-runtime
] config (#3018 @pkuczynski @ljharb) - [Docs] [
require-default-props
]: fix small typo (#2994 @evsasse) - [Tests] add weekly scheduled smoke tests (#2963 @AriPerkkio)
- [Docs] improve instructions for
jsx-runtime
config (#3052 @ljharb)
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by Common Ground Bot