π
Lint rule noUndeclaredDependencies
doesn't check nearest package.json
depedencies with npm workspace
#4992
Labels
S-Needs triage
Status: this issue needs to be triaged
Environment information
Rule name
noUndeclaredDependencies
Playground link
https://codesandbox.io/p/devbox/cwtrg8
Expected result
Currently the lint rule fails
biome.json
file at the workspace root.the
package.json
file inpackages/a
dir.I expect this lint rule to check the npm workspace structure, so that it can detect that the
packages/a/package.json
(@example/a
) file has a defined dependency on the@example/b
package (package/b
) and not complain about it.Code of Conduct
The text was updated successfully, but these errors were encountered: