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

Bug fix for false positives with no-multi-comp #1089

Merged
merged 1 commit into from Feb 24, 2017

Commits on Feb 23, 2017

  1. Bug fix for false positives with no-multi-comp

    Previously, when createElement was destructured from React, it would
    cause any function defined in the file to be flagged as a React
    Component. This change makes it such that the function must call
    createElement to be considered a component.
    
    Fixes jsx-eslint#1088
    
    ---
    
    Review: Use object.assign with sourceType: module in the added test over
    babel-eslint.
    benstepp committed Feb 23, 2017
    Copy the full SHA
    c038899 View commit details
    Browse the repository at this point in the history