jsx-eslint/eslint-plugin-react

Rule to forbid using implicit React DOM components?

Open

#1,033 创建于 2017年1月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (8,630 star) (2,797 fork)batch import
help wantednew rule

描述

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.

贡献者指南