jsx-eslint/eslint-plugin-react
在 GitHub 查看assert only one dom element is returned from render() per component
Open
#66 创建于 2015年4月16日
acceptedenhancementhelp wantednew rule
仓库指标
- Star
- (8,630 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
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.