Skip to content

Add an eslint rule for import file extensions #438

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

Merged
merged 1 commit into from
Sep 19, 2021

Conversation

patrick-tolosa
Copy link
Contributor

Pull request for @cloudinary/url-gen

What does this PR solve?

  • Add an ESLint rule to ensure all import paths within src have a file extension. This is relevant when importing the package in a script tag with type=module, as it ensures all resulting JS files also include the extension.

@patrick-tolosa patrick-tolosa requested review from strausr and a user September 15, 2021 09:33
@patrick-tolosa patrick-tolosa merged commit 8c4400a into master Sep 19, 2021
@patrick-tolosa patrick-tolosa deleted the feature/add-lint-rules-for-import-extensions branch September 19, 2021 08:42
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.

2 participants