Update eslint-plugin-react 7.33.2 → 7.34.0 (minor) #186
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.33.2 → 7.34.0) · Repo · Changelog
Release Notes
7.34.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 46 commits:
Update CHANGELOG and bump version
[Dev Deps] update `@babel/core`, `@babel/plugin-syntax-decorators`, `eslint-doc-generator`
[Fix] `jsx-boolean-value`: make error messages clearer
[Fix] add a few jsdoc type annotations to work around TS inference for consumers
[Docs] update URLs
[Fix] `forbid-elements`: prevent a crash on `createElement()`
[Fix] `no-unknown-property`: add `fetchPriority`
[Deps] update `array.prototype.findlast`, `array.prototype.tosorted`, `es-iterator-helpers`
[Dev Deps] update `@babel/core`, `@babel/eslint-parser`, `eslint-doc-generator`
[Docs] `hook-use-state`: fix an undefined variable
[New] add `checked-requires-onchange-or-readonly` rule
[Docs] `iframe-missing-sandbox`: fix link to iframe attribute on mdn
[Fix] `prop-types`: handle nested forwardRef + memo
[New] `jsx-one-expression-per-line`: add `non-jsx` option to allow non-JSX children in one line
[New] `jsx-no-script-url`: add `includeFromSettings` option to support `linkAttributes` setting
[New] `linkAttribute` setting, `jsx-no-target-blank`: support multiple properties
[New] `jsx-boolean-value`: add `assumeUndefinedIsFalse` option
[Tests] `jsx-wrap-multilines`: passing tests
[New] `jsx-filename-extension`: add `ignoreFilesWithoutCode` option to allow empty files
[Refactor] better use of `.reverse`, etc
[New] `jsx-wrap-multilines`: add `never` option to prohibit wrapping parens on multiline JSX
[Dev Deps] update `@babel/core`, `aud`, `eslint-doc-generator`, `eslint-plugin-import`, `npmignore`
[Fix] `no-unknown-property`: use a better regex to avoid a crash
[New] `no-unknown-property`: support `onResize` on audio/video tags
[Docs] `jsx-key`: fix correct example
[New] `prefer-read-only-props`, `prop-types`, component detection: allow components to be async functions
[New] `no-unknown-property`: add `displaystyle` on `<math>`
[Dev Deps] update babel stuff, `eslint-doc-generator`
[New] `no-unknown-property`: add requireDataLowercase option
[Refactor] `jsx-props-no-multi-spaces`: extract type parameters to var
[Refactor] `function-component-definition`: exit early if no type params
[Refactor] `boolean-prop-naming`: invert if statement
[Refactor] `propTypes`: extract type params to var
[Dev Deps] pin `glob`, since v10.3.8+ requires a broken `jackspeak`
[actions] improve actions naming
[Deps] update `array-includes`, `array.prototype.flatmap`, `array.prototype.tosorted`, `es-iterator-helpers`, `object.entries`, `object.fromentries`, `object.hasown`, `object.values`, `resolve`, `string.prototype.matchall`
[Dev Deps] update `@babel/core`, `@babel/eslint-parser`, `@babel/preset-react`, `eslint-doc-generator`, `eslint-plugin-import`, `eslint-remote-tester`
[New] `no-invalid-html-attribute`: add support for `apple-touch-startup-image` `rel` attributes in `link` tags
[actions]: use issue label on smoke tests
[Fix] `jsx-newline`: prevent a crash when `allowMultilines`
[Fix] `jsx-key`: detect conditional returns
[Fix] `jsx-no-leaked-render`: preserve RHS parens for multiline jsx elements while fixing
[Refactor] `sort-prop-types`: hoist some functions to module level
[New] `sort-prop-types`: give errors on TS types
[Deps] update `es-iterator-helpers`
[Dev Deps] update `@babel/core`, `@babel/eslint-parser`, `@babel/plugin-syntax-decorators`, `eslint-plugin-import`
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