@eslint-react/shared 1.7.1 → 1.8.0-next.0
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -65,7 +65,7 @@ declare const HOST_SVG_COMPONENT_TYPES: readonly ["a", "animate", "animateMotion
|
|
|
65
65
|
* @param pluginName The name of the plugin.
|
|
66
66
|
* @returns The ESLint rule creator.
|
|
67
67
|
*/
|
|
68
|
-
declare const createRuleForPlugin: (pluginName: string) => <Options extends readonly unknown[], MessageIds extends string>({ name, meta, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds>>) => ESLintUtils.RuleModule<MessageIds, Options>;
|
|
68
|
+
declare const createRuleForPlugin: (pluginName: string) => <Options extends readonly unknown[], MessageIds extends string>({ name, meta, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds, unknown>>) => ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener>;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* @internal
|
package/dist/index.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ declare const HOST_SVG_COMPONENT_TYPES: readonly ["a", "animate", "animateMotion
|
|
|
65
65
|
* @param pluginName The name of the plugin.
|
|
66
66
|
* @returns The ESLint rule creator.
|
|
67
67
|
*/
|
|
68
|
-
declare const createRuleForPlugin: (pluginName: string) => <Options extends readonly unknown[], MessageIds extends string>({ name, meta, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds>>) => ESLintUtils.RuleModule<MessageIds, Options>;
|
|
68
|
+
declare const createRuleForPlugin: (pluginName: string) => <Options extends readonly unknown[], MessageIds extends string>({ name, meta, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds, unknown>>) => ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener>;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* @internal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0-next.0",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"./package.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/utils": "^
|
|
38
|
+
"@typescript-eslint/utils": "^8.0.0",
|
|
39
39
|
"picomatch": "^4.0.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|