overleaf / spelling

The backend spellcheck API that performs spell checking for Overleaf
GNU Affero General Public License v3.0
9 stars 17 forks source link

[misc] add linting for missing explicit dependencies and fix any errors #84

Closed das7pad closed 3 years ago

das7pad commented 3 years ago

Description

For https://github.com/overleaf/issues/issues/3851 Uses https://github.com/overleaf/dev-environment/pull/470

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/.

Related Issues / PRs

For https://github.com/overleaf/issues/issues/3851 Uses https://github.com/overleaf/dev-environment/pull/470

Potential Impact

Low.