@eslint-react/shared 3.0.0-next.58 → 3.0.0-next.59

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.d.ts +3 -3
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -199,9 +199,9 @@ type RuleFeature = "CFG" | "DBG" | "FIX" | "MOD" | "TSC" | "EXP";
199
199
  * A suggestion for fixing a reported issue.
200
200
  */
201
201
  type RuleSuggest<MessageIds extends string = string> = {
202
- /** The message ID for the suggestion. */messageId: MessageIds; /** Optional data to pass to the message formatter. */
203
- data?: Record<string, unknown>; /** The fix function to apply the suggestion. */
204
- fix: tseslint.ReportFixFunction;
202
+ /** Optional data to pass to the message formatter. */data?: Record<string, unknown>; /** The fix function to apply the suggestion. */
203
+ fix: tseslint.ReportFixFunction; /** The message ID for the suggestion. */
204
+ messageId: MessageIds;
205
205
  };
206
206
  /**
207
207
  * A collection of settings.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "3.0.0-next.58",
3
+ "version": "3.0.0-next.59",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -33,7 +33,7 @@
33
33
  "@typescript-eslint/utils": "canary",
34
34
  "ts-pattern": "^5.9.0",
35
35
  "zod": "^3.25.0 || ^4.0.0",
36
- "@eslint-react/eff": "3.0.0-next.58"
36
+ "@eslint-react/eff": "3.0.0-next.59"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@tsconfig/node24": "^24.0.4",