Skip to content

Require return value in render function. Tests and rule.#502

Merged
yannickcr merged 3 commits intojsx-eslint:masterfrom
shmuga:require-render-return
Mar 28, 2016
Merged

Require return value in render function. Tests and rule.#502
yannickcr merged 3 commits intojsx-eslint:masterfrom
shmuga:require-render-return

Conversation

@shmuga
Copy link
Contributor

@shmuga shmuga commented Mar 15, 2016

Hello react rules writers!
I have tried to make this feature #482. Hope this rule will be suitable for your repository.
The code is linted and tested.
Waiting for your response.

@yannickcr yannickcr merged commit bf60aef into jsx-eslint:master Mar 28, 2016
@yannickcr
Copy link
Member

Merged. Thanks!

yannickcr added a commit that referenced this pull request Mar 28, 2016
Add require-render-return rule (fixes #482)
@ljharb
Copy link
Member

ljharb commented Apr 7, 2016

Looks like this feature still needs docs?

@yannickcr
Copy link
Member

Yep. I totally forgot the docs on this one :(

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.

3 participants