@eslint-react/shared 1.5.31-next.1 → 1.5.31-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 +6 -4
- package/dist/index.d.ts +6 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
2
|
import * as valibot from 'valibot';
|
|
3
3
|
import { InferOutput } from 'valibot';
|
|
4
|
-
import { ReadonlyDeep } from 'type-fest';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* -----------------------------------------------------------------------------
|
|
@@ -324,9 +323,12 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
|
|
|
324
323
|
}, undefined>, never>;
|
|
325
324
|
}, undefined>, never>;
|
|
326
325
|
}, undefined>;
|
|
327
|
-
type
|
|
328
|
-
type
|
|
326
|
+
type CustomHook = InferOutput<typeof CustomHookSchema>;
|
|
327
|
+
type CustomAttribute = InferOutput<typeof CustomAttributeSchema>;
|
|
328
|
+
type CustomComponent = InferOutput<typeof CustomComponentSchema>;
|
|
329
|
+
type ESLintReactXSettings = InferOutput<typeof ESLintReactXSettingsSchema>;
|
|
330
|
+
type ESLintSettings = InferOutput<typeof ESLintSettingsSchema>;
|
|
329
331
|
|
|
330
332
|
declare function parseESLintSettings(data: unknown): ESLintSettings;
|
|
331
333
|
|
|
332
|
-
export { CustomAttributeSchema, CustomComponentSchema, CustomHookSchema, type ESLintReactXSettings, ESLintReactXSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, HOST_HTML_COMPONENT_TYPES, HOST_SVG_COMPONENT_TYPES, NPM_SCOPE, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, WEBSITE_URL, createRuleForPlugin, parseESLintSettings };
|
|
334
|
+
export { type CustomAttribute, CustomAttributeSchema, type CustomComponent, CustomComponentSchema, type CustomHook, CustomHookSchema, type ESLintReactXSettings, ESLintReactXSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, HOST_HTML_COMPONENT_TYPES, HOST_SVG_COMPONENT_TYPES, NPM_SCOPE, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, WEBSITE_URL, createRuleForPlugin, parseESLintSettings };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
2
|
import * as valibot from 'valibot';
|
|
3
3
|
import { InferOutput } from 'valibot';
|
|
4
|
-
import { ReadonlyDeep } from 'type-fest';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* -----------------------------------------------------------------------------
|
|
@@ -324,9 +323,12 @@ declare const ESLintSettingsSchema: valibot.ObjectSchema<{
|
|
|
324
323
|
}, undefined>, never>;
|
|
325
324
|
}, undefined>, never>;
|
|
326
325
|
}, undefined>;
|
|
327
|
-
type
|
|
328
|
-
type
|
|
326
|
+
type CustomHook = InferOutput<typeof CustomHookSchema>;
|
|
327
|
+
type CustomAttribute = InferOutput<typeof CustomAttributeSchema>;
|
|
328
|
+
type CustomComponent = InferOutput<typeof CustomComponentSchema>;
|
|
329
|
+
type ESLintReactXSettings = InferOutput<typeof ESLintReactXSettingsSchema>;
|
|
330
|
+
type ESLintSettings = InferOutput<typeof ESLintSettingsSchema>;
|
|
329
331
|
|
|
330
332
|
declare function parseESLintSettings(data: unknown): ESLintSettings;
|
|
331
333
|
|
|
332
|
-
export { CustomAttributeSchema, CustomComponentSchema, CustomHookSchema, type ESLintReactXSettings, ESLintReactXSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, HOST_HTML_COMPONENT_TYPES, HOST_SVG_COMPONENT_TYPES, NPM_SCOPE, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, WEBSITE_URL, createRuleForPlugin, parseESLintSettings };
|
|
334
|
+
export { type CustomAttribute, CustomAttributeSchema, type CustomComponent, CustomComponentSchema, type CustomHook, CustomHookSchema, type ESLintReactXSettings, ESLintReactXSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, HOST_HTML_COMPONENT_TYPES, HOST_SVG_COMPONENT_TYPES, NPM_SCOPE, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, WEBSITE_URL, createRuleForPlugin, parseESLintSettings };
|