jsx-eslint/eslint-plugin-react

Rule to forbid using implicit React DOM components?

オープン

#1,033 opened on 2017/01/20

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (2,731 件のフォーク)batch import
help wantednew rule

Repository metrics

Stars
 (9,293 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド