@pandacss/eslint-plugin 0.1.3 → 0.1.4
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 +3 -1
- package/dist/index.mjs +3 -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.4";
|
|
7961
7961
|
|
|
7962
7962
|
// src/configs/all.ts
|
|
7963
7963
|
init_cjs_shims();
|
|
@@ -9134,6 +9134,8 @@ var rule13 = createRule({
|
|
|
9134
9134
|
};
|
|
9135
9135
|
const sendReport = (node, value) => {
|
|
9136
9136
|
const tkImports = extractTokens(value);
|
|
9137
|
+
if (!tkImports.length)
|
|
9138
|
+
return;
|
|
9137
9139
|
const token = tkImports[0].replace(/^[^.]*\./, "");
|
|
9138
9140
|
return context.report({
|
|
9139
9141
|
node,
|
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.4";
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
|
|
@@ -9232,6 +9232,8 @@ var init_no_unsafe_token_fn_usage = __esm({
|
|
|
9232
9232
|
};
|
|
9233
9233
|
const sendReport = (node, value) => {
|
|
9234
9234
|
const tkImports = extractTokens(value);
|
|
9235
|
+
if (!tkImports.length)
|
|
9236
|
+
return;
|
|
9235
9237
|
const token = tkImports[0].replace(/^[^.]*\./, "");
|
|
9236
9238
|
return context.report({
|
|
9237
9239
|
node,
|