eslint-plugin-react-x 2.3.13-next.0 → 2.3.13-next.2

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 +11 -11
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ var __export = (all, symbols) => {
34
34
  //#endregion
35
35
  //#region package.json
36
36
  var name$6 = "eslint-plugin-react-x";
37
- var version = "2.3.13-next.0";
37
+ var version = "2.3.13-next.2";
38
38
 
39
39
  //#endregion
40
40
  //#region src/utils/create-rule.ts
@@ -1354,8 +1354,8 @@ function create$34(context) {
1354
1354
  * Determines whether the given CallExpression can be safely auto-fixed by replacing
1355
1355
  * the usage of `forwardRef` with passing `ref` as a prop
1356
1356
  *
1357
- * @param context - The rule context object
1358
- * @param node - The CallExpression node to check
1357
+ * @param context The rule context object
1358
+ * @param node The CallExpression node to check
1359
1359
  * @returns True if the call can be auto-fixed, false otherwise
1360
1360
  */
1361
1361
  function canFix(context, node) {
@@ -1369,8 +1369,8 @@ function canFix(context, node) {
1369
1369
  }
1370
1370
  /**
1371
1371
  * Generates the fix for the `forwardRef` call
1372
- * @param context - The rule context
1373
- * @param node - The `forwardRef` call expression
1372
+ * @param context The rule context
1373
+ * @param node The `forwardRef` call expression
1374
1374
  * @returns A fixer function that applies the changes
1375
1375
  */
1376
1376
  function getFix(context, node) {
@@ -1386,10 +1386,10 @@ function getFix(context, node) {
1386
1386
  }
1387
1387
  /**
1388
1388
  * Generates fixes for the component's props and ref arguments
1389
- * @param context - The rule context
1390
- * @param fixer - The rule fixer
1391
- * @param node - The function component node
1392
- * @param typeArguments - The type arguments from the `forwardRef` call
1389
+ * @param context The rule context
1390
+ * @param fixer The rule fixer
1391
+ * @param node The function component node
1392
+ * @param typeArguments The type arguments from the `forwardRef` call
1393
1393
  * @returns An array of fixes for the component's signature
1394
1394
  */
1395
1395
  function getComponentPropsFixes(context, fixer, node, typeArguments) {
@@ -2194,8 +2194,8 @@ function create$20(context) {
2194
2194
  }
2195
2195
  /**
2196
2196
  * Extracts the text content from a JSX attribute's value
2197
- * @param context - The rule context
2198
- * @param node - The JSX attribute value node
2197
+ * @param context The rule context
2198
+ * @param node The JSX attribute value node
2199
2199
  * @returns The text of the attribute value, or null if not a string-like value
2200
2200
  */
2201
2201
  function getJsxAttributeValueText(context, node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-x",
3
- "version": "2.3.13-next.0",
3
+ "version": "2.3.13-next.2",
4
4
  "description": "A set of composable ESLint rules for for libraries and frameworks that use React as a UI runtime.",
5
5
  "keywords": [
6
6
  "react",
@@ -46,11 +46,11 @@
46
46
  "string-ts": "^2.3.1",
47
47
  "ts-api-utils": "^2.1.0",
48
48
  "ts-pattern": "^5.9.0",
49
- "@eslint-react/ast": "2.3.13-next.0",
50
- "@eslint-react/eff": "2.3.13-next.0",
51
- "@eslint-react/shared": "2.3.13-next.0",
52
- "@eslint-react/var": "2.3.13-next.0",
53
- "@eslint-react/core": "2.3.13-next.0"
49
+ "@eslint-react/ast": "2.3.13-next.2",
50
+ "@eslint-react/core": "2.3.13-next.2",
51
+ "@eslint-react/var": "2.3.13-next.2",
52
+ "@eslint-react/eff": "2.3.13-next.2",
53
+ "@eslint-react/shared": "2.3.13-next.2"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/react": "^19.2.7",