Add ignoreFunctions: [] to length-zero-no-unit #4945
Labels
good first issue
is good for newcomers
status: ready to implement
is ready to be worked on by someone
type: new option
a new option for an existing rule
The
length-zero-no-unit
ruleignore: ["custom-properties"]
option will only run on custom property declarations like:It doesn't handle var functions like:
I see it being discussed here: #4860 (comment) but don't see a corresponding new issue so I created one. Maybe this would be considered a new feature? 🤔
length-zero-no-unit
e.g.
13.6.1
VScode plugin with
settings.json
No.
I expect the unit on
0px
withinvar(--y, 0px);
to be ignored."The following warnings were flagged:"
The text was updated successfully, but these errors were encountered: