[Snyk] Upgrade eslint-plugin-react from 7.23.2 to 7.31.0 #422
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.23.2 to 7.31.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
jsx-newline
: addallowMultiline
option when prevent option is true (#3311 @ TildaDares)forbid-dom-props
: adddisallowedFor
option (#3338 @ TildaDares)Fixed
jsx-no-literals
: properly error on children with noAttributeStrings: true (#3317 @ TildaDares)jsx-key
: catch key errors inside conditional statements (#3320 @ TildaDares)display-name
: Accept forwardRef and Memo nesting in newer React versions (#3321 @ TildaDares)jsx-key
: avoid a crash from optional chaining from #3320 (#3327 @ ljharb)jsx-key
: avoid a crash on a non-array node.body from #3320 (#3328 @ ljharb)display-name
: fix false positive for assignment of function returning null (#3331 @ apbarrero)display-name
: fix identifying_
as a capital letter (#3335 @ apbarrero)require-default-props
: avoid a crash when function has no props param (#3350 @ noahnu)display-name
, component detection: fix HOF returning null as Components (#3347 @ jxm-math)forbid-prop-types
: Ignore objects that are not of type React.PropTypes (#3326 @ TildaDares)display-name
, component detection: fix false positive for HOF returning only nulls and literals (#3305 @ golopot)jsx-no-target-blank
: False negative when rel attribute is assigned using ConditionalExpression (#3332 @ V2dha)jsx-no-leaked-render
: autofix nested "&&" logical expressions (#3353 @ hduprat)jsx-sort-props
: sorted attributes now respect comments (#3358 @ ROSSROSALES)Changed
jsx-indent-props
: improved readability of the checkNodesIndent function (#3315 @ caroline223)jsx-indent
,jsx-one-expression-per-line
: add passing test cases (#3314 @ ROSSROSALES)boolean-prop-naming
,jsx-indent
: avoid assigning to arguments (#3316 @ caroline223)sort-comp
: add class component examples (#3339 @ maurer2)jsx-no-useless-fragment
: add more examples of correct code (#3349 @ karlhorky)jsx-boolean-value
: add jsdoc types for helper functions (#3344 @ caroline223)jsx-closing-bracket-location
,jsx-no-bind
: fix eslint issues (#3351 @ caroline223)function-component-definition
: add passing test cases (#3355 @ TildaDares)jsx-no-target-blank
: Fix link to link-type-noreferrer (#3319 @ Luccasoli)This was a mispublish of v7.31.0.
7.30.1 - 2022.06.23
Fixed
display-name
: fix false positive for HOF returning only nulls (#3291 @ golopot)jsx-no-leaked-render
: avoid unnecessary negation operators and ternary branches deletion (#3299 @ Belco90)display-name
: fix false positive when using memo (#3304 @ golopot)Changed
jsx-tag-spacing
: rename option from #3264 (#3294 @ ljharb)jsx-key
: split the examples (#3293 @ ioggstream)Read more
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)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