undeclared-packages
Category: correctness. Default: error. Fixable: no. Since: 0.1.0.
What it does
Reports imports of installed npm packages that no package.json section declares.
Why is this bad?
The import works only because of hoisting or a transitive install. It breaks when the dependency tree changes.
Configure the rule
{
"rules": {
"undeclared-packages": "warn"
}
}
