Skip to main content

require-bundledDependencies

Enabling this rule will result in an error being generated if bundledDependencies is missing from the package.json file.

Example .npmpackagejsonlintrc configuration

{
"rules": {
"require-bundledDependencies": "error"
}
}

Rule Details

Incorrect example(s)

{

}

Correct example(s)

{
"bundledDependencies": {
"grunt-npm-package-json-lint": "^3.0.0"
}
}

History

  • Introduced in version 1.0.0