Error with Eslint 9
Unanswered
Willow Ptarmigan posted this in #help-forum
Willow PtarmiganOP
I am using pnpm and tried to upgrade to Eslint 9 (with flat config). When I run
Can someone please tell if Eslint 9 and pnpm are supported. If so, should I report this bug to rushstack (I do not really know what rushstack is and how nestjs is using it). Thanks!
----
For reference this is my current Eslint config:
pnpm run lint
, I get this error:Failed to patch ESLint because the calling module was not recognized.
If you are using a newer ESLint version that may be unsupported, please create a GitHub issue:
https://github.com/microsoft/rushstack/issues
ELIFECYCLE Command failed with exit code 1.
Can someone please tell if Eslint 9 and pnpm are supported. If so, should I report this bug to rushstack (I do not really know what rushstack is and how nestjs is using it). Thanks!
----
For reference this is my current Eslint config:
import { defineConfig } from "eslint/config";
import "eslint-config-next";
export default defineConfig([
{
extends: ["next/core-web-vitals"],
},
]);
4 Replies
do you have the .npmrc file with
?
auto-install-peers=true
node-linker=hoisted
?
Willow PtarmiganOP
no, did not have this file
do I need
node-linker=hoisted
?Willow PtarmiganOP
so i created this file with the content you posted, but I still get the same error