-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eslint 配置在 lerna 生成的 monorepo 仓库下失效 #108
Comments
其实没看懂你问题,配图说明你 eslint 能运行啊。 拉了仓库,直接 今天弄 monorepo 也是发现这个问题,就来 issues 看看。 Line 29 in d499e53
Line 19 in d499e53
因为 有点不合理 🤔 让我解决的话, @chenshuai2144 希望解惑 |
monorepo 应该所有的包共用一个 lint吧,所以我只找了根目录下面的 |
不同的packages去扩展一个公共的规则,这样好些?比如packages里有各自不同的全局变量 |
下面的 typings.d.ts 是 umi 默认生成的, eslint 报错
master-micro 这个项目如果单独提取出来,配置是没有问题的,但如果放在 monorepo 仓库下面,配置就失效了
https://github.com/GreatAuk/-umijs-fabric-bug 这个是复现仓库
The text was updated successfully, but these errors were encountered: