NextJS with ESLint and pnpm - breaks ESLint configuration?
Does anyone use NextJS with ESLint AND pnpm here? I am trying to get this working, but it seems like the configuration I get from the
E.g. creating a next app like this:
but
My version of pnpm is >10 (10.18.0). When googling I found a lot of mentions of something related to "hoisting" (public-hoist-pattern[]=eslint) but none of those solutions I found worked for me.
I thought it might be worth to ask here since this should be a pretty common configuration.
create-next-app CLI out of the box doesn't work.E.g. creating a next app like this:
npx create-next-app@latest → Running npm run lint works, also VSCode integration worksbut
npx create-next-app@latest --use-pnpm → pnpm lint doesn't work, VSCode integration doesn't work.My version of pnpm is >10 (10.18.0). When googling I found a lot of mentions of something related to "hoisting" (public-hoist-pattern[]=eslint) but none of those solutions I found worked for me.
I thought it might be worth to ask here since this should be a pretty common configuration.