We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm migrating my node ts project to ESM and now I need to change all imports to be explicitly /\.js$/
/\.js$/
Would be nice to have a setting to enforce
The text was updated successfully, but these errors were encountered:
I'm not sure to understand totally, but I think maybe you want an eslint rule to enforce that, and it's not responsibility of this resolver.
Sorry, something went wrong.
Here's what I mean
// not OK import { foo } from './bar' import { bar } from './baz' // OK import { foo } from './bar.js' import { bar } from './baz/index.js'
So this would be responsibility of eslint-plugin-import? Rule import/extensions comes close
import/extensions
Yeah, please raise a new feature request there instead.
No branches or pull requests
I'm migrating my node ts project to ESM and now I need to change all imports to be explicitly
/\.js$/
Would be nice to have a setting to enforce
The text was updated successfully, but these errors were encountered: