Thomas Skalnik
Thomas Skalnik
...turning off just some of the rules sounds interesting too
are you using windows? if so, this should be fixed with the next release (see #285, comments in #303). about wich import is correct, it seems like you are importing...
I found out that there is an [autodetection](https://github.com/nrwl/nx/blob/de138bb26cb816b86afe6b8f14abb362cec2a20e/packages/schematics/src/tslint/nxEnforceModuleBoundariesRule.ts#L167) for that now. I got it like that: the rule checks lib dependencies, also if a lib is loaded via `loadChildren` into...
...but this is still required at the corresponding `tsconfig.app.json` I suppose (e.g. in `my-app` when using `loadChildren`): ```json "include": [ "**/*.ts" /* add all lazy-loaded libraries here: "../../../libs/my-lib/index.ts" */, "../../../libs/my-lib/index.ts"...
you are sure that you are on `0.9.1`, maybe a lint cache problem in your ide? see [56788ba](https://github.com/nrwl/nx/commit/56788ba3d1a8220455b03f0c766963ae8179ce81) ... or you only upgraded `@nrwl/nx`? the lint rule is part of...
... seems related to #403 and I guess fixed with #404
hi @ph55 In my opinion this is the expected behaviour - the same lib can be included lazy **or** eager (tried to explain that [here](https://github.com/nrwl/nx/issues/343#issuecomment-374760302)), both is possible - but...
I am not sure what you are expecting, my thoughts on that are: the rule does not check if a lazy loaded module is importing a module that was already...
I am happy if I could help. Still figuring out some things myself. I thought about the *old* behavior, that forbid the import of libs when they were marked lazy....
I found [viz.js](https://github.com/mdaines/viz.js/wiki/API) to render a graph nicely, [compodoc](https://github.com/compodoc/compodoc) is using it too, maybe it is useful @electrichead ? including graphs for apps and libs in compodoc would be cool...