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.

5<3{d ivclassNa="meec-li">nt< sp ansty="le--0:#7FDBCA;--1:#096E">72"gypfil53<: sp ansty="le--0:#D9F5DD;--1:#1111">1<1"sp ansty="le--0:#C789D6;--1:#7C56">86tr1<1"d ivclassNa="meec-li">5<3}d ivclassNa="meco"><}d>5<3{d ivclassNa="meec-li">nt< sp ansty="le--0:#7FDBCA;--1:#096E">72"gypfil53: <{}d ivclassNa="meec-li">5<3}d ivclassNa="meco"><}d>
3de6E72"gypf3F<53: spans="tyle--0:#FF6A83;--1:#A2">48483<}di vdivclass="Nameexpressive-">3de6E72"gypf3F<53: spans="tyle--0:#FF6A83;--1:#A2">4848f3

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.