jsx-eslint/eslint-plugin-react

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

Open

#66 geöffnet am 16. Apr. 2015

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.797 Forks)batch import
acceptedenhancementhelp wantednew rule

Repository-Metriken

Stars
 (8.630 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide