Closed
Description
Steps to reproduce
This repo is setup with pnpm
, which helps putting multiple packages in a single repo. You can install with npm install -g pnpm
if you don't have it already.
git clone [email protected]:benmccann/plugins.git
cd plugins
git checkout pluginutils-eslint
pnpm install
cd packages/pluginutils
pnpm lint
Actual results
packages/pluginutils/src/extractAssignedNames.ts
7:8 error Unable to resolve path to module 'estree' import/no-unresolved
Expected results
I'd expect this to pass linting since the root directory contains an node_modules/@types/estree/index.d.ts
file with the types.
Maybe it doesn't work when there's only types and not the actual .js
code? Or maybe it doesn't know how to look in the node_modules
of parent directories? Or maybe I just messed something up in the setup?