jsx-eslint/eslint-plugin-react

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

Open

#66 opened on 2015年4月16日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (2,797 forks)batch import
acceptedenhancementhelp wantednew rule

Repository metrics

Stars
 (8,630 stars)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド