Laz

Results 2 comments of Laz

其实没看懂你问题,配图说明你 eslint 能运行啊。 拉了仓库,直接 `yarn` ,eslint 配置是失效的。 今天弄 monorepo 也是发现这个问题,就来 issues 看看。 --- https://github.com/umijs/fabric/blob/d499e53786f34851dad6a686dbc1e7ce5fccdc1a/src/eslint.ts#L29 https://github.com/umijs/fabric/blob/d499e53786f34851dad6a686dbc1e7ce5fccdc1a/src/eslint.ts#L19 因为 `eslint` 配置对于项目是否是 `TypeScript` 项目的判定,是看 `fabric` 这个包当前 `Node.js` 进程执行时的工作目录下是否有 `tsconfig.json`。monorepo 项目下它是直接去寻找根目录的 `tsconfig.json` ,并且指定 `eslint` 的解析设置来源于根目录的...

> I fixed this by clearing my VS Code caches, and then restarting I did this, but nothing changed, the warn is still there.