Skip to content
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

[Fix] display-name: fix false positive for HOF returning only nulls #3291

Merged
merged 1 commit into from
May 20, 2022

Conversation

golopot
Copy link
Contributor

@golopot golopot commented May 20, 2022

Fixes #3289.

Stop considering const any = () => (props) => null as a component.

@codecov
Copy link

codecov bot commented May 20, 2022

Codecov Report

Merging #3291 (fc9664f) into master (91d3757) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3291   +/-   ##
=======================================
  Coverage   97.68%   97.68%           
=======================================
  Files         123      123           
  Lines        8734     8737    +3     
  Branches     3163     3166    +3     
=======================================
+ Hits         8532     8535    +3     
  Misses        202      202           
Impacted Files Coverage Δ
lib/util/Components.js 98.91% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 91d3757...fc9664f. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

False positive for react/display-name
2 participants