eslint-plugin-react-x 1.26.3-next.18 → 1.26.3-next.19

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
@@ -137,7 +137,7 @@ var settings3 = {
137
137
 
138
138
  // package.json
139
139
  var name4 = "eslint-plugin-react-x";
140
- var version = "1.26.3-next.18";
140
+ var version = "1.26.3-next.19";
141
141
  var createRule = shared.createRuleForPlugin("x");
142
142
 
143
143
  // src/utils/get-associated-tokens.ts
@@ -1987,8 +1987,8 @@ var no_nested_components_default = createRule({
1987
1987
  continue;
1988
1988
  }
1989
1989
  const parentComponent = AST11__namespace.findParentNode(component, isFunctionComponent);
1990
- const isParnetComponentNotDirectValueOfRenderProperty = parentComponent != null && !core.isDirectValueOfRenderPropertyLoose(parentComponent);
1991
- if (isParnetComponentNotDirectValueOfRenderProperty) {
1990
+ const isParentComponentNotDirectValueOfRenderProperty = parentComponent != null && !core.isDirectValueOfRenderPropertyLoose(parentComponent);
1991
+ if (isParentComponentNotDirectValueOfRenderProperty) {
1992
1992
  context.report({
1993
1993
  messageId: isInsideProperty ? "nestedComponentInProps" : "nestedComponent",
1994
1994
  node: component,
@@ -3427,7 +3427,7 @@ var use_jsx_vars_default = createRule({
3427
3427
  meta: {
3428
3428
  type: "problem",
3429
3429
  docs: {
3430
- description: "helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.",
3430
+ description: "marks variables used in JSX as used",
3431
3431
  [Symbol.for("rule_features")]: RULE_FEATURES50
3432
3432
  },
3433
3433
  messages: {
@@ -3538,10 +3538,10 @@ function makeConfig(config) {
3538
3538
  }
3539
3539
  };
3540
3540
  }
3541
- function makeLegacyConfig(config) {
3541
+ function makeLegacyConfig({ rules: rules4 }) {
3542
3542
  return {
3543
3543
  plugins: ["react-x"],
3544
- rules: config.rules
3544
+ rules: rules4
3545
3545
  };
3546
3546
  }
3547
3547
  var index_default = {
package/dist/index.mjs CHANGED
@@ -110,7 +110,7 @@ var settings3 = {
110
110
 
111
111
  // package.json
112
112
  var name4 = "eslint-plugin-react-x";
113
- var version = "1.26.3-next.18";
113
+ var version = "1.26.3-next.19";
114
114
  var createRule = createRuleForPlugin("x");
115
115
 
116
116
  // src/utils/get-associated-tokens.ts
@@ -1960,8 +1960,8 @@ var no_nested_components_default = createRule({
1960
1960
  continue;
1961
1961
  }
1962
1962
  const parentComponent = AST11.findParentNode(component, isFunctionComponent);
1963
- const isParnetComponentNotDirectValueOfRenderProperty = parentComponent != null && !isDirectValueOfRenderPropertyLoose(parentComponent);
1964
- if (isParnetComponentNotDirectValueOfRenderProperty) {
1963
+ const isParentComponentNotDirectValueOfRenderProperty = parentComponent != null && !isDirectValueOfRenderPropertyLoose(parentComponent);
1964
+ if (isParentComponentNotDirectValueOfRenderProperty) {
1965
1965
  context.report({
1966
1966
  messageId: isInsideProperty ? "nestedComponentInProps" : "nestedComponent",
1967
1967
  node: component,
@@ -3400,7 +3400,7 @@ var use_jsx_vars_default = createRule({
3400
3400
  meta: {
3401
3401
  type: "problem",
3402
3402
  docs: {
3403
- description: "helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.",
3403
+ description: "marks variables used in JSX as used",
3404
3404
  [Symbol.for("rule_features")]: RULE_FEATURES50
3405
3405
  },
3406
3406
  messages: {
@@ -3511,10 +3511,10 @@ function makeConfig(config) {
3511
3511
  }
3512
3512
  };
3513
3513
  }
3514
- function makeLegacyConfig(config) {
3514
+ function makeLegacyConfig({ rules: rules4 }) {
3515
3515
  return {
3516
3516
  plugins: ["react-x"],
3517
- rules: config.rules
3517
+ rules: rules4
3518
3518
  };
3519
3519
  }
3520
3520
  var index_default = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-x",
3
- "version": "1.26.3-next.18",
3
+ "version": "1.26.3-next.19",
4
4
  "description": "A set of composable linting rules for libraries and frameworks that use React as a UI runtime.",
5
5
  "keywords": [
6
6
  "react",
@@ -50,12 +50,12 @@
50
50
  "is-immutable-type": "^5.0.1",
51
51
  "string-ts": "^2.2.1",
52
52
  "ts-pattern": "^5.6.2",
53
- "@eslint-react/ast": "1.26.3-next.18",
54
- "@eslint-react/core": "1.26.3-next.18",
55
- "@eslint-react/jsx": "1.26.3-next.18",
56
- "@eslint-react/eff": "1.26.3-next.18",
57
- "@eslint-react/var": "1.26.3-next.18",
58
- "@eslint-react/shared": "1.26.3-next.18"
53
+ "@eslint-react/ast": "1.26.3-next.19",
54
+ "@eslint-react/core": "1.26.3-next.19",
55
+ "@eslint-react/eff": "1.26.3-next.19",
56
+ "@eslint-react/shared": "1.26.3-next.19",
57
+ "@eslint-react/var": "1.26.3-next.19",
58
+ "@eslint-react/jsx": "1.26.3-next.19"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/react": "^19.0.10",
@@ -90,6 +90,6 @@
90
90
  "scripts": {
91
91
  "build": "tsup --dts-resolve",
92
92
  "lint:publish": "publint",
93
- "lint:type": "tsc --noEmit"
93
+ "lint:ts": "tsc --noEmit"
94
94
  }
95
95
  }