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
Oops! Something went wrong! :(
ESLint: 8.43.0
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array
Occurred while linting /repo/nuxt.config.ts:2
Rule: "import/default"
at new NodeError (node:internal/errors:399:5)
at validateString (node:internal/validators:163:11)
at Object.join (node:path:1172:7)
at loadTsconfig (/repo/node_modules/tsconfig-paths/lib/tsconfig-loader.js:93:39)
at loadSyncDefault (/repo/node_modules/tsconfig-paths/lib/tsconfig-loader.js:40:18)
at tsConfigLoader (/repo/node_modules/tsconfig-paths/lib/tsconfig-loader.js:26:22)
at readTsConfig (/repo/node_modules/eslint-plugin-import/lib/ExportMap.js:818:528)
at isEsModuleInterop (/repo/node_modules/eslint-plugin-import/lib/ExportMap.js:821:277)
at ExportMap.parse (/repo/node_modules/eslint-plugin-import/lib/ExportMap.js:808:317)
at ExportMap.for (/repo/node_modules/eslint-plugin-import/lib/ExportMap.js:807:201)
Just a reminder for users who want to switch to multiple values for extends. Although the related pull request has resolved this issue, you may still encounter the "TypeError: value.replace is not a function" error when using @commitlint. Please refer to: TypeStrong/ts-node#2000 for more information.
Clear and concise description of the problem
Hi,
I am running into an issue with TS5.0 extends.
My tsconfig.json
will cause an error:
related issues/prs:
in short: Maintainers of
eslint-plugin-import
decided to prioritize support node 4 over Typescript 5Suggested solution
switch to
eslint-plugin-i
Alternative
here are some hacks mentioned in the related issues:
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: