[js] Upgrade eslint-plugin-react: 7.21.5 → 7.22.0 (minor) #254
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.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ eslint-plugin-react (7.21.5 → 7.22.0) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 30 commits:
Update CHANGELOG and bump version
[Fix] `no-danger-with-children`/`style-prop-object`/`no-adjacent-inline-elements`: add category, URL
[Tests] clean up some test cases
[Fix] `no-unused-prop-types`: apply `skipShapeProps` to exact types
[meta] fix changelog entry
[New] `jsx-no-target-blank`: Add `warnOnSpreadAttributes` option
[New] `jsx-indent-props`: add `ignoreTernaryOperator` option
[Fix] `jsx-no-undef`: handle the TS parser combined with an invalid ecmaVersion
[Tests] add `readme` tests I forgot in #2887
[Tests] migrate tests to Github Actions
[Tests] test on node v14 and v15, and remove v11 and v13
[actions] add Automatic Rebase and "Allow Edits" workflows
[Docs] `prop-types`: fix example
[Docs] `no-unused-prop-types`: Add new example to rule
[Fix] `jsx-props-no-multi-spaces`: fix a false positive for beside comments
[Fix] `prop-types`: default argument does not count as props-types declaration
[Fix] `no-unknown-property`: avoid crash with prop named with Object.prototype key
[Fix] `jsx-wrap-multilines`: fix crash with `declaration`s that are on a new line after `=`
[Tests] fix `jsx-max-depth` tests in eslint 4
[Fix] `jsx-max-depth`: avoid crash with childless jsx child
[Fix] `no-typos`: avoid crash with computed method name
[Fix] `jsx-no-script-url`: avoid crash with boolean `href`
[Fix] `jsx-no-target-blank`: avoid a crash with a non-string literal
[Fix] `prop-types`: function in class that returns a component causes false warning in typescript
[Fix] `display-name`/component detection: avoid a crash on anonymous components
[New] `jsx-no-constructed-context-values`: add new rule which checks when the value passed to a Context Provider will cause needless rerenders
[Docs] make example descriptions consistent
[New] `jsx-newline`: Enforce a new line after jsx elements and expressions
[New]: `jsx-key`: added `checkKeyMustBeforeSpread` option for new jsx transform
[meta] fix changelog for v7.21.5
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands