Skip to content

fix(linter): allow for wildcards paths in enforce-module-boundaries rule#34066

Merged
jaysoo merged 2 commits intonrwl:masterfrom
JesseZomer:fix/eslint-plugin-module-boundaries-wildcard-imports
Feb 26, 2026
Merged

fix(linter): allow for wildcards paths in enforce-module-boundaries rule#34066
jaysoo merged 2 commits intonrwl:masterfrom
JesseZomer:fix/eslint-plugin-module-boundaries-wildcard-imports

Conversation

@JesseZomer
Copy link
Copy Markdown
Contributor

closed #32190

Current Behavior

eslint crashes when tsconfig.base.json path includes a * and you have an import going to that project

Expected Behavior

The plugin shouldn't crash and it should auto fix to a working import

Related Issue(s)

#32190

Fixes #32190

@JesseZomer JesseZomer requested a review from a team as a code owner January 9, 2026 15:08
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 9, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 9e8cb58
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69a0a57af4584c0008f605fa
😎 Deploy Preview https://deploy-preview-34066--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nx-dev Ready Ready Preview Jan 20, 2026 4:05pm

Request Review

jaysoo

This comment was marked as outdated.

The startsWith(basePath) check failed on Windows, because the path wasn't normalized

closed 32190
@jaysoo jaysoo force-pushed the fix/eslint-plugin-module-boundaries-wildcard-imports branch from d402fbf to 9e8cb58 Compare February 26, 2026 19:56
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 26, 2026

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 9e8cb58
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69a0a57a30826d0008394dc5
😎 Deploy Preview https://deploy-preview-34066--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud bot commented Feb 26, 2026

View your CI Pipeline Execution ↗ for commit 9e8cb58

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 57m 48s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 3m 23s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 8s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-02-26 21:05:48 UTC

@jaysoo jaysoo merged commit ac2ef1a into nrwl:master Feb 26, 2026
24 checks passed
FrozenPandaz pushed a commit that referenced this pull request Feb 26, 2026
…ule (#34066)

closed #32190

## Current Behavior

eslint crashes when tsconfig.base.json path includes a * and you have an
import going to that project
## Expected Behavior
The plugin shouldn't crash and it should auto fix to a working import

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
#32190

Fixes #32190

(cherry picked from commit ac2ef1a)
FrozenPandaz pushed a commit that referenced this pull request Feb 26, 2026
…ule (#34066)

closed #32190

## Current Behavior

eslint crashes when tsconfig.base.json path includes a * and you have an
import going to that project
## Expected Behavior
The plugin shouldn't crash and it should auto fix to a working import

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
#32190

Fixes #32190

(cherry picked from commit ac2ef1a)
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 4, 2026

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@nx/enforce-module-boundaries crashes while resolving relative imports with wildcards

2 participants