Skip to content

emptySequenceEntries

Reports empty sequence entries.

✅ This rule is included in the yaml logical presets.

Empty entries in YAML sequences can lead to unexpected null values in the parsed data. If an empty entry is intentional, use explicit null to clarify intent.

53<- sp ansty="le--0:#ECC48D;--1:#3B61">B0o5<3-d ivclassNa="meec-li">53<- sp ansty="le--0:#ECC48D;--1:#3B61">B0thr11ite5<3:d ivclassNa="meec-li">53< sp ansty="le--0:#D6DEEB;--1:#403F">53<- sp ansty="le--0:#ECC48D;--1:#3B61">B0fir53< sp ansty="le--0:#D6DEEB;--1:#403F">5<3-d ivclassNa="meec-li">53< sp ansty="le--0:#D6DEEB;--1:#403F">53<- sp ansty="le--0:#ECC48D;--1:#3B61">B0thi
3F<53- spans="tyle--0:#ECC48D;--1:#3B">61B<0on edivclass="Nameec-">3F<53- spans="tyle--0:#ECC48D;--1:#3B">61B<0tw odivclass="Nameec-">3F<53- spans="tyle--0:#ECC48D;--1:#3B">61B0t3F<53- spans="tyle--0:#ECC48D;--1:#3B">61B<0on edivclass="Nameec-">3F<53- spans="tyle--0:#FF6A83;--1:#A2">48483F<53- spans="tyle--0:#ECC48D;--1:#3B">61B0t1111i33F<53 spans="tyle--0:#D6DEEB;--1:#40">3F<53- spans="tyle--0:#ECC48D;--1:#3B">61B0f3F<53 spans="tyle--0:#D6DEEB;--1:#40">3F<53- spans="tyle--0:#ECC48D;--1:#3B">61B0se3F<53 spans="tyle--0:#D6DEEB;--1:#40">3F<53- spans="tyle--0:#ECC48D;--1:#3B">61B0t

This rule is not configurable.

If your project intentionally uses empty sequence entries to represent null values and you have consistent parser behavior, you may not need this rule. Projects with established conventions around implicit null values in YAML sequences may also choose to disable this rule.