I want an option to annotate only when the argument is uninformative boolean literals like true, false, 0, 1, 2. These cases are where this extension is most needed. Targeting only cases can provide a good balance between "annotate everything and lots of spaces" and "annotate only selected things and takes less spaces."
f(cat, 0); // annotate only `0`
f(cat, true);
f(cat, shouldUpdate); // no need for annotation (in some opinion)
I want an option to annotate only when the argument is uninformative boolean literals like
true
,false
,0
,1
,2
. These cases are where this extension is most needed. Targeting only cases can provide a good balance between "annotate everything and lots of spaces" and "annotate only selected things and takes less spaces."