@eslint-react/kit 1.50.0-beta.3 → 1.50.0-beta.5
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 +23 -9
- package/dist/index.d.ts +23 -9
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as typescript from 'typescript';
|
|
2
2
|
import * as tseslint from '@typescript-eslint/utils/ts-eslint';
|
|
3
3
|
import { ReportDescriptor } from '@typescript-eslint/utils/ts-eslint';
|
|
4
|
-
import * as z from '
|
|
4
|
+
import * as z from 'zod';
|
|
5
5
|
import { _ } from '@eslint-react/eff';
|
|
6
6
|
import { TSESTree } from '@typescript-eslint/utils';
|
|
7
7
|
|
|
@@ -80,14 +80,28 @@ declare namespace index$1 {
|
|
|
80
80
|
/**
|
|
81
81
|
* @internal
|
|
82
82
|
*/
|
|
83
|
-
declare const LanguagePreferenceSchema: z.
|
|
84
|
-
indentStyle: z.
|
|
85
|
-
indentWidth: z.
|
|
86
|
-
quoteStyle: z.
|
|
87
|
-
semicolons: z.
|
|
88
|
-
trailingCommas: z.
|
|
89
|
-
jsxQuoteStyle: z.
|
|
90
|
-
},
|
|
83
|
+
declare const LanguagePreferenceSchema: z.ZodObject<{
|
|
84
|
+
indentStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"tab">, z.ZodLiteral<"space">]>>;
|
|
85
|
+
indentWidth: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
quoteStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
|
|
87
|
+
semicolons: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"asNeeded">]>>;
|
|
88
|
+
trailingCommas: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"es5">, z.ZodLiteral<"none">]>>;
|
|
89
|
+
jsxQuoteStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
indentStyle?: "tab" | "space" | undefined;
|
|
92
|
+
indentWidth?: number | undefined;
|
|
93
|
+
quoteStyle?: "single" | "double" | undefined;
|
|
94
|
+
semicolons?: "always" | "asNeeded" | undefined;
|
|
95
|
+
trailingCommas?: "all" | "es5" | "none" | undefined;
|
|
96
|
+
jsxQuoteStyle?: "single" | "double" | undefined;
|
|
97
|
+
}, {
|
|
98
|
+
indentStyle?: "tab" | "space" | undefined;
|
|
99
|
+
indentWidth?: number | undefined;
|
|
100
|
+
quoteStyle?: "single" | "double" | undefined;
|
|
101
|
+
semicolons?: "always" | "asNeeded" | undefined;
|
|
102
|
+
trailingCommas?: "all" | "es5" | "none" | undefined;
|
|
103
|
+
jsxQuoteStyle?: "single" | "double" | undefined;
|
|
104
|
+
}>;
|
|
91
105
|
|
|
92
106
|
/**
|
|
93
107
|
* @internal
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as typescript from 'typescript';
|
|
2
2
|
import * as tseslint from '@typescript-eslint/utils/ts-eslint';
|
|
3
3
|
import { ReportDescriptor } from '@typescript-eslint/utils/ts-eslint';
|
|
4
|
-
import * as z from '
|
|
4
|
+
import * as z from 'zod';
|
|
5
5
|
import { _ } from '@eslint-react/eff';
|
|
6
6
|
import { TSESTree } from '@typescript-eslint/utils';
|
|
7
7
|
|
|
@@ -80,14 +80,28 @@ declare namespace index$1 {
|
|
|
80
80
|
/**
|
|
81
81
|
* @internal
|
|
82
82
|
*/
|
|
83
|
-
declare const LanguagePreferenceSchema: z.
|
|
84
|
-
indentStyle: z.
|
|
85
|
-
indentWidth: z.
|
|
86
|
-
quoteStyle: z.
|
|
87
|
-
semicolons: z.
|
|
88
|
-
trailingCommas: z.
|
|
89
|
-
jsxQuoteStyle: z.
|
|
90
|
-
},
|
|
83
|
+
declare const LanguagePreferenceSchema: z.ZodObject<{
|
|
84
|
+
indentStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"tab">, z.ZodLiteral<"space">]>>;
|
|
85
|
+
indentWidth: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
quoteStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
|
|
87
|
+
semicolons: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"asNeeded">]>>;
|
|
88
|
+
trailingCommas: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"es5">, z.ZodLiteral<"none">]>>;
|
|
89
|
+
jsxQuoteStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
indentStyle?: "tab" | "space" | undefined;
|
|
92
|
+
indentWidth?: number | undefined;
|
|
93
|
+
quoteStyle?: "single" | "double" | undefined;
|
|
94
|
+
semicolons?: "always" | "asNeeded" | undefined;
|
|
95
|
+
trailingCommas?: "all" | "es5" | "none" | undefined;
|
|
96
|
+
jsxQuoteStyle?: "single" | "double" | undefined;
|
|
97
|
+
}, {
|
|
98
|
+
indentStyle?: "tab" | "space" | undefined;
|
|
99
|
+
indentWidth?: number | undefined;
|
|
100
|
+
quoteStyle?: "single" | "double" | undefined;
|
|
101
|
+
semicolons?: "always" | "asNeeded" | undefined;
|
|
102
|
+
trailingCommas?: "all" | "es5" | "none" | undefined;
|
|
103
|
+
jsxQuoteStyle?: "single" | "double" | undefined;
|
|
104
|
+
}>;
|
|
91
105
|
|
|
92
106
|
/**
|
|
93
107
|
* @internal
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/kit",
|
|
3
|
-
"version": "1.50.0-beta.
|
|
3
|
+
"version": "1.50.0-beta.5",
|
|
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": {
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@typescript-eslint/utils": "^8.32.1",
|
|
39
|
-
"@zod/mini": "^4.0.0-beta.20250505T195954",
|
|
40
39
|
"ts-pattern": "^5.7.1",
|
|
41
|
-
"
|
|
40
|
+
"zod": "^3.25.28",
|
|
41
|
+
"@eslint-react/eff": "1.50.0-beta.5"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@tsconfig/node22": "^22.0.2",
|