prefer-no-dependencies
Enabling this rule will result in an error being generated if dependencies
is present.
Example .npmpackagejsonlintrc configuration
{
"rules": {
"prefer-no-dependencies": "error"
}
}
Rule Details
Incorrect example(s)
{
"dependencies": {
"npm-package-json-lint-config-default": "^0.3.0"
}
}
Correct example(s)
{
}
History
- Introduced in version 4.1.0