jsx-eslint/eslint-plugin-react
Vedi su GitHubassert only one dom element is returned from render() per component
Open
#66 aperta il 16 apr 2015
acceptedenhancementhelp wantednew rule
Metriche repository
- Star
- (8630 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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.