diff --git a/lib/rules/time-min-milliseconds/index.js b/lib/rules/time-min-milliseconds/index.js index 3c369ffde5..1e2c352772 100644 --- a/lib/rules/time-min-milliseconds/index.js +++ b/lib/rules/time-min-milliseconds/index.js @@ -54,7 +54,7 @@ const rule = (primary, secondaryOptions) => { const propertyName = vendor.unprefixed(decl.prop.toLowerCase()); const propertyValue = decl.value; const parsedValue = valueParser(getDeclarationValue(decl)); - let isValueTimeCount = 0; + let timeValueCount = 0; parsedValue.walk((node) => { const { value, sourceIndex } = node; @@ -70,9 +70,9 @@ const rule = (primary, secondaryOptions) => { if (!shorthandTimeProperties.has(propertyName)) return; - isValueTimeCount = valueTimeCheck(dimension, value, isValueTimeCount); + timeValueCount = valueTimeCheck(dimension, value, timeValueCount); - if (isAcceptableTime(dimension) || (ignoreDelay && isValueTimeCount !== 1)) return; + if (isAcceptableTime(dimension) || (ignoreDelay && timeValueCount !== 1)) return; complain(decl, sourceIndex, value.length); });