ESLint: Failed to load config "@repo/eslint-configuration/.eslintrc.nextjs.cjs" to extend from.
I'm working on a Turborepo with an ESLint package. This error gets raised at
build
and not at dev
. Any help welcome.
apps/next-app-boilerplate/.eslintrc.cjs
"@repo/eslint-configuration": "*"
is added as a devDependency to apps/next-app-boilerplate/package.json
packages/eslint-configuration/.eslint.nextjs.cjs
packages/eslint-configuration/package.json
1 Reply
Solution
Changing
.eslint.nextjs.cjs
-> .eslint.nextjs.js
fixed it for me.