ESLint: Parse errors in imported module 'foo': parserPath or languageOptions.parser is required! (undefined:undefined)(import/namespace) #3005
Closed as not planned
Description
I am using flat config with the following:
import jslint from "@eslint/js"
import pluginImport from "eslint-plugin-import"
import globals from "globals"
import tslint from "typescript-eslint"
export default [
{
languageOptions: {
globals: globals.node,
ecmaVersion: "latest",
sourceType: "module"
}
},
jslint.configs.recommended,
...tslint.configs.recommended,
{
files: ["**/*.@(js|ts|tsx)"],
plugins: {
"import": pluginImport,
},
rules: {
...pluginImport.configs.recommended.rules,
...pluginImport.configs.typescript.rules,
}
},
recommendedPrettier
]
This produces the following error:
ESLint: Parse errors in imported module 'typescript-eslint': parserPath or languageOptions.parser is required! (undefined:undefined)(import/namespace)
Metadata
Assignees
Labels
No labels