This PR is adding linting rules for flagging imports from npm that are not properly specified in the package.json. Either they are missing at all and the node_modules/ entry is there by chance via another dependency, or they are specified in the wrong section, e.g. using a devDependency in app/js/.
Description
For https://github.com/overleaf/issues/issues/3851 Uses https://github.com/overleaf/dev-environment/pull/470
Related Issues / PRs
For https://github.com/overleaf/issues/issues/3851 Uses https://github.com/overleaf/dev-environment/pull/470
Potential Impact
Low.