jsx-eslint/eslint-plugin-react
View on GitHubassert only one dom element is returned from render() per component
Open
#66 opened on Apr 16, 2015
acceptedenhancementhelp wantednew rule
Repository metrics
- Stars
- (8,630 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
when starting with React, i got hit with the issue where i would return multiple elements per component. would be nice if this error shows up at the lint stage as well.
not totally necessary since react would error anyways.