Skip to content
New issue

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

Removed The Need For .js Extension For Imports #641

Closed
wants to merge 1 commit into from

Conversation

TheDokT0r
Copy link

Not a big change, but I've made it so there wouldn't be a need to add the ".js" extension to the end of each file import. To implement this change I've added minor changes to the tsconfig file, and added a few more eslint rules.

@sholladay
Copy link
Collaborator

sholladay commented Sep 29, 2024

I don't have strong feelings on this, but personally I'd rather have the file extensions. It makes the code more portable.

@sindresorhus
Copy link
Owner

This is an invalid change. Even if it were valid, I prefer being explicit and have the extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants