@eslint-react/shared 1.5.18-next.1 → 1.5.18-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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -64,6 +64,7 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
64
64
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
65
65
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
66
66
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
67
|
+
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
67
68
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
68
69
|
}, undefined>;
|
|
69
70
|
type ESLintReactSettings = ReadonlyDeep<InferOutput<typeof ESLintReactSettingsSchema>>;
|
|
@@ -94,6 +95,7 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
|
|
|
94
95
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
95
96
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
96
97
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
98
|
+
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
97
99
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
98
100
|
}, undefined>, never>;
|
|
99
101
|
}, undefined>;
|
package/dist/index.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
64
64
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
65
65
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
66
66
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
67
|
+
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
67
68
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
68
69
|
}, undefined>;
|
|
69
70
|
type ESLintReactSettings = ReadonlyDeep<InferOutput<typeof ESLintReactSettingsSchema>>;
|
|
@@ -94,6 +95,7 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
|
|
|
94
95
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
95
96
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
96
97
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
98
|
+
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
97
99
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
98
100
|
}, undefined>, never>;
|
|
99
101
|
}, undefined>;
|
package/dist/index.js
CHANGED
|
@@ -212,6 +212,7 @@ var ESLintReactSettingsSchema = valibot.object({
|
|
|
212
212
|
importSource: valibot.optional(valibot.string()),
|
|
213
213
|
jsxPragma: valibot.optional(valibot.string()),
|
|
214
214
|
jsxPragmaFrag: valibot.optional(valibot.string()),
|
|
215
|
+
strict: valibot.optional(valibot.boolean()),
|
|
215
216
|
version: valibot.optional(valibot.string())
|
|
216
217
|
});
|
|
217
218
|
var ESLintSettingsSchema = valibot.object({
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
|
-
import { object, optional, string, array } from 'valibot';
|
|
2
|
+
import { object, optional, string, array, boolean } from 'valibot';
|
|
3
3
|
|
|
4
4
|
// src/constants.ts
|
|
5
5
|
var NPM_SCOPE = "@eslint-react";
|
|
@@ -210,6 +210,7 @@ var ESLintReactSettingsSchema = object({
|
|
|
210
210
|
importSource: optional(string()),
|
|
211
211
|
jsxPragma: optional(string()),
|
|
212
212
|
jsxPragmaFrag: optional(string()),
|
|
213
|
+
strict: optional(boolean()),
|
|
213
214
|
version: optional(string())
|
|
214
215
|
});
|
|
215
216
|
var ESLintSettingsSchema = object({
|