You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With npx @eslint/migrate-config .eslintrc.json migrated my config to eslint.config.js for eslint v9 and got:
ESLint: 9.13.0
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /node_modules/eslint-plugin-require-extensions/package.json imported from eslint.config.mjs
at exportsNotFound (node:internal/modules/esm/resolve:296:10)
at packageExportsResolve (node:internal/modules/esm/resolve:586:13)
at packageResolve (node:internal/modules/esm/resolve:823:14)
at moduleResolve (node:internal/modules/esm/resolve:907:18)
at defaultResolve (node:internal/modules/esm/resolve:1037:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:582:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:241:38)
at ModuleJob._link (node:internal/modules/esm/module_job:132:49)
With
npx @eslint/migrate-config .eslintrc.json
migrated my config toeslint.config.js
for eslint v9 and got:For now solved with:
The text was updated successfully, but these errors were encountered: