@pandacss/eslint-plugin 0.1.12 → 0.1.14
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 +6 -3
- package/dist/index.mjs +6 -3
- 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.14";
|
|
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"
|
|
@@ -8487,11 +8490,11 @@ var rule4 = createRule({
|
|
|
8487
8490
|
return;
|
|
8488
8491
|
if (isObjectExpression(node.value))
|
|
8489
8492
|
return;
|
|
8493
|
+
if (!isPandaAttribute(node, context))
|
|
8494
|
+
return;
|
|
8490
8495
|
if (isArrayExpression(node.value)) {
|
|
8491
8496
|
return checkElements(node.value, context);
|
|
8492
8497
|
}
|
|
8493
|
-
if (!isPandaAttribute(node, context))
|
|
8494
|
-
return;
|
|
8495
8498
|
context.report({
|
|
8496
8499
|
node: node.value,
|
|
8497
8500
|
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.14";
|
|
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"
|
|
@@ -8513,11 +8516,11 @@ var init_no_dynamic_styling = __esm({
|
|
|
8513
8516
|
return;
|
|
8514
8517
|
if (isObjectExpression(node.value))
|
|
8515
8518
|
return;
|
|
8519
|
+
if (!isPandaAttribute(node, context))
|
|
8520
|
+
return;
|
|
8516
8521
|
if (isArrayExpression(node.value)) {
|
|
8517
8522
|
return checkElements(node.value, context);
|
|
8518
8523
|
}
|
|
8519
|
-
if (!isPandaAttribute(node, context))
|
|
8520
|
-
return;
|
|
8521
8524
|
context.report({
|
|
8522
8525
|
node: node.value,
|
|
8523
8526
|
messageId: "dynamic"
|