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 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 works but npx create-next-app@latest --use-pnpmpnpm 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.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?