@eslint-react/shared 1.27.1-beta.5 → 1.27.1-beta.8
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 -9
- package/dist/index.d.ts +1 -9
- package/dist/index.js +0 -173
- package/dist/index.mjs +1 -172
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -34,14 +34,6 @@ declare const RE_SNAKE_CASE: RegExp;
|
|
|
34
34
|
*/
|
|
35
35
|
declare const RE_CONSTANT_CASE: RegExp;
|
|
36
36
|
declare const RE_JAVASCRIPT_PROTOCOL: RegExp;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
declare const DOM_HTML_COMPONENT_TYPES: readonly ["aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "menu", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "slot", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr"];
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
|
-
declare const DOM_SVG_COMPONENT_TYPES: readonly ["a", "animate", "animateMotion", "animateTransform", "circle", "clipPath", "defs", "desc", "discard", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "hatch", "hatchpath", "image", "line", "linearGradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "script", "set", "stop", "style", "svg", "switch", "symbol", "text", "textPath", "title", "tspan", "use", "view"];
|
|
45
37
|
declare const REACT_BUILD_IN_HOOKS: readonly ["use", "useActionState", "useCallback", "useContext", "useDebugValue", "useDeferredValue", "useEffect", "useFormStatus", "useId", "useImperativeHandle", "useInsertionEffect", "useLayoutEffect", "useMemo", "useOptimistic", "useReducer", "useRef", "useState", "useSyncExternalStore", "useTransition"];
|
|
46
38
|
|
|
47
39
|
/**
|
|
@@ -2354,4 +2346,4 @@ type RuleNamespace = "x" | "dom" | "web-api" | "hooks-extra" | "naming-conventio
|
|
|
2354
2346
|
*/
|
|
2355
2347
|
type RuleFeature = "CFG" | "CHK" | "DBG" | "FIX" | "MOD" | "TSC";
|
|
2356
2348
|
|
|
2357
|
-
export { type CustomComponent, type CustomComponentNormalized, type CustomComponentProp, type CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, type CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS,
|
|
2349
|
+
export { type CustomComponent, type CustomComponentNormalized, type CustomComponentProp, type CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, type CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS, type ESLintReactSettings, type ESLintReactSettingsNormalized, ESLintReactSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, NPM_SCOPE, REACT_BUILD_IN_HOOKS, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, type RuleContext, type RuleDeclaration, type RuleFeature, type RuleNamespace, type RuleOptions, type RulePreset, type RuleSeverity, WEBSITE_URL, createRuleForPlugin, decodeSettings, defineSettings, getId, getReactVersion, getSettingsFromContext, isInEditorEnv, isInGitHooksOrLintStaged, toNormalizedSettings, unsafeDecodeSettings };
|
package/dist/index.d.ts
CHANGED
|
@@ -34,14 +34,6 @@ declare const RE_SNAKE_CASE: RegExp;
|
|
|
34
34
|
*/
|
|
35
35
|
declare const RE_CONSTANT_CASE: RegExp;
|
|
36
36
|
declare const RE_JAVASCRIPT_PROTOCOL: RegExp;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
declare const DOM_HTML_COMPONENT_TYPES: readonly ["aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "menu", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "slot", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr"];
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
|
-
declare const DOM_SVG_COMPONENT_TYPES: readonly ["a", "animate", "animateMotion", "animateTransform", "circle", "clipPath", "defs", "desc", "discard", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "hatch", "hatchpath", "image", "line", "linearGradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "script", "set", "stop", "style", "svg", "switch", "symbol", "text", "textPath", "title", "tspan", "use", "view"];
|
|
45
37
|
declare const REACT_BUILD_IN_HOOKS: readonly ["use", "useActionState", "useCallback", "useContext", "useDebugValue", "useDeferredValue", "useEffect", "useFormStatus", "useId", "useImperativeHandle", "useInsertionEffect", "useLayoutEffect", "useMemo", "useOptimistic", "useReducer", "useRef", "useState", "useSyncExternalStore", "useTransition"];
|
|
46
38
|
|
|
47
39
|
/**
|
|
@@ -2354,4 +2346,4 @@ type RuleNamespace = "x" | "dom" | "web-api" | "hooks-extra" | "naming-conventio
|
|
|
2354
2346
|
*/
|
|
2355
2347
|
type RuleFeature = "CFG" | "CHK" | "DBG" | "FIX" | "MOD" | "TSC";
|
|
2356
2348
|
|
|
2357
|
-
export { type CustomComponent, type CustomComponentNormalized, type CustomComponentProp, type CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, type CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS,
|
|
2349
|
+
export { type CustomComponent, type CustomComponentNormalized, type CustomComponentProp, type CustomComponentPropNormalized, CustomComponentPropSchema, CustomComponentSchema, type CustomHooks, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS, type ESLintReactSettings, type ESLintReactSettingsNormalized, ESLintReactSettingsSchema, type ESLintSettings, ESLintSettingsSchema, GITHUB_URL, NPM_SCOPE, REACT_BUILD_IN_HOOKS, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, type RuleContext, type RuleDeclaration, type RuleFeature, type RuleNamespace, type RuleOptions, type RulePreset, type RuleSeverity, WEBSITE_URL, createRuleForPlugin, decodeSettings, defineSettings, getId, getReactVersion, getSettingsFromContext, isInEditorEnv, isInGitHooksOrLintStaged, toNormalizedSettings, unsafeDecodeSettings };
|
package/dist/index.js
CHANGED
|
@@ -22,177 +22,6 @@ var RE_KEBAB_CASE = /^[a-z][\d\-a-z]*$/u;
|
|
|
22
22
|
var RE_SNAKE_CASE = /^[a-z][\d_a-z]*$/u;
|
|
23
23
|
var RE_CONSTANT_CASE = /^[A-Z][\d_A-Z]*$/u;
|
|
24
24
|
var RE_JAVASCRIPT_PROTOCOL = /^[\u0000-\u001F ]*j[\t\n\r]*a[\t\n\r]*v[\t\n\r]*a[\t\n\r]*s[\t\n\r]*c[\t\n\r]*r[\t\n\r]*i[\t\n\r]*p[\t\n\r]*t[\t\n\r]*:/iu;
|
|
25
|
-
var DOM_HTML_COMPONENT_TYPES = [
|
|
26
|
-
"aside",
|
|
27
|
-
"audio",
|
|
28
|
-
"b",
|
|
29
|
-
"base",
|
|
30
|
-
"bdi",
|
|
31
|
-
"bdo",
|
|
32
|
-
"blockquote",
|
|
33
|
-
"body",
|
|
34
|
-
"br",
|
|
35
|
-
"button",
|
|
36
|
-
"canvas",
|
|
37
|
-
"caption",
|
|
38
|
-
"cite",
|
|
39
|
-
"code",
|
|
40
|
-
"col",
|
|
41
|
-
"colgroup",
|
|
42
|
-
"data",
|
|
43
|
-
"datalist",
|
|
44
|
-
"dd",
|
|
45
|
-
"del",
|
|
46
|
-
"details",
|
|
47
|
-
"dfn",
|
|
48
|
-
"dialog",
|
|
49
|
-
"div",
|
|
50
|
-
"dl",
|
|
51
|
-
"dt",
|
|
52
|
-
"em",
|
|
53
|
-
"embed",
|
|
54
|
-
"fieldset",
|
|
55
|
-
"figcaption",
|
|
56
|
-
"figure",
|
|
57
|
-
"footer",
|
|
58
|
-
"form",
|
|
59
|
-
"h1",
|
|
60
|
-
"head",
|
|
61
|
-
"header",
|
|
62
|
-
"hgroup",
|
|
63
|
-
"hr",
|
|
64
|
-
"html",
|
|
65
|
-
"i",
|
|
66
|
-
"iframe",
|
|
67
|
-
"img",
|
|
68
|
-
"input",
|
|
69
|
-
"ins",
|
|
70
|
-
"kbd",
|
|
71
|
-
"label",
|
|
72
|
-
"legend",
|
|
73
|
-
"li",
|
|
74
|
-
"link",
|
|
75
|
-
"main",
|
|
76
|
-
"map",
|
|
77
|
-
"mark",
|
|
78
|
-
"menu",
|
|
79
|
-
"meta",
|
|
80
|
-
"meter",
|
|
81
|
-
"nav",
|
|
82
|
-
"noscript",
|
|
83
|
-
"object",
|
|
84
|
-
"ol",
|
|
85
|
-
"optgroup",
|
|
86
|
-
"option",
|
|
87
|
-
"output",
|
|
88
|
-
"p",
|
|
89
|
-
"picture",
|
|
90
|
-
"pre",
|
|
91
|
-
"progress",
|
|
92
|
-
"q",
|
|
93
|
-
"rp",
|
|
94
|
-
"rt",
|
|
95
|
-
"ruby",
|
|
96
|
-
"s",
|
|
97
|
-
"samp",
|
|
98
|
-
"script",
|
|
99
|
-
"section",
|
|
100
|
-
"select",
|
|
101
|
-
"slot",
|
|
102
|
-
"small",
|
|
103
|
-
"source",
|
|
104
|
-
"span",
|
|
105
|
-
"strong",
|
|
106
|
-
"style",
|
|
107
|
-
"sub",
|
|
108
|
-
"summary",
|
|
109
|
-
"sup",
|
|
110
|
-
"table",
|
|
111
|
-
"tbody",
|
|
112
|
-
"td",
|
|
113
|
-
"template",
|
|
114
|
-
"textarea",
|
|
115
|
-
"tfoot",
|
|
116
|
-
"th",
|
|
117
|
-
"thead",
|
|
118
|
-
"time",
|
|
119
|
-
"title",
|
|
120
|
-
"tr",
|
|
121
|
-
"track",
|
|
122
|
-
"u",
|
|
123
|
-
"ul",
|
|
124
|
-
"var",
|
|
125
|
-
"video",
|
|
126
|
-
"wbr"
|
|
127
|
-
];
|
|
128
|
-
var DOM_SVG_COMPONENT_TYPES = [
|
|
129
|
-
"a",
|
|
130
|
-
"animate",
|
|
131
|
-
"animateMotion",
|
|
132
|
-
"animateTransform",
|
|
133
|
-
"circle",
|
|
134
|
-
"clipPath",
|
|
135
|
-
"defs",
|
|
136
|
-
"desc",
|
|
137
|
-
"discard",
|
|
138
|
-
"ellipse",
|
|
139
|
-
"feBlend",
|
|
140
|
-
"feColorMatrix",
|
|
141
|
-
"feComponentTransfer",
|
|
142
|
-
"feComposite",
|
|
143
|
-
"feConvolveMatrix",
|
|
144
|
-
"feDiffuseLighting",
|
|
145
|
-
"feDisplacementMap",
|
|
146
|
-
"feDistantLight",
|
|
147
|
-
"feDropShadow",
|
|
148
|
-
"feFlood",
|
|
149
|
-
"feFuncA",
|
|
150
|
-
"feFuncB",
|
|
151
|
-
"feFuncG",
|
|
152
|
-
"feFuncR",
|
|
153
|
-
"feGaussianBlur",
|
|
154
|
-
"feImage",
|
|
155
|
-
"feMerge",
|
|
156
|
-
"feMergeNode",
|
|
157
|
-
"feMorphology",
|
|
158
|
-
"feOffset",
|
|
159
|
-
"fePointLight",
|
|
160
|
-
"feSpecularLighting",
|
|
161
|
-
"feSpotLight",
|
|
162
|
-
"feTile",
|
|
163
|
-
"feTurbulence",
|
|
164
|
-
"filter",
|
|
165
|
-
"foreignObject",
|
|
166
|
-
"g",
|
|
167
|
-
"hatch",
|
|
168
|
-
"hatchpath",
|
|
169
|
-
"image",
|
|
170
|
-
"line",
|
|
171
|
-
"linearGradient",
|
|
172
|
-
"marker",
|
|
173
|
-
"mask",
|
|
174
|
-
"metadata",
|
|
175
|
-
"mpath",
|
|
176
|
-
"path",
|
|
177
|
-
"pattern",
|
|
178
|
-
"polygon",
|
|
179
|
-
"polyline",
|
|
180
|
-
"radialGradient",
|
|
181
|
-
"rect",
|
|
182
|
-
"script",
|
|
183
|
-
"set",
|
|
184
|
-
"stop",
|
|
185
|
-
"style",
|
|
186
|
-
"svg",
|
|
187
|
-
"switch",
|
|
188
|
-
"symbol",
|
|
189
|
-
"text",
|
|
190
|
-
"textPath",
|
|
191
|
-
"title",
|
|
192
|
-
"tspan",
|
|
193
|
-
"use",
|
|
194
|
-
"view"
|
|
195
|
-
];
|
|
196
25
|
var REACT_BUILD_IN_HOOKS = [
|
|
197
26
|
"use",
|
|
198
27
|
"useActionState",
|
|
@@ -1484,8 +1313,6 @@ exports.CustomComponentPropSchema = CustomComponentPropSchema;
|
|
|
1484
1313
|
exports.CustomComponentSchema = CustomComponentSchema;
|
|
1485
1314
|
exports.CustomHooksSchema = CustomHooksSchema;
|
|
1486
1315
|
exports.DEFAULT_ESLINT_REACT_SETTINGS = DEFAULT_ESLINT_REACT_SETTINGS;
|
|
1487
|
-
exports.DOM_HTML_COMPONENT_TYPES = DOM_HTML_COMPONENT_TYPES;
|
|
1488
|
-
exports.DOM_SVG_COMPONENT_TYPES = DOM_SVG_COMPONENT_TYPES;
|
|
1489
1316
|
exports.ESLintReactSettingsSchema = ESLintReactSettingsSchema;
|
|
1490
1317
|
exports.ESLintSettingsSchema = ESLintSettingsSchema;
|
|
1491
1318
|
exports.GITHUB_URL = GITHUB_URL;
|
package/dist/index.mjs
CHANGED
|
@@ -14,177 +14,6 @@ var RE_KEBAB_CASE = /^[a-z][\d\-a-z]*$/u;
|
|
|
14
14
|
var RE_SNAKE_CASE = /^[a-z][\d_a-z]*$/u;
|
|
15
15
|
var RE_CONSTANT_CASE = /^[A-Z][\d_A-Z]*$/u;
|
|
16
16
|
var RE_JAVASCRIPT_PROTOCOL = /^[\u0000-\u001F ]*j[\t\n\r]*a[\t\n\r]*v[\t\n\r]*a[\t\n\r]*s[\t\n\r]*c[\t\n\r]*r[\t\n\r]*i[\t\n\r]*p[\t\n\r]*t[\t\n\r]*:/iu;
|
|
17
|
-
var DOM_HTML_COMPONENT_TYPES = [
|
|
18
|
-
"aside",
|
|
19
|
-
"audio",
|
|
20
|
-
"b",
|
|
21
|
-
"base",
|
|
22
|
-
"bdi",
|
|
23
|
-
"bdo",
|
|
24
|
-
"blockquote",
|
|
25
|
-
"body",
|
|
26
|
-
"br",
|
|
27
|
-
"button",
|
|
28
|
-
"canvas",
|
|
29
|
-
"caption",
|
|
30
|
-
"cite",
|
|
31
|
-
"code",
|
|
32
|
-
"col",
|
|
33
|
-
"colgroup",
|
|
34
|
-
"data",
|
|
35
|
-
"datalist",
|
|
36
|
-
"dd",
|
|
37
|
-
"del",
|
|
38
|
-
"details",
|
|
39
|
-
"dfn",
|
|
40
|
-
"dialog",
|
|
41
|
-
"div",
|
|
42
|
-
"dl",
|
|
43
|
-
"dt",
|
|
44
|
-
"em",
|
|
45
|
-
"embed",
|
|
46
|
-
"fieldset",
|
|
47
|
-
"figcaption",
|
|
48
|
-
"figure",
|
|
49
|
-
"footer",
|
|
50
|
-
"form",
|
|
51
|
-
"h1",
|
|
52
|
-
"head",
|
|
53
|
-
"header",
|
|
54
|
-
"hgroup",
|
|
55
|
-
"hr",
|
|
56
|
-
"html",
|
|
57
|
-
"i",
|
|
58
|
-
"iframe",
|
|
59
|
-
"img",
|
|
60
|
-
"input",
|
|
61
|
-
"ins",
|
|
62
|
-
"kbd",
|
|
63
|
-
"label",
|
|
64
|
-
"legend",
|
|
65
|
-
"li",
|
|
66
|
-
"link",
|
|
67
|
-
"main",
|
|
68
|
-
"map",
|
|
69
|
-
"mark",
|
|
70
|
-
"menu",
|
|
71
|
-
"meta",
|
|
72
|
-
"meter",
|
|
73
|
-
"nav",
|
|
74
|
-
"noscript",
|
|
75
|
-
"object",
|
|
76
|
-
"ol",
|
|
77
|
-
"optgroup",
|
|
78
|
-
"option",
|
|
79
|
-
"output",
|
|
80
|
-
"p",
|
|
81
|
-
"picture",
|
|
82
|
-
"pre",
|
|
83
|
-
"progress",
|
|
84
|
-
"q",
|
|
85
|
-
"rp",
|
|
86
|
-
"rt",
|
|
87
|
-
"ruby",
|
|
88
|
-
"s",
|
|
89
|
-
"samp",
|
|
90
|
-
"script",
|
|
91
|
-
"section",
|
|
92
|
-
"select",
|
|
93
|
-
"slot",
|
|
94
|
-
"small",
|
|
95
|
-
"source",
|
|
96
|
-
"span",
|
|
97
|
-
"strong",
|
|
98
|
-
"style",
|
|
99
|
-
"sub",
|
|
100
|
-
"summary",
|
|
101
|
-
"sup",
|
|
102
|
-
"table",
|
|
103
|
-
"tbody",
|
|
104
|
-
"td",
|
|
105
|
-
"template",
|
|
106
|
-
"textarea",
|
|
107
|
-
"tfoot",
|
|
108
|
-
"th",
|
|
109
|
-
"thead",
|
|
110
|
-
"time",
|
|
111
|
-
"title",
|
|
112
|
-
"tr",
|
|
113
|
-
"track",
|
|
114
|
-
"u",
|
|
115
|
-
"ul",
|
|
116
|
-
"var",
|
|
117
|
-
"video",
|
|
118
|
-
"wbr"
|
|
119
|
-
];
|
|
120
|
-
var DOM_SVG_COMPONENT_TYPES = [
|
|
121
|
-
"a",
|
|
122
|
-
"animate",
|
|
123
|
-
"animateMotion",
|
|
124
|
-
"animateTransform",
|
|
125
|
-
"circle",
|
|
126
|
-
"clipPath",
|
|
127
|
-
"defs",
|
|
128
|
-
"desc",
|
|
129
|
-
"discard",
|
|
130
|
-
"ellipse",
|
|
131
|
-
"feBlend",
|
|
132
|
-
"feColorMatrix",
|
|
133
|
-
"feComponentTransfer",
|
|
134
|
-
"feComposite",
|
|
135
|
-
"feConvolveMatrix",
|
|
136
|
-
"feDiffuseLighting",
|
|
137
|
-
"feDisplacementMap",
|
|
138
|
-
"feDistantLight",
|
|
139
|
-
"feDropShadow",
|
|
140
|
-
"feFlood",
|
|
141
|
-
"feFuncA",
|
|
142
|
-
"feFuncB",
|
|
143
|
-
"feFuncG",
|
|
144
|
-
"feFuncR",
|
|
145
|
-
"feGaussianBlur",
|
|
146
|
-
"feImage",
|
|
147
|
-
"feMerge",
|
|
148
|
-
"feMergeNode",
|
|
149
|
-
"feMorphology",
|
|
150
|
-
"feOffset",
|
|
151
|
-
"fePointLight",
|
|
152
|
-
"feSpecularLighting",
|
|
153
|
-
"feSpotLight",
|
|
154
|
-
"feTile",
|
|
155
|
-
"feTurbulence",
|
|
156
|
-
"filter",
|
|
157
|
-
"foreignObject",
|
|
158
|
-
"g",
|
|
159
|
-
"hatch",
|
|
160
|
-
"hatchpath",
|
|
161
|
-
"image",
|
|
162
|
-
"line",
|
|
163
|
-
"linearGradient",
|
|
164
|
-
"marker",
|
|
165
|
-
"mask",
|
|
166
|
-
"metadata",
|
|
167
|
-
"mpath",
|
|
168
|
-
"path",
|
|
169
|
-
"pattern",
|
|
170
|
-
"polygon",
|
|
171
|
-
"polyline",
|
|
172
|
-
"radialGradient",
|
|
173
|
-
"rect",
|
|
174
|
-
"script",
|
|
175
|
-
"set",
|
|
176
|
-
"stop",
|
|
177
|
-
"style",
|
|
178
|
-
"svg",
|
|
179
|
-
"switch",
|
|
180
|
-
"symbol",
|
|
181
|
-
"text",
|
|
182
|
-
"textPath",
|
|
183
|
-
"title",
|
|
184
|
-
"tspan",
|
|
185
|
-
"use",
|
|
186
|
-
"view"
|
|
187
|
-
];
|
|
188
17
|
var REACT_BUILD_IN_HOOKS = [
|
|
189
18
|
"use",
|
|
190
19
|
"useActionState",
|
|
@@ -1472,4 +1301,4 @@ function getSettingsFromContext(context) {
|
|
|
1472
1301
|
}
|
|
1473
1302
|
var defineSettings = identity;
|
|
1474
1303
|
|
|
1475
|
-
export { CustomComponentPropSchema, CustomComponentSchema, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS,
|
|
1304
|
+
export { CustomComponentPropSchema, CustomComponentSchema, CustomHooksSchema, DEFAULT_ESLINT_REACT_SETTINGS, ESLintReactSettingsSchema, ESLintSettingsSchema, GITHUB_URL, NPM_SCOPE, REACT_BUILD_IN_HOOKS, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, WEBSITE_URL, createRuleForPlugin, decodeSettings, defineSettings, getId, getReactVersion, getSettingsFromContext, isInEditorEnv, isInGitHooksOrLintStaged, toNormalizedSettings, unsafeDecodeSettings };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.27.1-beta.
|
|
3
|
+
"version": "1.27.1-beta.8",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"./package.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/utils": "^8.
|
|
38
|
+
"@typescript-eslint/utils": "^8.25.0",
|
|
39
39
|
"picomatch": "^4.0.2",
|
|
40
40
|
"ts-pattern": "^5.6.2",
|
|
41
|
-
"@eslint-react/eff": "1.27.1-beta.
|
|
41
|
+
"@eslint-react/eff": "1.27.1-beta.8"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/picomatch": "^3.0.2",
|