Open
Description
eslint-import-resolver-alias works fine with eslint-plugin-import 2.18.2
, after update to the latest 2.20.1
, all of the aliases won't find anymore.
The eslintrc is - https://github.com/Tencent/Hippy/blob/master/.eslintrc.js#L82
Hippy on chore/update-dependencies [$!] via ⬢ v12.16.1 took 2s
➜ npm ls eslint-plugin-import eslint-import-resolver-alias
hippy@ /Users/xqkuang/Projects/github/Hippy
├── eslint-import-resolver-alias@1.1.2
└── eslint-plugin-import@2.20.1
Hippy on chore/update-dependencies [$!] via ⬢ v12.16.1 took 2s
➜ npm run lint
> hippy@ lint /Users/xqkuang/Projects/github/Hippy
> eslint "packages/**/*.@(js|ts|tsx)" "examples/hippy-react-demo/**/*.@(js|jsx)"
/Users/xqkuang/Projects/github/Hippy/packages/hippy-vue/src/elements/index.js
1:1 error 'shared' should be listed in the project's dependencies. Run 'npm i -S shared' to add it import/no-extraneous-dependencies
/Users/xqkuang/Projects/github/Hippy/packages/hippy-vue/src/renderer/native/event/emitter.js
5:1 error 'shared' should be listed in the project's dependencies. Run 'npm i -S shared' to add it import/no-extraneous-dependencies
/Users/xqkuang/Projects/github/Hippy/packages/hippy-vue/src/runtime/index.js
5:1 error 'core' should be listed in the project's dependencies. Run 'npm i -S core' to add it import/no-extraneous-dependencies
6:1 error 'core' should be listed in the project's dependencies. Run 'npm i -S core' to add it import/no-extraneous-dependencies
7:1 error 'shared' should be listed in the project's dependencies. Run 'npm i -S shared' to add it import/no-extraneous-dependencies
8:1 error 'core' should be listed in the project's dependencies. Run 'npm i -S core' to add it import/no-extraneous-dependencies
9:1 error 'web' should be listed in the project's dependencies. Run 'npm i -S web' to add it import/no-extraneous-dependencies
10:1 error 'core' should be listed in the project's dependencies. Run 'npm i -S core' to add it import/no-extraneous-dependencies
16:1 error 'shared' should be listed in the project's dependencies. Run 'npm i -S shared' to add it import/no-extraneous-dependencies
....
Metadata
Metadata
Assignees
Labels
No labels