[Snyk] Upgrade eslint-plugin-react from 7.14.3 to 7.30.0 #1
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.
Snyk has created this PR to upgrade eslint-plugin-react from 7.14.3 to 7.30.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: eslint-plugin-react
Added
destructuring-assignment
: add optiondestructureInSignature
(#3235 @ golopot)no-unknown-property
: Allow crossOrigin on image tag (SVG) (#3251 @ zpao)jsx-tag-spacing
: Addmultiline-always
option (#3260, #3264 @ Nokel81)function-component-definition
: replacevar
byconst
in certain situations (#3248 @ JohnBerd @ SimeonC)jsx-no-leaked-render
(#3203 @ Belco90)require-default-props
: add optionfunctions
(#3249 @ nix6839)Fixed
hook-use-state
: Allow UPPERCASE setState setter prefixes (#3244 @ duncanbeevers)propTypes
: addVFC
to react generic type param map (#3230 @ dlech)no-unused-state
: avoid a crash (#3258 @ WillyLiaoWH @ ljharb)jsx-no-useless-fragment
: use proper apostrophe in error message (#3266 @ develohpanda)propTypes
: handle imported types/interface in forwardRef generic (#3280 @ vedadeepta)button-has-type
: fix exception for<button type>
(#3255 @ meowtec)no-unstable-nested-components
: Improve error message and catch React.memo() (#3247 @ zacharyliu)Changed
no-unused-prop-types
: fix syntax errors (#3259 @ mrdulin)no-deprecated
: improve performance (#3271 @ golopot)no-did-mount-set-state
,no-did-update-set-state
,no-will-update-set-state
: improve performance (#3272 @ golopot)Components.detect
(#3273 @ golopot)isParenthesized
AST util (#3203 @ Belco90)default-props-match-prop-types
,require-default-props
,sort-prop-types
: fix typos (#3279 @ nix6839)Fixed
no-unused-state
: avoid a crash on a class field gDSFP (#3236 @ ljharb)boolean-prop-naming
: handle React.FC, intersection, union types (#3241 @ ljharb)Fixed
no-unused-state
: avoid a crash on type-only gDSFP declarations (#3225 @ ljharb)jsx-curly-brace-presence
: the string "never" defaults topropElementValues
asignore
(#3228 @ ljharb)propTypes
: addVFC
to react generic list (#3230 @ ljharb)jsx-curly-brace-presence
: avoid warning on curlies containing quote characters (#3214 @ ljharb)jsx-indent
: do not report on non-jsx-returning ternaries that contain null (#3222 @ ljharb)jsx-indent
: properly report on returned ternaries with jsx (#3222 @ ljharb)no-array-index-key
: detect named-importedcloneElement
/createElement
(#3213 @ ljharb)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)Read more
Read more
Read more
Read more
Read more
Commit messages
Package name: eslint-plugin-react
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs