Hi, thank you a lot for this plugin.
I am working on a TypeScript project with React and ESM (I have "type": "module" in package.json).
In my tsconfig.json I have "jsx": "react-jsx",, hence all my *.tsx files get compiled to .js.
Eslint returns this error in the import and goes away if I use the .jsx extension.
This is how my settings section looks like:
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
node: {
extensions: ['.js', '.jsx'],
},
typescript: {
project: 'tsconfig.json',
},
}
What should I change to have tsx files mapped to import ending with .js extension?