@eslint-react/shared 2.0.0-next.153 → 2.0.0-next.154

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 +14 -1
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -15,6 +15,19 @@ declare const getId: () => string;
15
15
  */
16
16
  declare const _require: NodeJS.Require;
17
17
  //#endregion
18
+ //#region src/compatibility-types.d.ts
19
+ interface CompatiblePlugin {
20
+ meta: {
21
+ name: string;
22
+ version: string;
23
+ };
24
+ rules: Record<string, any>;
25
+ }
26
+ interface CompatibleConfig {
27
+ name?: string;
28
+ rules?: Record<string, any>;
29
+ }
30
+ //#endregion
18
31
  //#region src/constants.d.ts
19
32
  /**
20
33
  * The NPM scope for this project.
@@ -260,4 +273,4 @@ declare module "@typescript-eslint/utils/ts-eslint" {
260
273
  }
261
274
  }
262
275
  //#endregion
263
- export { CustomComponent, CustomComponentNormalized, CustomComponentProp, CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS, DEFAULT_ESLINT_SETTINGS, ESLintReactSettings, ESLintReactSettingsNormalized, ESLintReactSettingsSchema, ESLintSettings, ESLintSettingsSchema, GITHUB_URL, NPM_SCOPE, WEBSITE_URL, _require, coerceESLintSettings, coerceSettings, decodeESLintSettings, decodeSettings, defineSettings, getDocsUrl, getId, getReactVersion, getSettingsFromContext, isESLintReactSettings, isESLintSettings, normalizeSettings };
276
+ export { CompatibleConfig, CompatiblePlugin, CustomComponent, CustomComponentNormalized, CustomComponentProp, CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS, DEFAULT_ESLINT_SETTINGS, ESLintReactSettings, ESLintReactSettingsNormalized, ESLintReactSettingsSchema, ESLintSettings, ESLintSettingsSchema, GITHUB_URL, NPM_SCOPE, WEBSITE_URL, _require, 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": "2.0.0-next.153",
3
+ "version": "2.0.0-next.154",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -29,9 +29,9 @@
29
29
  "dependencies": {
30
30
  "@typescript-eslint/utils": "^8.41.0",
31
31
  "ts-pattern": "^5.8.0",
32
- "zod": "^4.1.3",
33
- "@eslint-react/eff": "2.0.0-next.153",
34
- "@eslint-react/kit": "2.0.0-next.153"
32
+ "zod": "^4.1.4",
33
+ "@eslint-react/eff": "2.0.0-next.154",
34
+ "@eslint-react/kit": "2.0.0-next.154"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@tsconfig/node22": "^22.0.2",