-
make sure you have pnpm >6.32 (tested with
6.32.21
) -
pnpm install
-
cd services/example pnpm run lint
-
should output
> example@1.0.0 lint eslint-pnpm-workspace-reproduction/services/example > eslint src eslint-pnpm-workspace-reproduction/services/example/src/index.ts 2:19 error 'unused' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars ✖ 1 problem (1 error, 0 warnings) ELIFECYCLE Command failed with exit code 1.
-
go over to index.ts file -> no errors from eslint extension, extension output contains following logs:
Uncaught exception received. Error: Failed to load plugin '@typescript-eslint' declared in 'services/example/.eslintrc » eslint-config-shared': Cannot find module '@typescript-eslint/eslint-plugin' Require stack: - /eslint-pnpm-workspace-reproduction/services/example/__placeholder__.js Referenced from: /eslint-pnpm-workspace-reproduction/dev-tools/shared-lint/index.js
-
Notifications
You must be signed in to change notification settings - Fork 0
vim-daniel/eslint-pnpm-workspace-reproduction
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published