jsx-eslint/eslint-plugin-react

Rule to forbid using implicit React DOM components?

開放

#1,033 建立於 2017年1月20日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (2,733 個分叉)batch import
help wantednew rule

倉庫指標

星標
 (9,293 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南