Skip to content

privatePresence

Enforces that the private property is present.

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

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

53<{}d ivclassNa="meco"><{}d>5<3{d ivclassNa="meec-li">nt< sp ansty="le--0:#7FDBCA;--1:#096E">72"nam53<: sp ansty="le--0:#D9F5DD;--1:#1111">1<1"sp ansty="le--0:#C789D6;--1:#7C56">86my-reposito1<1"d ivclassNa="meec-li">5<3}d ivclassNa="meco"><}d>
3F<53{ }divclass="Name"><}di vdivclass="Nameexpressive-">3de6E72"n3F<53: spans="tyle--0:#D9F5DD;--1:#11">1<111" spans="tyle--0:#C789D6;--1:#7C">5686my-reposi1<111 "divclass="Nameec-">3

This rule is not configurable.

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