I was creating all the linter rules, when the leading-zero was giving me a few warnings, after a few moments I could conclude that was only happening when I had a decimal value inside a @include some-mixin(), when rule include is set tofalse.
example:
@include size(.1rem)
// expected output :
nothing
// real output :
warning Don't include leading zeros on numbers leading-zero
example:
@include size(0.1rem)
// expected output :
warning Don't include leading zeros on numbers leading-zero
// real output :
warning Don't include leading zeros on numbers leading-zero
I was creating all the linter rules, when the leading-zero was giving me a few warnings, after a few moments I could conclude that was only happening when I had a decimal value inside a
@include some-mixin()
, when ruleinclude
is set tofalse
.example:
@include size(.1rem)
// expected output :
nothing
// real output :
example:
@include size(0.1rem)
// expected output :
// real output :