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
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ eslint-plugin-react (7.30.1 → 7.31.0) · Repo · Changelog
Release Notes
7.31.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 45 commits:
Update CHANGELOG and bump version
[Fix] `jsx-sort-props`: sorted attributes now respect comments
[Docs] Add config notice to rule docs
[Dev Deps] update `@babel/core`; downgrade `@types/node`
[Docs] Add markdownlint for documentation formatting consistency
[Docs] Fix typos
[Docs] Remove duplicate fixable notice
[Docs] Standardize deprecated rule notice
[Docs] Consistent rule descriptions and doc sections
[Dev Deps] update `eslint-plugin-eslint-plugin` to v5
[Docs] document which rules provide suggestions
[Dev Deps] update `@babel/core`, `@babel/eslint-parser`
[Docs] `jsx-no-target-blank`: Fix link to link-type-noreferrer
[Tests] `function-component-definition`: add passing test cases
[Refactor] `jsx-closing-bracket-location`, `jsx-no-bind`: fix eslint issues
[Fix] `jsx-no-leaked-render`: autofix nested "&&" logical expressions
[Fix] `jsx-no-target-blank`: False negative when rel attribute is assigned using ConditionalExpression
[readme] fix tidelift badge image
[Fix] `display-name`, component detection: fix false positive for HOF returning only nulls and literals
[Fix] `forbid-prop-types`: Ignore objects that are not of type React.PropTypes
[readme] Remove dead david-dm badge
[readme] remove dead codeclimate badge, add actions badge
[New] `forbid-dom-props`: add `disallowedFor` option
[Fix] `display-name`, component detection: fix HOF returning null as Components
[Docs] `jsx-boolean-value`: add jsdoc types for helper functions
[Docs] `jsx-no-useless-fragment`: add more examples of correct code
[Fix] `require-default-props`: avoid a crash when function has no props param
[Tests] `parsers.all`: improve min ecmaVersion logic
[Fix] `display-name`: fix identifying `_` as a capital letter
[Docs] `sort-comp`: add class component examples
[Fix] `jsx-no-literals`: properly handle HTML entities when allowed
[Fix] `display-name`: fix false positive for assignment of function returning null
[Fix] `jsx-key`: avoid a crash on a non-array node.body
[Tests] fix ecmaVersion logic
[Fix] `jsx-key`: avoid a crash from optional chaining from #3320
[Refactor] `boolean-prop-naming`, `jsx-indent`: avoid assigning to arguments
[Fix] `display-name`: Accept forwardRef and Memo nesting in newer React versions
[Tests] `jsx-indent`, `jsx-one-expression-per-line`: add passing test cases
[Fix] `jsx-key`: catch key errors inside conditional statements
[Fix] `jsx-no-literals`: properly error on children with noAttributeStrings: true
[Dev Deps] update `@babel/core`, `@babel/plugin-syntax-decorators`, `@babel/plugin-syntax-do-expressions`, `@babel/plugin-syntax-function-bind`, `@babel/preset-react`, `@types/estree`
[Refactor] `jsx-indent-props`: improved readability of the checkNodesIndent function
[New] `jsx-newline`: add `allowMultiline` option when prevent option is true
[Dev Deps] update `eslint-remote-tester`
[Dev Deps] pin `@technote-space/doctoc` because v2.5 is a breaking change
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