Document react/require-render-return as a fully fledged rule

Now that the pull request has been merged, we can reference the actual rule.
This commit is contained in:
Jordan Eldredge
2016-09-02 22:08:25 -07:00
parent 25123199dc
commit 7d46d3c59f

View File

@@ -472,7 +472,7 @@
}
```
- Be sure to return a value in your `render` methods. eslint: [`require-render-return`](https://github.com/yannickcr/eslint-plugin-react/pull/502)
- Be sure to return a value in your `render` methods. eslint: [`react/require-render-return`](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/require-render-return.md)
```jsx
// bad