Is your feature request related to a problem? Please describe.
Found a build bug in theme-language-server-node because it was making a require to theme-check-common without it being directly in its package.json. The code worked because it is a dependency of theme-check-node, but the project reference in tsconfig.json file wasn't there, so webpack builds were using both the dist and src code of theme-check-common because of this little mistake.
Describe the solution you'd like
https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-extraneous-dependencies.md