@pandacss/eslint-plugin 0.3.0 → 0.3.1

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
@@ -7884,7 +7884,7 @@ init_cjs_shims();
7884
7884
 
7885
7885
  // package.json
7886
7886
  var name = "@pandacss/eslint-plugin";
7887
- var version = "0.3.0";
7887
+ var version = "0.3.1";
7888
7888
 
7889
7889
  // src/configs/all.ts
7890
7890
  init_cjs_shims();
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.3.0";
13
+ version = "0.3.1";
14
14
  }
15
15
  });
16
16
 
@@ -3990,7 +3990,9 @@ async function getContext(opts) {
3990
3990
  }
3991
3991
  async function filterInvalidTokens(ctx, paths) {
3992
3992
  const invalid = paths.filter((path2) => !ctx.utility.tokens.view.get(path2));
3993
- console.error("filterInvalidTokens", { paths, invalid });
3993
+ if (invalid.length > 0) {
3994
+ console.error("filterInvalidTokens", { paths, invalid });
3995
+ }
3994
3996
  return invalid;
3995
3997
  }
3996
3998
  async function filterDeprecatedTokens(ctx, tokens3) {
@@ -3978,7 +3978,9 @@ async function getContext(opts) {
3978
3978
  }
3979
3979
  async function filterInvalidTokens(ctx, paths) {
3980
3980
  const invalid = paths.filter((path2) => !ctx.utility.tokens.view.get(path2));
3981
- console.error("filterInvalidTokens", { paths, invalid });
3981
+ if (invalid.length > 0) {
3982
+ console.error("filterInvalidTokens", { paths, invalid });
3983
+ }
3982
3984
  return invalid;
3983
3985
  }
3984
3986
  async function filterDeprecatedTokens(ctx, tokens3) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/eslint-plugin",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Eslint plugin for Panda CSS",
5
5
  "author": "Abraham Aremu <anubra266@gmail.com>",
6
6
  "main": "dist/index.js",