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

Add new no-children-prop rule (Fixes #720) #722

Merged
merged 1 commit into from
Sep 16, 2016

Commits on Sep 16, 2016

  1. Add new no-children-prop rule (Fixes jsx-eslint#720)

    Prevents children being passed as props. Children should be actual
    children.
    
    ---
    
    * Add Component to tests for no-children-prop
    * Add note in docs about recommended behavior
    * Change syntax in docs for no-children-prop to jsx
    
    ---
    
    * Clarify that multiple arguments may be passed as children to
    React.createElement
    * Reorganize tests to show JSX with createElement counterpart immediately
    following.
    * Added test cases with a non-children property
    * Added test cases with multiple children
    
    ---
    
    * Add no-children-prop to recommended config
    
    ---
    
    * Remove recommended config for no-children-prop
    benstepp committed Sep 16, 2016
    Configuration menu
    Copy the full SHA
    52e3303 View commit details
    Browse the repository at this point in the history