eslint-plugin-react-x 5.2.2-next.0 → 5.2.3-beta.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +16 -16
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_ESLINT_REACT_SETTINGS, getSettingsFromContext, toRegExp } from "@eslint-react/shared";
2
- import { Check, Compare, Extract, Select, Traverse, is, isOneOf } from "@eslint-react/ast";
2
+ import { Check, Compare, Extract, Traverse, is, isOneOf } from "@eslint-react/ast";
3
3
  import * as core from "@eslint-react/core";
4
4
  import { isUseRefCall } from "@eslint-react/core";
5
5
  import { merge } from "@eslint-react/eslint";
@@ -143,7 +143,7 @@ const rules$7 = {
143
143
  //#endregion
144
144
  //#region package.json
145
145
  var name$6 = "eslint-plugin-react-x";
146
- var version = "5.2.2-next.0";
146
+ var version = "5.2.3-beta.1";
147
147
 
148
148
  //#endregion
149
149
  //#region src/rules/component-hook-factories/lib.ts
@@ -2589,6 +2589,9 @@ function create$23(context) {
2589
2589
  if (!core.isCreateContextCall(context, node)) return;
2590
2590
  createCalls.push(node);
2591
2591
  },
2592
+ [core.SEL_FUNCTION_DISPLAY_NAME_ASSIGNMENT](node) {
2593
+ displayNameAssignments.push(node);
2594
+ },
2592
2595
  "Program:exit"() {
2593
2596
  for (const call of createCalls) {
2594
2597
  const id = resolveEnclosingAssignmentTarget(call);
@@ -2623,9 +2626,6 @@ function create$23(context) {
2623
2626
  node: id
2624
2627
  });
2625
2628
  }
2626
- },
2627
- [Select.displayNameAssignment](node) {
2628
- displayNameAssignments.push(node);
2629
2629
  }
2630
2630
  });
2631
2631
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-x",
3
- "version": "5.2.2-next.0",
3
+ "version": "5.2.3-beta.1",
4
4
  "description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
5
5
  "keywords": [
6
6
  "react",
@@ -37,30 +37,30 @@
37
37
  "./package.json"
38
38
  ],
39
39
  "dependencies": {
40
- "@typescript-eslint/scope-manager": "^8.58.1",
41
- "@typescript-eslint/type-utils": "^8.58.1",
42
- "@typescript-eslint/types": "^8.58.1",
43
- "@typescript-eslint/typescript-estree": "^8.58.1",
44
- "@typescript-eslint/utils": "^8.58.1",
40
+ "@typescript-eslint/scope-manager": "^8.58.2",
41
+ "@typescript-eslint/type-utils": "^8.58.2",
42
+ "@typescript-eslint/types": "^8.58.2",
43
+ "@typescript-eslint/typescript-estree": "^8.58.2",
44
+ "@typescript-eslint/utils": "^8.58.2",
45
45
  "compare-versions": "^6.1.1",
46
46
  "string-ts": "^2.3.1",
47
47
  "ts-api-utils": "^2.5.0",
48
48
  "ts-pattern": "^5.9.0",
49
- "@eslint-react/core": "5.2.2-next.0",
50
- "@eslint-react/shared": "5.2.2-next.0",
51
- "@eslint-react/ast": "5.2.2-next.0",
52
- "@eslint-react/jsx": "5.2.2-next.0",
53
- "@eslint-react/var": "5.2.2-next.0",
54
- "@eslint-react/eslint": "5.2.2-next.0"
49
+ "@eslint-react/ast": "5.2.3-beta.1",
50
+ "@eslint-react/core": "5.2.3-beta.1",
51
+ "@eslint-react/jsx": "5.2.3-beta.1",
52
+ "@eslint-react/eslint": "5.2.3-beta.1",
53
+ "@eslint-react/shared": "5.2.3-beta.1",
54
+ "@eslint-react/var": "5.2.3-beta.1"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/react": "^19.2.14",
58
58
  "@types/react-dom": "^19.2.3",
59
59
  "eslint": "^10.2.0",
60
- "tsdown": "^0.21.7",
60
+ "tsdown": "^0.21.8",
61
61
  "tsl-dx": "^0.10.3",
62
- "@local/eff": "3.0.0-beta.72",
63
- "@local/configs": "0.0.0"
62
+ "@local/configs": "0.0.0",
63
+ "@local/eff": "3.0.0-beta.72"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "eslint": "^10.2.0",
@@ -76,7 +76,7 @@
76
76
  "@local/eff": "workspace:*"
77
77
  },
78
78
  "scripts": {
79
- "build": "tsdown",
79
+ "build": "tsdown --dts-resolve",
80
80
  "lint:publish": "publint",
81
81
  "lint:ts": "tsl"
82
82
  }