Skip to content

gypfileValidity

Enforces that the gypfile property is valid.

✅ This rule is included in the package-json logical presets.

This rule checks that the gypfile property is a boolean.

{
"gypfile": "true"
}
{
"gypfile": {}
}

If you don’t need compliance with npm’s gypfile field specification, you can disable this rule. For example, if your package metadata is consumed by tooling that accepts non-boolean gypfile values, this rule may not be correct for you.

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