@plumeria/eslint-plugin 18.2.30 → 18.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1532,11 +1532,11 @@ function getValidator(key) {
|
|
|
1532
1532
|
'step-start',
|
|
1533
1533
|
'step-end',
|
|
1534
1534
|
].join('|');
|
|
1535
|
-
const zeroToOne = '(0(\\.\\d+)?|1(\\.0+)
|
|
1536
|
-
const
|
|
1537
|
-
const
|
|
1538
|
-
const
|
|
1539
|
-
const linearStopPattern = `${
|
|
1535
|
+
const zeroToOne = '(0(\\.\\d+)?|1(\\.0+)?)';
|
|
1536
|
+
const bezierProgressPattern = `(?:${zeroToOne}|${varString})`;
|
|
1537
|
+
const cubicBezierPattern = `cubic-bezier\\(\\s*(?:${varString}|${bezierProgressPattern}\\s*,\\s*${numberPattern}\\s*,\\s*${bezierProgressPattern}\\s*,\\s*${numberPattern})\\s*\\)`;
|
|
1538
|
+
const stopLengthPattern = `(?:-?\\d+(\\.\\d+)?%|${varString})`;
|
|
1539
|
+
const linearStopPattern = `${numberPattern}(?:\\s+${stopLengthPattern}){0,2}`;
|
|
1540
1540
|
const linearPattern = `linear\\(\\s*(?:${varString}|${linearStopPattern}(?:\\s*,\\s*${linearStopPattern})*)\\s*\\)`;
|
|
1541
1541
|
const positiveIntegerPattern = '[1-9]\\d*';
|
|
1542
1542
|
const atLeastTwoIntegerPattern = '(?:[2-9]|[1-9]\\d+)';
|