Skip to content

fix: change default conditions and mainFields #238

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 5 commits into from
Mar 14, 2025
Merged

Conversation

JounQin
Copy link
Member

@JounQin JounQin commented Mar 12, 2025

default should be last matched, module should be in mainFields.

Reference https://github.com/isaacs/resolve-import/blob/main/src/resolve-conditional-value.ts

Copy link

changeset-bot bot commented Mar 12, 2025

🦋 Changeset detected

Latest commit: 00b5891

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-import-x Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codesandbox-ci bot commented Mar 12, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@JounQin JounQin requested a review from SukkaW March 12, 2025 19:40
@JounQin
Copy link
Member Author

JounQin commented Mar 13, 2025

@SukkaW Any time to review?

@JounQin JounQin changed the title fix: change default conditions fix: change default conditions and mainFields Mar 14, 2025
@JounQin JounQin enabled auto-merge (squash) March 14, 2025 09:02
@JounQin JounQin merged commit c8a388d into master Mar 14, 2025
60 checks passed
@JounQin JounQin deleted the JounQin-patch-1 branch March 14, 2025 09:07
Copy link

pkg-pr-new bot commented Apr 12, 2025

Open in StackBlitz

npm i https://pkg.pr.new/eslint-plugin-import-x@238

commit: 37047ca

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