@eslint-react/shared 1.52.7-next.0 → 1.52.7-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.
package/dist/index.d.mts CHANGED
@@ -2,6 +2,18 @@ import { unit } from '@eslint-react/eff';
2
2
  import { RuleContext } from '@eslint-react/kit';
3
3
  import { z } from 'zod/v4';
4
4
 
5
+ interface CompatiblePlugin {
6
+ meta: {
7
+ name: string;
8
+ version: string;
9
+ };
10
+ rules: Record<string, any>;
11
+ }
12
+ interface CompatibleConfig {
13
+ name?: string;
14
+ rules?: Record<string, any>;
15
+ }
16
+
5
17
  /**
6
18
  * The NPM scope for this project.
7
19
  */
@@ -928,4 +940,4 @@ declare module "@typescript-eslint/utils/ts-eslint" {
928
940
  }
929
941
  }
930
942
 
931
- export { type CustomComponent, type CustomComponentNormalized, type CustomComponentProp, type CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, type CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS, DEFAULT_ESLINT_SETTINGS, type ESLintReactSettings, type ESLintReactSettingsNormalized, ESLintReactSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, NPM_SCOPE, WEBSITE_URL, coerceESLintSettings, coerceSettings, decodeESLintSettings, decodeSettings, defineSettings, getDocsUrl, getId, getReactVersion, getSettingsFromContext, isESLintReactSettings, isESLintSettings, normalizeSettings };
943
+ export { type CompatibleConfig, type CompatiblePlugin, type CustomComponent, type CustomComponentNormalized, type CustomComponentProp, type CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, type CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS, DEFAULT_ESLINT_SETTINGS, type ESLintReactSettings, type ESLintReactSettingsNormalized, ESLintReactSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, NPM_SCOPE, WEBSITE_URL, coerceESLintSettings, coerceSettings, decodeESLintSettings, decodeSettings, defineSettings, getDocsUrl, getId, getReactVersion, getSettingsFromContext, isESLintReactSettings, isESLintSettings, normalizeSettings };
package/dist/index.d.ts CHANGED
@@ -2,6 +2,18 @@ import { unit } from '@eslint-react/eff';
2
2
  import { RuleContext } from '@eslint-react/kit';
3
3
  import { z } from 'zod/v4';
4
4
 
5
+ interface CompatiblePlugin {
6
+ meta: {
7
+ name: string;
8
+ version: string;
9
+ };
10
+ rules: Record<string, any>;
11
+ }
12
+ interface CompatibleConfig {
13
+ name?: string;
14
+ rules?: Record<string, any>;
15
+ }
16
+
5
17
  /**
6
18
  * The NPM scope for this project.
7
19
  */
@@ -928,4 +940,4 @@ declare module "@typescript-eslint/utils/ts-eslint" {
928
940
  }
929
941
  }
930
942
 
931
- export { type CustomComponent, type CustomComponentNormalized, type CustomComponentProp, type CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, type CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS, DEFAULT_ESLINT_SETTINGS, type ESLintReactSettings, type ESLintReactSettingsNormalized, ESLintReactSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, NPM_SCOPE, WEBSITE_URL, coerceESLintSettings, coerceSettings, decodeESLintSettings, decodeSettings, defineSettings, getDocsUrl, getId, getReactVersion, getSettingsFromContext, isESLintReactSettings, isESLintSettings, normalizeSettings };
943
+ export { type CompatibleConfig, type CompatiblePlugin, type CustomComponent, type CustomComponentNormalized, type CustomComponentProp, type CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, type CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS, DEFAULT_ESLINT_SETTINGS, type ESLintReactSettings, type ESLintReactSettingsNormalized, ESLintReactSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, NPM_SCOPE, WEBSITE_URL, coerceESLintSettings, coerceSettings, decodeESLintSettings, decodeSettings, defineSettings, getDocsUrl, getId, getReactVersion, getSettingsFromContext, isESLintReactSettings, isESLintSettings, normalizeSettings };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "1.52.7-next.0",
3
+ "version": "1.52.7-next.2",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -35,11 +35,11 @@
35
35
  "./package.json"
36
36
  ],
37
37
  "dependencies": {
38
- "@typescript-eslint/utils": "^8.40.0",
38
+ "@typescript-eslint/utils": "^8.41.0",
39
39
  "ts-pattern": "^5.8.0",
40
- "zod": "^4.1.0",
41
- "@eslint-react/eff": "1.52.7-next.0",
42
- "@eslint-react/kit": "1.52.7-next.0"
40
+ "zod": "^4.1.4",
41
+ "@eslint-react/eff": "1.52.7-next.2",
42
+ "@eslint-react/kit": "1.52.7-next.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@tsconfig/node22": "^22.0.2",