You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 git@github.com: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?
The text was updated successfully, but these errors were encountered:
Steps to reproduce
This repo is setup with
pnpm
, which helps putting multiple packages in a single repo. You can install withnpm install -g pnpm
if you don't have it already.Actual results
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 thenode_modules
of parent directories? Or maybe I just messed something up in the setup?The text was updated successfully, but these errors were encountered: