jsx-eslint/eslint-plugin-react

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

オープン

#66 opened on 2015/04/16

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (2,731 件のフォーク)batch import
acceptedenhancementhelp wantednew rule

Repository metrics

Stars
 (9,293 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

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