@eslint-react/shared 1.52.9 → 1.52.10-beta.1
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 +175 -841
- package/dist/index.d.ts +175 -841
- package/dist/index.js +204 -236
- package/dist/index.mjs +182 -231
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,263 +1,230 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
value: mod,
|
|
20
|
+
enumerable: true
|
|
21
|
+
}) : target, mod));
|
|
8
22
|
|
|
9
|
-
|
|
10
|
-
|
|
23
|
+
//#endregion
|
|
24
|
+
const node_module = __toESM(require("node:module"));
|
|
25
|
+
const __eslint_react_eff = __toESM(require("@eslint-react/eff"));
|
|
26
|
+
const ts_pattern = __toESM(require("ts-pattern"));
|
|
27
|
+
const __eslint_react_kit = __toESM(require("@eslint-react/kit"));
|
|
28
|
+
const zod_v4 = __toESM(require("zod/v4"));
|
|
11
29
|
|
|
12
|
-
|
|
30
|
+
//#region src/constants.ts
|
|
31
|
+
/**
|
|
32
|
+
* The NPM scope for this project.
|
|
33
|
+
*/
|
|
34
|
+
const NPM_SCOPE = "@eslint-react";
|
|
35
|
+
/**
|
|
36
|
+
* The GitHub repository for this project.
|
|
37
|
+
*/
|
|
38
|
+
const GITHUB_URL = "https://github.com/Rel1cx/eslint-react";
|
|
39
|
+
/**
|
|
40
|
+
* The URL to the project's website.
|
|
41
|
+
*/
|
|
42
|
+
const WEBSITE_URL = "https://eslint-react.xyz";
|
|
13
43
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/get-config-adapters.ts
|
|
46
|
+
function getConfigAdapters(pluginName, plugin) {
|
|
47
|
+
function toFlatConfig(config) {
|
|
48
|
+
return {
|
|
49
|
+
...config,
|
|
50
|
+
plugins: { [pluginName]: plugin }
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function toLegacyConfig({ rules }) {
|
|
54
|
+
return {
|
|
55
|
+
plugins: [pluginName],
|
|
56
|
+
rules
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
toFlatConfig,
|
|
61
|
+
toLegacyConfig
|
|
62
|
+
};
|
|
63
|
+
}
|
|
18
64
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/get-doc-url.ts
|
|
67
|
+
/**
|
|
68
|
+
* Get the URL for the documentation of a rule in a plugin.
|
|
69
|
+
* @internal
|
|
70
|
+
* @param pluginName The name of the plugin.
|
|
71
|
+
* @returns The URL for the documentation of a rule.
|
|
72
|
+
*/
|
|
73
|
+
const getDocsUrl = (pluginName) => (ruleName) => {
|
|
74
|
+
if (pluginName === "x") return `${WEBSITE_URL}/docs/rules/${ruleName}`;
|
|
75
|
+
return `${WEBSITE_URL}/docs/rules/${pluginName}-${ruleName}`;
|
|
25
76
|
};
|
|
26
77
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/get-id.ts
|
|
80
|
+
let id = 0n;
|
|
81
|
+
const getId = () => (id++).toString();
|
|
82
|
+
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region src/get-react-version.ts
|
|
85
|
+
const _require = node_module.default.createRequire(require("url").pathToFileURL(__filename).href);
|
|
31
86
|
function getReactVersion(fallback) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
87
|
+
try {
|
|
88
|
+
return (0, ts_pattern.match)(_require("react")).with({ version: ts_pattern.P.select(ts_pattern.P.string) }, __eslint_react_eff.identity).otherwise(() => fallback);
|
|
89
|
+
} catch {
|
|
90
|
+
return fallback;
|
|
91
|
+
}
|
|
37
92
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* The name of the prop in the host component.
|
|
47
|
-
* @example
|
|
48
|
-
* "href"
|
|
49
|
-
*/
|
|
50
|
-
as: v4.z.optional(v4.z.string()),
|
|
51
|
-
/**
|
|
52
|
-
* Whether the prop is controlled or not in the user-defined component.
|
|
53
|
-
* @internal
|
|
54
|
-
* @example
|
|
55
|
-
* `true`
|
|
56
|
-
*/
|
|
57
|
-
controlled: v4.z.optional(v4.z.boolean()),
|
|
58
|
-
/**
|
|
59
|
-
* The default value of the prop in the user-defined component.
|
|
60
|
-
* @example
|
|
61
|
-
* `"/"`
|
|
62
|
-
*/
|
|
63
|
-
defaultValue: v4.z.optional(v4.z.string())
|
|
93
|
+
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region src/settings.ts
|
|
96
|
+
const CustomComponentPropSchema = zod_v4.z.object({
|
|
97
|
+
name: zod_v4.z.string(),
|
|
98
|
+
as: zod_v4.z.optional(zod_v4.z.string()),
|
|
99
|
+
controlled: zod_v4.z.optional(zod_v4.z.boolean()),
|
|
100
|
+
defaultValue: zod_v4.z.optional(zod_v4.z.string())
|
|
64
101
|
});
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
*/
|
|
77
|
-
as: v4.z.optional(v4.z.string()),
|
|
78
|
-
/**
|
|
79
|
-
* Attributes mapping between the user-defined component and the host component.
|
|
80
|
-
* @example
|
|
81
|
-
* `Link` component has a `to` attribute that represents the `href` attribute in the built-in `a` element with a default value of `"/"`.
|
|
82
|
-
*/
|
|
83
|
-
attributes: v4.z.optional(v4.z.array(CustomComponentPropSchema)),
|
|
84
|
-
/**
|
|
85
|
-
* The ESQuery selector to select the component precisely.
|
|
86
|
-
* @internal
|
|
87
|
-
* @example
|
|
88
|
-
* `JSXElement:has(JSXAttribute[name.name='component'][value.value='a'])`
|
|
89
|
-
*/
|
|
90
|
-
selector: v4.z.optional(v4.z.string())
|
|
102
|
+
/**
|
|
103
|
+
* @description
|
|
104
|
+
* This will provide some key information to the rule before checking for user-defined components.
|
|
105
|
+
* For example:
|
|
106
|
+
* Which prop is used as the `href` prop for the user-defined `Link` component that represents the built-in `a` element.
|
|
107
|
+
*/
|
|
108
|
+
const CustomComponentSchema = zod_v4.z.object({
|
|
109
|
+
name: zod_v4.z.string(),
|
|
110
|
+
as: zod_v4.z.optional(zod_v4.z.string()),
|
|
111
|
+
attributes: zod_v4.z.optional(zod_v4.z.array(CustomComponentPropSchema)),
|
|
112
|
+
selector: zod_v4.z.optional(zod_v4.z.string())
|
|
91
113
|
});
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
114
|
+
const CustomHooksSchema = zod_v4.z.object({
|
|
115
|
+
use: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
116
|
+
useActionState: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
117
|
+
useCallback: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
118
|
+
useContext: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
119
|
+
useDebugValue: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
120
|
+
useDeferredValue: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
121
|
+
useEffect: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
122
|
+
useFormStatus: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
123
|
+
useId: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
124
|
+
useImperativeHandle: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
125
|
+
useInsertionEffect: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
126
|
+
useLayoutEffect: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
127
|
+
useMemo: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
128
|
+
useOptimistic: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
129
|
+
useReducer: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
130
|
+
useRef: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
131
|
+
useState: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
132
|
+
useSyncExternalStore: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string())),
|
|
133
|
+
useTransition: zod_v4.z.optional(zod_v4.z.array(zod_v4.z.string()))
|
|
112
134
|
});
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
jsxPragma: v4.z.optional(v4.z.string()),
|
|
127
|
-
/**
|
|
128
|
-
* The identifier that's used for JSX fragment elements.
|
|
129
|
-
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
130
|
-
* @default `"Fragment"`
|
|
131
|
-
* @deprecated
|
|
132
|
-
*/
|
|
133
|
-
jsxPragmaFrag: v4.z.optional(v4.z.string()),
|
|
134
|
-
/**
|
|
135
|
-
* The name of the prop that is used for polymorphic components.
|
|
136
|
-
* @description This is used to determine the type of the component.
|
|
137
|
-
* @example `"as"`
|
|
138
|
-
*/
|
|
139
|
-
polymorphicPropName: v4.z.optional(v4.z.string()),
|
|
140
|
-
/**
|
|
141
|
-
* @default `true`
|
|
142
|
-
* @internal
|
|
143
|
-
*/
|
|
144
|
-
strict: v4.z.optional(v4.z.boolean()),
|
|
145
|
-
/**
|
|
146
|
-
* Check both the shape and the import to determine if an API is from React.
|
|
147
|
-
* @default `true`
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
skipImportCheck: v4.z.optional(v4.z.boolean()),
|
|
151
|
-
/**
|
|
152
|
-
* React version to use, "detect" means auto detect React version from the project's dependencies.
|
|
153
|
-
* If `importSource` is specified, an equivalent version of React should be provided here.
|
|
154
|
-
* @example `"18.3.1"`
|
|
155
|
-
* @default `"detect"`
|
|
156
|
-
*/
|
|
157
|
-
version: v4.z.optional(v4.z.string()),
|
|
158
|
-
/**
|
|
159
|
-
* A object to define additional hooks that are equivalent to the built-in React Hooks.
|
|
160
|
-
* @description ESLint React will recognize these aliases as equivalent to the built-in hooks in all its rules.
|
|
161
|
-
* @example `{ useEffect: ["useIsomorphicLayoutEffect"] }`
|
|
162
|
-
*/
|
|
163
|
-
additionalHooks: v4.z.optional(CustomHooksSchema),
|
|
164
|
-
/**
|
|
165
|
-
* An array of user-defined components
|
|
166
|
-
* @description This is used to inform the ESLint React plugins how to treat these components during checks.
|
|
167
|
-
* @example `[{ name: "Link", as: "a", attributes: [{ name: "to", as: "href" }, { name: "rel", defaultValue: "noopener noreferrer" }] }]`
|
|
168
|
-
*/
|
|
169
|
-
additionalComponents: v4.z.optional(v4.z.array(CustomComponentSchema))
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
const ESLintReactSettingsSchema = zod_v4.z.object({
|
|
139
|
+
importSource: zod_v4.z.optional(zod_v4.z.string()),
|
|
140
|
+
jsxPragma: zod_v4.z.optional(zod_v4.z.string()),
|
|
141
|
+
jsxPragmaFrag: zod_v4.z.optional(zod_v4.z.string()),
|
|
142
|
+
polymorphicPropName: zod_v4.z.optional(zod_v4.z.string()),
|
|
143
|
+
strict: zod_v4.z.optional(zod_v4.z.boolean()),
|
|
144
|
+
skipImportCheck: zod_v4.z.optional(zod_v4.z.boolean()),
|
|
145
|
+
version: zod_v4.z.optional(zod_v4.z.string()),
|
|
146
|
+
additionalHooks: zod_v4.z.optional(CustomHooksSchema),
|
|
147
|
+
additionalComponents: zod_v4.z.optional(zod_v4.z.array(CustomComponentSchema))
|
|
170
148
|
});
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
);
|
|
149
|
+
/**
|
|
150
|
+
* @internal
|
|
151
|
+
*/
|
|
152
|
+
const ESLintSettingsSchema = zod_v4.z.optional(zod_v4.z.object({ "react-x": zod_v4.z.optional(zod_v4.z.unknown()) }));
|
|
176
153
|
function isESLintSettings(settings) {
|
|
177
|
-
|
|
154
|
+
return ESLintSettingsSchema.safeParse(settings).success;
|
|
178
155
|
}
|
|
179
156
|
function isESLintReactSettings(settings) {
|
|
180
|
-
|
|
157
|
+
return ESLintReactSettingsSchema.safeParse(settings).success;
|
|
181
158
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
159
|
+
/**
|
|
160
|
+
* The default ESLint settings for "react-x".
|
|
161
|
+
*/
|
|
162
|
+
const DEFAULT_ESLINT_REACT_SETTINGS = {
|
|
163
|
+
version: "detect",
|
|
164
|
+
importSource: "react",
|
|
165
|
+
strict: true,
|
|
166
|
+
skipImportCheck: true,
|
|
167
|
+
polymorphicPropName: "as",
|
|
168
|
+
additionalComponents: [],
|
|
169
|
+
additionalHooks: {
|
|
170
|
+
useEffect: ["useIsomorphicLayoutEffect"],
|
|
171
|
+
useLayoutEffect: ["useIsomorphicLayoutEffect"]
|
|
172
|
+
}
|
|
196
173
|
};
|
|
197
|
-
|
|
198
|
-
|
|
174
|
+
const DEFAULT_ESLINT_SETTINGS = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
|
|
175
|
+
const coerceESLintSettings = (settings) => {
|
|
176
|
+
return settings;
|
|
199
177
|
};
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
}
|
|
204
|
-
return DEFAULT_ESLINT_SETTINGS;
|
|
178
|
+
const decodeESLintSettings = (settings) => {
|
|
179
|
+
if (isESLintSettings(settings)) return settings;
|
|
180
|
+
return DEFAULT_ESLINT_SETTINGS;
|
|
205
181
|
};
|
|
206
|
-
|
|
207
|
-
|
|
182
|
+
const coerceSettings = (settings) => {
|
|
183
|
+
return settings;
|
|
208
184
|
};
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
return DEFAULT_ESLINT_REACT_SETTINGS;
|
|
185
|
+
const decodeSettings = (settings) => {
|
|
186
|
+
if (isESLintReactSettings(settings)) return settings;
|
|
187
|
+
return DEFAULT_ESLINT_REACT_SETTINGS;
|
|
214
188
|
};
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
};
|
|
241
|
-
}),
|
|
242
|
-
additionalHooks,
|
|
243
|
-
importSource,
|
|
244
|
-
polymorphicPropName,
|
|
245
|
-
skipImportCheck,
|
|
246
|
-
strict,
|
|
247
|
-
version: tsPattern.match(version).with(tsPattern.P.union(tsPattern.P.nullish, "", "detect"), () => getReactVersion("19.1.0")).otherwise(eff.identity)
|
|
248
|
-
};
|
|
189
|
+
const normalizeSettings = ({ additionalComponents = [], additionalHooks = {}, importSource = "react", polymorphicPropName = "as", skipImportCheck = true, strict = true, version,...rest }) => {
|
|
190
|
+
return {
|
|
191
|
+
...rest,
|
|
192
|
+
components: additionalComponents.map((component) => {
|
|
193
|
+
const { name, as = name, attributes = [],...rest$1 } = component;
|
|
194
|
+
const re = __eslint_react_kit.RegExp.toRegExp(name);
|
|
195
|
+
return {
|
|
196
|
+
...rest$1,
|
|
197
|
+
name,
|
|
198
|
+
re,
|
|
199
|
+
as,
|
|
200
|
+
attributes: attributes.map(({ name: name$1, as: as$1 = name$1,...rest$2 }) => ({
|
|
201
|
+
...rest$2,
|
|
202
|
+
name: name$1,
|
|
203
|
+
as: as$1
|
|
204
|
+
}))
|
|
205
|
+
};
|
|
206
|
+
}),
|
|
207
|
+
additionalHooks,
|
|
208
|
+
importSource,
|
|
209
|
+
polymorphicPropName,
|
|
210
|
+
skipImportCheck,
|
|
211
|
+
strict,
|
|
212
|
+
version: (0, ts_pattern.match)(version).with(ts_pattern.P.union(ts_pattern.P.nullish, "", "detect"), () => getReactVersion("19.1.0")).otherwise(__eslint_react_eff.identity)
|
|
213
|
+
};
|
|
249
214
|
};
|
|
250
|
-
|
|
215
|
+
const cache = /* @__PURE__ */ new Map();
|
|
251
216
|
function getSettingsFromContext(context) {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
cache,
|
|
255
|
-
settings["react-x"],
|
|
256
|
-
() => normalizeSettings(decodeSettings(settings["react-x"]))
|
|
257
|
-
);
|
|
217
|
+
const settings = context.settings;
|
|
218
|
+
return (0, __eslint_react_eff.getOrElseUpdate)(cache, settings["react-x"], () => normalizeSettings(decodeSettings(settings["react-x"])));
|
|
258
219
|
}
|
|
259
|
-
|
|
220
|
+
/**
|
|
221
|
+
* A helper function to define settings for "react-x" with type checking in JavaScript files.
|
|
222
|
+
* @param settings The settings.
|
|
223
|
+
* @returns The settings.
|
|
224
|
+
*/
|
|
225
|
+
const defineSettings = __eslint_react_eff.identity;
|
|
260
226
|
|
|
227
|
+
//#endregion
|
|
261
228
|
exports.CustomComponentPropSchema = CustomComponentPropSchema;
|
|
262
229
|
exports.CustomComponentSchema = CustomComponentSchema;
|
|
263
230
|
exports.CustomHooksSchema = CustomHooksSchema;
|
|
@@ -273,10 +240,11 @@ exports.coerceSettings = coerceSettings;
|
|
|
273
240
|
exports.decodeESLintSettings = decodeESLintSettings;
|
|
274
241
|
exports.decodeSettings = decodeSettings;
|
|
275
242
|
exports.defineSettings = defineSettings;
|
|
243
|
+
exports.getConfigAdapters = getConfigAdapters;
|
|
276
244
|
exports.getDocsUrl = getDocsUrl;
|
|
277
245
|
exports.getId = getId;
|
|
278
246
|
exports.getReactVersion = getReactVersion;
|
|
279
247
|
exports.getSettingsFromContext = getSettingsFromContext;
|
|
280
248
|
exports.isESLintReactSettings = isESLintReactSettings;
|
|
281
249
|
exports.isESLintSettings = isESLintSettings;
|
|
282
|
-
exports.normalizeSettings = normalizeSettings;
|
|
250
|
+
exports.normalizeSettings = normalizeSettings;
|