@eslint-react/shared 1.5.28-beta.1 → 1.5.28-beta.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
@@ -44,6 +44,7 @@ declare const createRuleForPlugin: (pluginName: string) => <Options extends read
44
44
  declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
45
45
  readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
46
46
  readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
47
+ readonly useActionState: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
47
48
  readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
48
49
  readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
49
50
  readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
@@ -75,6 +76,7 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
75
76
  readonly "react-x": valibot.OptionalSchema<valibot.ObjectSchema<{
76
77
  readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
77
78
  readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
79
+ readonly useActionState: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
78
80
  readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
79
81
  readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
80
82
  readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
@@ -104,6 +106,7 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
104
106
  readonly reactOptions: valibot.OptionalSchema<valibot.ObjectSchema<{
105
107
  readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
106
108
  readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
109
+ readonly useActionState: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
107
110
  readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
108
111
  readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
109
112
  readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
package/dist/index.d.ts CHANGED
@@ -44,6 +44,7 @@ declare const createRuleForPlugin: (pluginName: string) => <Options extends read
44
44
  declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
45
45
  readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
46
46
  readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
47
+ readonly useActionState: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
47
48
  readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
48
49
  readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
49
50
  readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
@@ -75,6 +76,7 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
75
76
  readonly "react-x": valibot.OptionalSchema<valibot.ObjectSchema<{
76
77
  readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
77
78
  readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
79
+ readonly useActionState: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
78
80
  readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
79
81
  readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
80
82
  readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
@@ -104,6 +106,7 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
104
106
  readonly reactOptions: valibot.OptionalSchema<valibot.ObjectSchema<{
105
107
  readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
106
108
  readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
109
+ readonly useActionState: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
107
110
  readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
108
111
  readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
109
112
  readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
package/dist/index.js CHANGED
@@ -475,6 +475,7 @@ function parse(schema, input, config2) {
475
475
  var ESLintReactSettingsSchema = object({
476
476
  additionalHooks: optional(object({
477
477
  use: optional(string()),
478
+ useActionState: optional(string()),
478
479
  useCallback: optional(array(string())),
479
480
  useContext: optional(array(string())),
480
481
  useDebugValue: optional(array(string())),
package/dist/index.mjs CHANGED
@@ -473,6 +473,7 @@ function parse(schema, input, config2) {
473
473
  var ESLintReactSettingsSchema = object({
474
474
  additionalHooks: optional(object({
475
475
  use: optional(string()),
476
+ useActionState: optional(string()),
476
477
  useCallback: optional(array(string())),
477
478
  useContext: optional(array(string())),
478
479
  useDebugValue: optional(array(string())),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "1.5.28-beta.1",
3
+ "version": "1.5.28-beta.2",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/rel1cx/eslint-react",
6
6
  "bugs": {
@@ -38,8 +38,8 @@
38
38
  "@typescript-eslint/utils": "^7.16.1"
39
39
  },
40
40
  "devDependencies": {
41
- "tsup": "8.1.1",
42
- "type-fest": "4.22.0",
41
+ "tsup": "8.2.0",
42
+ "type-fest": "4.22.1",
43
43
  "valibot": "0.36.0"
44
44
  },
45
45
  "scripts": {