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

Add ESLint rule to require that relative imports use full extensions #279

Merged

Conversation

SergeAstapov
Copy link
Contributor

@SergeAstapov SergeAstapov commented Mar 29, 2024

Closes #220

Even though type-only imports are not supported (see import-js/eslint-plugin-import#2530), this already improves dx.

@SergeAstapov SergeAstapov force-pushed the lint-import-extensions branch 3 times, most recently from 905e48f to 4e73367 Compare March 29, 2024 18:50
@SergeAstapov SergeAstapov force-pushed the lint-import-extensions branch 2 times, most recently from 2bc5010 to bb65200 Compare March 29, 2024 18:57
@SergeAstapov SergeAstapov force-pushed the lint-import-extensions branch from bb65200 to b2dd794 Compare March 29, 2024 18:59
@NullVoxPopuli NullVoxPopuli added the enhancement New feature or request label Mar 29, 2024
@NullVoxPopuli
Copy link
Collaborator

thank you!!!! this is great!

@NullVoxPopuli NullVoxPopuli merged commit 230e0d3 into embroider-build:main Mar 29, 2024
18 checks passed
@SergeAstapov SergeAstapov deleted the lint-import-extensions branch March 29, 2024 19:05
@github-actions github-actions bot mentioned this pull request Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add linter rule to require that relative imports use full extensions
2 participants