Weird problems when adding the @nx/enforce-module-boundaries rules #30174
Unanswered
eyalellenbogen
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a repo with NX19+Angular18+ESlint9. I started separating it to libraries and I would like to activate the module boundary lint rules. I added the lint rule to the eslint base config (as shown in the docs). But just adding it (with a * allow-all), all the libraries fail linting pointing to non-existing circular dependencies. In VSCode it shows me different errors... Like the following one:

Something is obviously wrong with the configuration of this whole thing. I have tried to isolate by starting a fresh project with the same version of everything. Everything is identical, as far as I can see, and the test project is working fine while mine is broken.
Any ideas?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions