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

View on GitHub
 (4 comments) (6 reactions) (0 assignees)JavaScript (2,797 forks)batch import
enhancementhelp wantedrule

Repository metrics

Stars
 (8,630 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide