eslint-plugin-react-debug 2.0.0-next.175 → 2.0.0-next.177

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
36
36
  //#endregion
37
37
  //#region package.json
38
38
  var name = "eslint-plugin-react-debug";
39
- var version = "2.0.0-next.175";
39
+ var version = "2.0.0-next.177";
40
40
 
41
41
  //#endregion
42
42
  //#region src/utils/create-rule.ts
@@ -181,8 +181,7 @@ var is_from_react_default = createRule({
181
181
  function create$1(context) {
182
182
  const { importSource = "react" } = getSettingsFromContext(context);
183
183
  function visitorFunction(node) {
184
- const shouldSkipDuplicate = node.parent.type === AST_NODE_TYPES.ImportSpecifier && node.parent.imported === node && node.parent.imported.name === node.parent.local.name;
185
- if (shouldSkipDuplicate) return;
184
+ if (node.parent.type === AST_NODE_TYPES.ImportSpecifier && node.parent.imported === node && node.parent.imported.name === node.parent.local.name) return;
186
185
  const name$2 = node.name;
187
186
  const initialScope = context.sourceCode.getScope(node);
188
187
  if (!isFromReact(node, importSource, initialScope)) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-debug",
3
- "version": "2.0.0-next.175",
3
+ "version": "2.0.0-next.177",
4
4
  "description": "ESLint React's ESLint plugin for debugging related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -35,23 +35,23 @@
35
35
  "./package.json"
36
36
  ],
37
37
  "dependencies": {
38
- "@typescript-eslint/scope-manager": "^8.42.0",
39
- "@typescript-eslint/type-utils": "^8.42.0",
40
- "@typescript-eslint/types": "^8.42.0",
41
- "@typescript-eslint/utils": "^8.42.0",
38
+ "@typescript-eslint/scope-manager": "^8.43.0",
39
+ "@typescript-eslint/type-utils": "^8.43.0",
40
+ "@typescript-eslint/types": "^8.43.0",
41
+ "@typescript-eslint/utils": "^8.43.0",
42
42
  "string-ts": "^2.2.1",
43
43
  "ts-pattern": "^5.8.0",
44
- "@eslint-react/ast": "2.0.0-next.175",
45
- "@eslint-react/core": "2.0.0-next.175",
46
- "@eslint-react/eff": "2.0.0-next.175",
47
- "@eslint-react/kit": "2.0.0-next.175",
48
- "@eslint-react/var": "2.0.0-next.175",
49
- "@eslint-react/shared": "2.0.0-next.175"
44
+ "@eslint-react/ast": "2.0.0-next.177",
45
+ "@eslint-react/eff": "2.0.0-next.177",
46
+ "@eslint-react/core": "2.0.0-next.177",
47
+ "@eslint-react/shared": "2.0.0-next.177",
48
+ "@eslint-react/kit": "2.0.0-next.177",
49
+ "@eslint-react/var": "2.0.0-next.177"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/react": "^19.1.12",
53
53
  "@types/react-dom": "^19.1.9",
54
- "tsdown": "^0.14.2",
54
+ "tsdown": "^0.15.0",
55
55
  "@local/configs": "0.0.0"
56
56
  },
57
57
  "peerDependencies": {