jsx-eslint/eslint-plugin-react

assert only one dom element is returned from render() per component

Open

#66 建立於 2015年4月16日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (2,797 fork)batch import
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.

貢獻者指南