@eslint-react/kit 2.0.0-next.45 → 2.0.0-next.48

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 +6 -1
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -32,6 +32,11 @@ type RuleContext<MessageIds extends string = string, Options extends readonly un
32
32
  */
33
33
  type RuleFeature = "CFG" | "DBG" | "FIX" | "MOD" | "TSC" | "EXP";
34
34
  type RulePolicy = number;
35
+ type RuleSuggest<MessageIds extends string = string> = {
36
+ messageId: MessageIds;
37
+ data?: Record<string, unknown>;
38
+ fix: tseslint.ReportFixFunction;
39
+ };
35
40
 
36
41
  declare const JsxEmit: {
37
42
  readonly None: 0;
@@ -287,4 +292,4 @@ declare namespace Selector {
287
292
  export { Selector_DISPLAY_NAME_ASSIGNMENT_EXPRESSION as DISPLAY_NAME_ASSIGNMENT_EXPRESSION, type Selector_DisplayNameAssignmentExpression as DisplayNameAssignmentExpression, Selector_IMPLICIT_RETURN_ARROW_FUNCTION_EXPRESSION as IMPLICIT_RETURN_ARROW_FUNCTION_EXPRESSION, type Selector_ImplicitReturnArrowFunctionExpression as ImplicitReturnArrowFunctionExpression, Selector_OBJECT_DESTRUCTURING_VARIABLE_DECLARATOR as OBJECT_DESTRUCTURING_VARIABLE_DECLARATOR, type Selector_ObjectDestructuringVariableDeclarator as ObjectDestructuringVariableDeclarator };
288
293
  }
289
294
 
290
- export { index$1 as JsxConfig, index as LanguagePreference, RegExp$1 as RegExp, Reporter$1 as Reporter, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePolicy, type RulePreset, type RuleSeverity, Selector };
295
+ export { index$1 as JsxConfig, index as LanguagePreference, RegExp$1 as RegExp, Reporter$1 as Reporter, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePolicy, type RulePreset, type RuleSeverity, type RuleSuggest, Selector };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/kit",
3
- "version": "2.0.0-next.45",
3
+ "version": "2.0.0-next.48",
4
4
  "description": "ESLint React's plugin kit for building plugins and rules.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -27,10 +27,10 @@
27
27
  "./package.json"
28
28
  ],
29
29
  "dependencies": {
30
- "@typescript-eslint/utils": "^8.34.0",
30
+ "@typescript-eslint/utils": "^8.34.1",
31
31
  "ts-pattern": "^5.7.1",
32
- "zod": "^3.25.64",
33
- "@eslint-react/eff": "2.0.0-next.45"
32
+ "zod": "^3.25.67",
33
+ "@eslint-react/eff": "2.0.0-next.48"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@tsconfig/node22": "^22.0.2",