Skip to content

bundleDependenciesPresence

Enforces that the bundleDependencies property is present.

✅ This rule is included in the package-json preset.

npm requires that the bundleDependencies field in package.json is present.

{}
{
"name": "my-repository"
}

Whether the property should still be required when the package’s private property is true. Defaults to false.

This option can be useful if the rule is enabled on many package.json files and some files differ in privacy.

If your package doesn’t need to specify bundleDependencies, you can disable this rule.

Made with ❤️‍🔥 around the world by the Flint team and contributors.