jsx-eslint/eslint-plugin-react

feature request: Add option to no-multi-comp to only count exported components.

Open

#365 opened on Dec 18, 2015

 (4 comments) (6 reactions) (0 assignees)JavaScript (2,731 forks)batch import
enhancementhelp wantedrule

Repository metrics

Stars
 (9,293 stars)
PR merge metrics
 (PR metrics pending)

Description

I'd like to enforce only one exported component per file, regardless of function vs class.

Contributor guide