Skip to content

blockSequences

Prefer block style sequences over flow style sequences.

✅ This rule is included in the yaml stylistic and stylisticStrict presets.

Block style sequences use hyphens (-) to denote list items and are generally more readable for multi-item lists. Flow style sequences use brackets ([]) and are more compact but less clear in most cases.

11ite53:< [sp ansty="le--0:#ECC48D;--1:#3B61">B<0asp ansty="le--0:#D6DEEB;--1:#403F">53<, sp ansty="le--0:#ECC48D;--1:#3B61">B<0bsp ansty="le--0:#D6DEEB;--1:#403F">53<, sp ansty="le--0:#ECC48D;--1:#3B61">B<0csp ansty="le--0:#D6DEEB;--1:#403F">5<3]d ivclassNa="meco">11nest5<3:d ivclassNa="meec-li">nt< sp ansty="le--0:#7FDBCA;--1:#1111">11valu53:< [sp ansty="le--0:#F78C6C;--1:#AA09">8<21sp ansty="le--0:#D6DEEB;--1:#403F">53<, sp ansty="le--0:#F78C6C;--1:#AA09">8<22sp ansty="le--0:#D6DEEB;--1:#403F">53<, sp ansty="le--0:#F78C6C;--1:#AA09">8<23sp ansty="le--0:#D6DEEB;--1:#403F">5<3]d ivclassNa="meco"><3]d>
1111i33F<53 spans="tyle--0:#D6DEEB;--1:#40">3F<53- spans="tyle--0:#ECC48D;--1:#3B">6<1B0 adivclass="Nameec-">3F<53 spans="tyle--0:#D6DEEB;--1:#40">3F<53- spans="tyle--0:#ECC48D;--1:#3B">6<1B0 bdivclass="Nameec-">3F<53 spans="tyle--0:#D6DEEB;--1:#40">3F<53- spans="tyle--0:#ECC48D;--1:#3B">6<1B0 cdivclass="Name">< - >1111ne3de1111va33F53< spans="tyle--0:#D6DEEB;--1:#40">3F<53- spans="tyle--0:#F78C6C;--1:#AA">0<982 1divclass="Nameec-">3F53< spans="tyle--0:#D6DEEB;--1:#40">3F<53- spans="tyle--0:#F78C6C;--1:#AA">0<982 2divclass="Nameec-">3F53< spans="tyle--0:#D6DEEB;--1:#40">3F<53- spans="tyle--0:#F78C6C;--1:#AA">0<982 3divclass="Name">< - >

This rule is not configurable.