fix(deps): update dependency eslint-plugin-react to ^7.21.4 #141
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:
Release Notes
yannickcr/eslint-plugin-react
v7.21.4
Compare Source
Fixed
no-unused-prop-types
]: Silence false positive onnever
type in TS (#2815 @pcorpet)jsx-indent-props
]: Apply indentation when operator is used in front of the upper line (#2808, #2820 @Moong0122)jsx-ast-utils
(#2822 jsx-eslint/jsx-ast-utils#102 @ljharb)v7.21.3
Compare Source
Fixed
prop-types
]: fix Cannot read property 'type' of undefined error when destructured param (#2807 @minwe)no-typos
]: avoid crash on spread syntax in createReactClass object (#2816 @ljharb @Songyu-Wang)v7.21.2
Compare Source
Fixed
prop-types
]: handle RestElement in destructured param (#2805 @hank121314)v7.21.1
Compare Source
Fixed
jsx-handler-names
]: avoid a crash when an inline prop is not a MemberExpression (#2803 @willheslam)v7.21.0
Compare Source
Added
button-has-type
]: support trivial ternary expressions (#2748 @Hypnosphi)jsx-handler-names
]: addcheckInlineFunction
option (#2761 @dididy)jsx-no-literals
]: addnoAttributeStrings
option (#2782 @TaLeaMonet)prop-types
]: add support forPropTypes.exact
(#2740 @jzabala)jsx-filename-extension
]: Add allow option (#2746 @remcohaszing)Fixed
function-component-definition
]: ignore object properties (#2771 @stefan-wullems)forbid-component-props
]: Implemented support for "namespaced" components (#2767 @mnn)prefer-read-only-props
]: support Flow$ReadOnly
(#2772, #2779, #2770 @karolina-benitez)jsx-handler-names
]: handle whitespace (#2789 @AriPerkkio)prop-types
]: Detect TypeScript types for destructured default prop values (#2780 @sunghyunjo)jsx-pascal-case
]: Handle single character namespaced component (#2791 @daviferreira)jsx-closing-bracket-location
]: Intag-aligned
, made a distinction between tabs and spaces (#2796 @Moong0122)jsx-handler-names
]: false positive when handler name begins with number (#1689 @jsphstls)prop-types
]: Detect JSX returned by sequential expression (#2801 @mikol)jsx-props-no-multi-spaces
]: "Expected no line gap between" false positive (#2792 @karolina-benitez)no-unknown-property
]: check attributes with any input case (#2790 @julienw)prop-types
]/[no-unused-prop-types
]: handle CallExpression in ReturnType (#2802 @hank121314)jsx-uses-react
]: mark fragment variables as used (#2775 @remcohaszing)no-unused-prop-types
]: improve component declared props detection ([#2755][] @jzabala)jsx-props-no-multi-spaces
]: Show error in multi-line props (#2756 @iiison)Changed
jsx-one-expression-per-line
]: add passing tests (#2799 @TaLeaMonet)prop-types
]: add test (#2757 @jzabala)v7.20.6
Compare Source
Fixed
jsx-curly-brace-presence
]: fix multiline comment case (#2716 @ljharb)jsx-no-useless-fragment
]: accept fragments with call expressions (#2744 @hasparus)jsx-no-literals
] with allowStrings doesn't work in props (#2736 @karolina-benitez)no-find-dom-node
]: Improve error message (#2741 @ecraig12345)no-typos
]/[no-unused-prop-types
]/propType detection: Support typescript props interface extension and TSTypeAliasDeclaration (#2721 @hank121314)no-this-in-sfc
]/component detection: add arrow function to list of allowed position for component (#2708 @jzabala)no-access-state-in-setstate
]: add check for class component (#2711 @jzabala)prop-types
]/component detection: avoid a crash when a localcreateElement
identifier exists (#2733 @ljharb)Changed
no-unused-prop-types
]: add test assigning this.props to a variableRenovate configuration
📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.
🚦 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.