jsx-eslint/eslint-plugin-react

Rule to forbid using implicit React DOM components?

Open

#1.033 geöffnet am 20. Jan. 2017

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.797 Forks)batch import
help wantednew rule

Repository-Metriken

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

Beschreibung

Is there any rule that forbids the usage of <div> or <p> and allows only to use imported components? Was looking into https://github.com/necolas/react-native-web and having that sort of rule will play very well with that.

Sorry for my vague description, but didn't find anything related to that in the repo.

Contributor Guide