fabric icon indicating copy to clipboard operation
fabric copied to clipboard

提示需要安装eslint-plugin-react

Open z-juln opened this issue 2 years ago • 1 comments

使用yarn安装,在项目里安装eslint后,执行eslint,提示ESLint couldn't find the plugin "eslint-plugin-react".

此时node_modules内结构为:

/node_modules
    @umijs/fabric
        node_modules
            eslint-plugin-react

但如果项目里不安装eslint,直接npx eslint执行的话,是不会有任何问题的,这是为什么呢

z-juln avatar Jun 12 '22 05:06 z-juln

这个问题貌似没有任何进展,我也遇到了,听了你的建议我 remove 了项目 eslint 依赖就解决了。。。

Wxh16144 avatar Jan 12 '23 13:01 Wxh16144