@pandacss/eslint-plugin 0.1.12 → 0.1.13
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.
- package/dist/index.js +7 -1
- package/dist/index.mjs +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7957,7 +7957,7 @@ init_cjs_shims();
|
|
|
7957
7957
|
|
|
7958
7958
|
// package.json
|
|
7959
7959
|
var name = "@pandacss/eslint-plugin";
|
|
7960
|
-
var version = "0.1.
|
|
7960
|
+
var version = "0.1.13";
|
|
7961
7961
|
|
|
7962
7962
|
// src/configs/all.ts
|
|
7963
7963
|
init_cjs_shims();
|
|
@@ -8464,6 +8464,9 @@ var rule4 = createRule({
|
|
|
8464
8464
|
}
|
|
8465
8465
|
if (!isPandaProp(node, context))
|
|
8466
8466
|
return;
|
|
8467
|
+
if (isArrayExpression(node.value.expression)) {
|
|
8468
|
+
return checkElements(node.value.expression, context);
|
|
8469
|
+
}
|
|
8467
8470
|
context.report({
|
|
8468
8471
|
node: node.value,
|
|
8469
8472
|
messageId: "dynamic"
|
|
@@ -8492,6 +8495,9 @@ var rule4 = createRule({
|
|
|
8492
8495
|
}
|
|
8493
8496
|
if (!isPandaAttribute(node, context))
|
|
8494
8497
|
return;
|
|
8498
|
+
if (isArrayExpression(node.value)) {
|
|
8499
|
+
return checkElements(node.value, context);
|
|
8500
|
+
}
|
|
8495
8501
|
context.report({
|
|
8496
8502
|
node: node.value,
|
|
8497
8503
|
messageId: "dynamic"
|
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var name, version;
|
|
|
10
10
|
var init_package = __esm({
|
|
11
11
|
"package.json"() {
|
|
12
12
|
name = "@pandacss/eslint-plugin";
|
|
13
|
-
version = "0.1.
|
|
13
|
+
version = "0.1.13";
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
|
|
@@ -8490,6 +8490,9 @@ var init_no_dynamic_styling = __esm({
|
|
|
8490
8490
|
}
|
|
8491
8491
|
if (!isPandaProp(node, context))
|
|
8492
8492
|
return;
|
|
8493
|
+
if (isArrayExpression(node.value.expression)) {
|
|
8494
|
+
return checkElements(node.value.expression, context);
|
|
8495
|
+
}
|
|
8493
8496
|
context.report({
|
|
8494
8497
|
node: node.value,
|
|
8495
8498
|
messageId: "dynamic"
|
|
@@ -8518,6 +8521,9 @@ var init_no_dynamic_styling = __esm({
|
|
|
8518
8521
|
}
|
|
8519
8522
|
if (!isPandaAttribute(node, context))
|
|
8520
8523
|
return;
|
|
8524
|
+
if (isArrayExpression(node.value)) {
|
|
8525
|
+
return checkElements(node.value, context);
|
|
8526
|
+
}
|
|
8521
8527
|
context.report({
|
|
8522
8528
|
node: node.value,
|
|
8523
8529
|
messageId: "dynamic"
|