@eslint-react/shared 2.0.0-beta.15 → 2.0.0-beta.17
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.ts +0 -15
- package/dist/index.js +0 -13
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -841,19 +841,6 @@ declare const ESLintReactSettingsSchema: z.ZodMiniObject<{
|
|
|
841
841
|
* @example `"@pika/react"`
|
|
842
842
|
*/
|
|
843
843
|
importSource: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
844
|
-
/**
|
|
845
|
-
* The identifier that's used for JSX Element creation.
|
|
846
|
-
* @default `"createElement"`
|
|
847
|
-
* @deprecated
|
|
848
|
-
*/
|
|
849
|
-
jsxPragma: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
850
|
-
/**
|
|
851
|
-
* The identifier that's used for JSX fragment elements.
|
|
852
|
-
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
853
|
-
* @default `"Fragment"`
|
|
854
|
-
* @deprecated
|
|
855
|
-
*/
|
|
856
|
-
jsxPragmaFrag: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
857
844
|
/**
|
|
858
845
|
* The name of the prop that is used for polymorphic components.
|
|
859
846
|
* @description This is used to determine the type of the component.
|
|
@@ -1072,8 +1059,6 @@ declare const normalizeSettings: ({ additionalComponents, additionalHooks, impor
|
|
|
1072
1059
|
readonly skipImportCheck: boolean;
|
|
1073
1060
|
readonly strict: boolean;
|
|
1074
1061
|
readonly version: string;
|
|
1075
|
-
readonly jsxPragma?: string | undefined;
|
|
1076
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
1077
1062
|
};
|
|
1078
1063
|
declare function getSettingsFromContext(context: RuleContext): ESLintReactSettingsNormalized;
|
|
1079
1064
|
/**
|
package/dist/index.js
CHANGED
|
@@ -112,19 +112,6 @@ var ESLintReactSettingsSchema = z.object({
|
|
|
112
112
|
* @example `"@pika/react"`
|
|
113
113
|
*/
|
|
114
114
|
importSource: z.optional(z.string()),
|
|
115
|
-
/**
|
|
116
|
-
* The identifier that's used for JSX Element creation.
|
|
117
|
-
* @default `"createElement"`
|
|
118
|
-
* @deprecated
|
|
119
|
-
*/
|
|
120
|
-
jsxPragma: z.optional(z.string()),
|
|
121
|
-
/**
|
|
122
|
-
* The identifier that's used for JSX fragment elements.
|
|
123
|
-
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
124
|
-
* @default `"Fragment"`
|
|
125
|
-
* @deprecated
|
|
126
|
-
*/
|
|
127
|
-
jsxPragmaFrag: z.optional(z.string()),
|
|
128
115
|
/**
|
|
129
116
|
* The name of the prop that is used for polymorphic components.
|
|
130
117
|
* @description This is used to determine the type of the component.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.17",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@typescript-eslint/utils": "^8.32.0",
|
|
31
31
|
"@zod/mini": "^4.0.0-beta.20250505T195954",
|
|
32
32
|
"ts-pattern": "^5.7.0",
|
|
33
|
-
"@eslint-react/eff": "2.0.0-beta.
|
|
34
|
-
"@eslint-react/kit": "2.0.0-beta.
|
|
33
|
+
"@eslint-react/eff": "2.0.0-beta.17",
|
|
34
|
+
"@eslint-react/kit": "2.0.0-beta.17"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@tsconfig/node22": "^22.0.1",
|