@eslint-react/shared 5.13.1 → 5.14.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.ts +1 -10
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
import { RuleContext } from "@eslint-react/eslint";
|
|
3
|
-
|
|
4
3
|
//#region src/regexp.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Regular expressions for matching a HTML tag name
|
|
@@ -142,15 +141,7 @@ declare function isESLintSettings(settings: unknown): settings is ESLintSettings
|
|
|
142
141
|
declare function isESLintReactSettings(settings: unknown): settings is ESLintReactSettings;
|
|
143
142
|
declare const decodeESLintSettings: (settings: unknown) => ESLintSettings;
|
|
144
143
|
declare const decodeSettings: (settings: unknown) => ESLintReactSettings;
|
|
145
|
-
declare const normalizeSettings: ({
|
|
146
|
-
importSource,
|
|
147
|
-
compilationMode,
|
|
148
|
-
polymorphicPropName,
|
|
149
|
-
version,
|
|
150
|
-
additionalStateHooks,
|
|
151
|
-
additionalEffectHooks,
|
|
152
|
-
...rest
|
|
153
|
-
}: ESLintReactSettings) => {
|
|
144
|
+
declare const normalizeSettings: ({ importSource, compilationMode, polymorphicPropName, version, additionalStateHooks, additionalEffectHooks, ...rest }: ESLintReactSettings) => {
|
|
154
145
|
readonly importSource: string;
|
|
155
146
|
readonly compilationMode: "infer" | "annotation" | "syntax" | "all" | "off";
|
|
156
147
|
readonly polymorphicPropName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.14.0",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"@typescript-eslint/utils": "^8.63.0",
|
|
33
33
|
"ts-pattern": "^5.9.0",
|
|
34
34
|
"zod": "^3.25.0 || ^4.0.0",
|
|
35
|
-
"@eslint-react/eslint": "5.
|
|
35
|
+
"@eslint-react/eslint": "5.14.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@tsconfig/node24": "^24.0.4",
|
|
39
|
-
"@types/node": "^26.1.
|
|
39
|
+
"@types/node": "^26.1.1",
|
|
40
40
|
"@types/picomatch": "^4.0.3",
|
|
41
41
|
"eslint": "^10.6.0",
|
|
42
|
-
"tsdown": "^0.22.
|
|
42
|
+
"tsdown": "^0.22.4",
|
|
43
43
|
"typescript": "6.0.3",
|
|
44
|
-
"@local/
|
|
45
|
-
"@local/
|
|
44
|
+
"@local/eff": "0.0.0",
|
|
45
|
+
"@local/configs": "0.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"eslint": "*",
|