This repository has been archived by the owner on Apr 27, 2022. It is now read-only.
chore(deps): update dependency eslint-plugin-react to v7.29.1 #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.28.0
->7.29.1
Release Notes
yannickcr/eslint-plugin-react
v7.29.1
Compare Source
Fixed
jsx-key
]: prevent false "missing array key" warning (#3215 @ljharb)jsx-indent
]: avoid checking returns sans jsx (#3218 @ljharb)jsx-key
]: avoid a crash (#3220 @ljharb)v7.29.0
Compare Source
Added
hook-use-state
] rule to enforce symmetric useState hook variable names (#2921 @duncanbeevers)jsx-no-target-blank
]: Improve fixer with optionallowReferrer
(#3167 @apepper)jsx-curly-brace-presence
]: add "propElementValues" config option (#3191 @ljharb)iframe-missing-sandbox
] rule (#2753 @tosmolka @ljharb)no-did-mount-set-state
], [no-did-update-set-state
]: no-op with react >= 16.3 (#1754 @ljharb)jsx-sort-props
]: support multiline prop groups (#3198 @duhamelgm)jsx-key
]: addwarnDuplicates
option to warn on duplicate jsx keys in an array (#2614 @ljharb)jsx-sort-props
]: addlocale
option (#3002 @ljharb)Fixed
prop-types
],propTypes
: add support for exported type inference (#3163 @vedadeepta)no-invalid-html-attribute
]: allow 'shortcut icon' onlink
(#3174 @Primajin)prefer-exact-props
] improve performance forIdentifier
visitor (#3190 @meowtec)propTypes
: Handle TSTypeReference in no-unused-prop-type (#3195 @niik)sort-prop-types
]: avoid repeated warnings of the same node/reason (#519 @ljharb)jsx-indent
]: Fix indent handling for closing parentheses (#620 @stefanbuck])prop-types
/propTypes
]: follow a returned identifier to see if it is JSX (#1046 @ljharb)no-unused-state
]: TS: supportgetDerivedStateFromProps
as an arrow function (#2061 @ljharb)no-array-index-key
]: catch.toString
andString()
usage (#2813 @RedTn)function-component-definition
]: do not break on dollar signs (#3207 @ljharb)prefer-stateless-function
]: avoid a crash insidedoctrine
(#2596 @ljharb)prop-types
]: catch infinite loop (#2861 @ljharb)forbid-prop-types
]: properly report name in error message; check undestructured arguments (#2945 @ljharb)Changed
jsx-runtime
] link from branch to sha (#3160 @tatsushitoji)jsx-no-target-blank
]: Improve readme (#3169 @apepper)display-name
]: improve examples (#3189 @golopot)no-invalid-html-attribute
]: sort HTML_ELEMENTS and messages (#3182 @Primajin)forbid-foreign-prop-types
]: documentallowInPropTypes
option (#1815 @ljharb)jsx-sort-default-props
]: remove unnecessary code (#1817 @ljharb)jsx-no-target-blank
]: fix syntax highlighting (#3199 @shamrin)jsx-key
]: improve example (#3202 @chnakamura)jsx-key
]: use more AST selectors (@ljharb)Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.