Update dependency eslint-plugin-react to ^7.28.0 #349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
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.26.1
->^7.28.0
Release Notes
yannickcr/eslint-plugin-react
v7.28.0
Compare Source
Added
function-component-definition
]: support namedComponents option being an array (#3129 @petersendidit)Fixed
jsx-indent-props
]: Resetline.isUsingOperator
correctly after ternary (#3146 @tobiaswaltl)Changed
no-arrow-function-lifecycle
], [no-unused-class-component-methods
]: use report/messages convention (@ljharb)util.isReactHookCall
(#3156 @duncanbeevers)v7.27.1
Compare Source
Fixed
no-invalid-html-attribute
]: allowlink
rel
to haveapple-touch-icon
,mask-icon
(#3132 @ljharb)no-unused-class-component-methods
]: addgetChildContext
lifecycle method (#3136 @yoyo837)prop-types
]: fix false positives on renames in object destructuring (#3142 @golopot)no-arrow-function-lifecycle
]: fix invalid autofix from a concise arrow method to a regular one (#3145 @ljharb)display-name
]: avoid false positives on non-creatClass object expressions (#3144 @ljharb)Changed
v7.27.0
Compare Source
Added
no-unused-class-component-methods
]: Handle unused class component methods (#2166 @jakeleventhal @pawelnvk)no-arrow-function-lifecycle
] (#1980 @ngtan)@typescript-eslint/parser
v5 (@ljharb)no-invalid-html-attribute
]: add rule (#2863 @Nokel81)Fixed
propTypes
: addVoidFunctionComponent
to react generic list (#3092 @vedadeepta)jsx-fragments
], [jsx-no-useless-fragment
]: avoid a crash on fragment syntax intypescript-eslint
parser (@ljharb)jsx-props-no-multi-spaces
]: avoid a crash on long member chains in tag names intypescript-eslint
parser (@ljharb)no-unused-prop-types
],usedPropTypes
: avoid crash with typescript-eslint parser (@ljharb)display-name
]: unwrap TSas
expressions (#3110 @ljharb)destructuring-assignment
]: detect refs nested in functions (#3102 @ljharb)no-unstable-components
]: improve handling of objects containing render function properties (#3111 @fizwidget)prop-types
],propTypes
: add forwardRef<>, ForwardRefRenderFunction<> prop-types (#3112 @vedadeepta)no-typos
]: prevent a crash when using private methods (@ljharb)destructuring-assignment
], component detection: improve component detection (#3122 @vedadeepta)no-invalid-html-attribute
]: avoid crash on spread props (#3126 @ljharb)Changed
jsx-no-target-blank
]: adjust options description (#3124 @gebsh)Configuration
📅 Schedule: "before 7am on Tuesday" in timezone Australia/Sydney.
🚦 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.