optional-dependencies
Category: restriction. Default: off. Fixable: no. Since: 0.1.0.
What it does
Reports use of optional dependencies. An install can skip an optional dependency, so the package may not exist at runtime.
Configure the rule
{
"rules": {
"optional-dependencies": "error"
}
}
