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

Ignore the extensions .ts and .tsx when importing them #39

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

xli12
Copy link
Contributor

@xli12 xli12 commented Jun 12, 2020

When bumping eslint-plugin-import from 2.18.2 to a higher version, it complains about imported modules not having extensions. You may see the failed pipeline runs from Account, Marketplace and Contributor Portal.

The issue has been reported in eslint-plugin-import. The solution is provided based on this comment.

Tested with Account. It works as expected.

Note: We've planned further improvements for merging the rules in different libraries (CS-964). Let's do that step-by-step and make this change first. The merging can be the next step.

@xli12 xli12 requested a review from a team June 12, 2020 13:16
@xli12 xli12 merged commit 7636ada into master Jun 12, 2020
@xli12 xli12 deleted the chore/eslint-plugin-import-extension-issue branch June 12, 2020 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants