@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 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.3";
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.3";
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/eslint-plugin",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Eslint plugin for Panda CSS",
5
5
  "author": "Abraham Aremu <anubra266@gmail.com>",
6
6
  "main": "dist/index.js",