Update dependency eslint-plugin-react to v7.12.4 #10
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.11.1
->7.12.4
Release Notes
yannickcr/eslint-plugin-react
v7.12.4
Compare Source
Fixed
no-unused-prop-types
][]: avoid a crash (#2131, @ljharb)prop-types
][]: avoid further crashes from nonexistent nodes in unusedPropTypes (#2127, @ljharb)prop-types
][]: Read name of callee object (#2125, @CrOrc)prop-types
][]: Ignore reassignments when matching props declarations with components (#2051, #1957, @yannickcr)prop-types
][], [no-unused-prop-types
][], [require-default-props
][]: Detect components with return statement in switch/case (#2118, @yannickcr)Changed
prop-types
][], [no-typos
][]: add passing test cases (#2123, #2128, #2136, #2134, @ljharb)v7.12.3
Compare Source
Fixed
jsx-indent
][]: Prevent crash on valueless props (#2120, @jomasti)jsx-fragments
][]: avoid crashing on self-closing fragments (#2113, @alexzherdev)no-unused-prop-types
][]: Fix propType detection inside class bodies (#2115, @drx)no-unused-prop-types
][]: fix issue with propTypes misclassifying props (#2111, @drx)display-name
][]: fix false positive forReact.memo
(#2109, @jomasti)Changed
v7.12.2
Compare Source
Fixed
prop-types
][]: avoid crash on used prevProps (#2095, @ljharb)forbid-prop-types
][]: fix crash with propWrapper check on MemberExpressions (#2104, @ljharb)v7.12.1
Compare Source
Fixed
no-unused-state
][]: Fix crash with class fields (#2098, @jomasti)prop-types
][]: Fix false positives inside lifecycle methods (#2099, @jomasti)jsx-max-depth
][]: avoid a crash (#2102, @ljharb)jsx-wrap-multilines
][]: avoid crash when no trailing newline (#2100, @ljharb)Changed
v7.12.0
Compare Source
Added
no-typos
]: Support createClass (#1828, @alexzherdev)jsx-indent
][]: addcheckAttributes
option for JSX attribute indentation (#2086, @jomasti)propWrapperFunctions
setting values (#2065, @jomasti)jsx-fragments
][] rule to enforce fragment syntax (#1994, @alexzherdev)jsx-no-literals
][]: print node value in warning message (#2008, @jlgonzalezdev)Fixed
jsx-max-depth
][]: Fix depth of JSX siblings in a JSXEpressionContainer (#1824, @alexzherdev)no-array-index-key
][]: fix in React.Children methods (#2085, @himynameisdave)no-unused-state
][]: handle functional setState (#2084, @jomasti)no-deprecated
][]: Disable legacy lifecycle methods linting for now (#2069, @sergei-startsev)forbid-foreign-prop-types
][]: ensureallowInPropTypes
option applies to class fields (#2040, @Sheile)jsx-wrap-multilines
][]: catch single missing newlines (#1984, @MrHen)jsx-first-prop-new-line
][]: Fix for parsers (like TypeScript) (#2026, @HauptmannEck)sort-comp
][]: Fix fixer in case of more than 10 props (#2012, @tihonove)no-unused-state
][] Don't depend on state parameter name (#1829, @alexzherdev)no-this-in-sfc
][] fix for class properties (#1995, @sergei-startsev)no-this-in-sfc
][] fix rule behavior for arrow functions inside a class field (#1989, @sergei-startsev)destructuring-assignment
][]: handle nested props usage (#1983, @alexzherdev)sort-prop-types
][]: fix string property order (#1977, @metreniuk)jsx-no-target-blank
][]: don’t crash when there’s no value (#1949, @ljharb)prop-types
][], [no-unused-prop-types
][]: better handle object spread (#1939, @alexzherdev)Changed
jsx-fragments
][]: improve message text (#2032, @alexzherdev)no-unsafe
][]: handle all unsafe life-cycle methods (#2075, @sergei-startsev)require-default-props
][]: Change error message naming from singular defaultProp to plural defaultProps (#2064, @jseminck)propTypes
detection (#1946, @alexzherdev)defaultProps
detection (#1942, @alexzherdev)propTypes
detection (#2001, @alexzherdev)no-did-mount-set-state
][], [no-did-update-set-state
][], [no-will-update-set-state
][]: fix docs URLs (#2090, @JBallin)jsx-sort-props
][]: Fix small mistake (#2044, @dimitarnestorov)no-unescaped-entities
][]: add more escape examples (#2015, @stevemao)display-name
][]: mention defaultignoreTranspilerName
value (#2002, @OliverJAsh)jsx-no-target-blank
][]: Add full example (#1988, @atomcorp)jsx-no-target-blank
][].md (#1953, @brunocoelho)require('babel-eslint')
from tests (#2004, @sergei-startsev)prop-types
][]: Add tests for prop-types destructuring (#2029, @sstern6)display-name
][]: add false positive component detection for destructured createElement (#1098, @arian)Renovate 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 if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.