jsx-eslint/eslint-plugin-react

Rule to forbid using implicit React DOM components?

Aberta

#1.033 aberto em 20 de jan. de 2017

 (1 comentário) (0 reação) (0 responsável)JavaScript (2.731 forks)batch import
help wantednew rule

Métricas do repositório

Stars
 (9.293 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador