Closed flaviostutz closed 1 year ago
When using the following dir structure, root path is wrongly identified as a module (because it contains package.json
/package.json /module1 /package.json /module2 /package.json
Root shouldn't be identified as a module, only the leaves
Monolint should ignore any modules that have other modules identified inside them, making all parent path markers to be ignored and only leaf dirs to be considered modules.
Run this in any npm workspaces enabled repo
Current Behavior
When using the following dir structure, root path is wrongly identified as a module (because it contains package.json
Expected Behavior
Root shouldn't be identified as a module, only the leaves
Possible Solution
Monolint should ignore any modules that have other modules identified inside them, making all parent path markers to be ignored and only leaf dirs to be considered modules.
Steps to Reproduce (for bugs)
Run this in any npm workspaces enabled repo