eslint-plugin-react-x 1.26.2-next.3 → 1.26.2-next.4

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
@@ -42,7 +42,7 @@ var ts__default = /*#__PURE__*/_interopDefault(ts);
42
42
 
43
43
  // package.json
44
44
  var name = "eslint-plugin-react-x";
45
- var version = "1.26.2-next.3";
45
+ var version = "1.26.2-next.4";
46
46
  var createRule = shared.createRuleForPlugin("x");
47
47
 
48
48
  // src/utils/get-associated-tokens.ts
@@ -1031,6 +1031,9 @@ var no_context_provider_default = createRule({
1031
1031
  context.report({
1032
1032
  messageId: "noContextProvider",
1033
1033
  node,
1034
+ data: {
1035
+ contextName
1036
+ },
1034
1037
  fix(fixer) {
1035
1038
  const openingElement = node.openingElement;
1036
1039
  const closingElement = node.closingElement;
package/dist/index.mjs CHANGED
@@ -15,7 +15,7 @@ import { getTypeImmutability, isUnknown, isImmutable, isReadonlyShallow, isReado
15
15
 
16
16
  // package.json
17
17
  var name = "eslint-plugin-react-x";
18
- var version = "1.26.2-next.3";
18
+ var version = "1.26.2-next.4";
19
19
  var createRule = createRuleForPlugin("x");
20
20
 
21
21
  // src/utils/get-associated-tokens.ts
@@ -1004,6 +1004,9 @@ var no_context_provider_default = createRule({
1004
1004
  context.report({
1005
1005
  messageId: "noContextProvider",
1006
1006
  node,
1007
+ data: {
1008
+ contextName
1009
+ },
1007
1010
  fix(fixer) {
1008
1011
  const openingElement = node.openingElement;
1009
1012
  const closingElement = node.closingElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-x",
3
- "version": "1.26.2-next.3",
3
+ "version": "1.26.2-next.4",
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",
@@ -48,12 +48,12 @@
48
48
  "is-immutable-type": "^5.0.1",
49
49
  "string-ts": "^2.2.1",
50
50
  "ts-pattern": "^5.6.2",
51
- "@eslint-react/ast": "1.26.2-next.3",
52
- "@eslint-react/eff": "1.26.2-next.3",
53
- "@eslint-react/jsx": "1.26.2-next.3",
54
- "@eslint-react/shared": "1.26.2-next.3",
55
- "@eslint-react/var": "1.26.2-next.3",
56
- "@eslint-react/core": "1.26.2-next.3"
51
+ "@eslint-react/ast": "1.26.2-next.4",
52
+ "@eslint-react/eff": "1.26.2-next.4",
53
+ "@eslint-react/core": "1.26.2-next.4",
54
+ "@eslint-react/jsx": "1.26.2-next.4",
55
+ "@eslint-react/shared": "1.26.2-next.4",
56
+ "@eslint-react/var": "1.26.2-next.4"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/react": "^19.0.8",
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "peerDependencies": {
66
66
  "eslint": "^8.57.0 || ^9.0.0",
67
- "ts-api-utils": "^2.0.0",
67
+ "ts-api-utils": "^2.0.1",
68
68
  "typescript": "^4.9.5 || ^5.3.3"
69
69
  },
70
70
  "peerDependenciesMeta": {