Cannot extend shared config in monorepo setup #10540
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
question
This issue asks a question about ESLint
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using? -
Please show your full configuration:
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
Reproduction https://github.com/sqal/eslint-extends-bug-reproduction
Steps to reproduce:
npm run bootstrap
packages/app
and runnpm run lint
What did you expect to happen?
I expect eslint to find my config correctly
What actually happened? Please include the actual, raw output from ESLint.
In the error logs we see that the error originates at
ModuleResolver.resolve (C:\dev\eslint-extends-bug\node_modules\eslint\lib\util\module-resolver.js:74:19)
. I added console log after line#62 and these are the paths that eslint tries to search through:so looks like we're missing here path to
node_modules
relative toprocess.cwd()
.The text was updated successfully, but these errors were encountered: