@storm-software/eslint 0.170.102 → 0.170.104
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/README.md +1 -1
- package/dist/preset.cjs +525 -471
- package/dist/preset.js +523 -469
- package/package.json +14 -13
package/dist/preset.cjs
CHANGED
|
@@ -1363,10 +1363,10 @@ var require_eslint_plugin_react_native = __commonJS({
|
|
|
1363
1363
|
"no-raw-text": require_no_raw_text(),
|
|
1364
1364
|
"no-single-element-style-arrays": require_no_single_element_style_arrays()
|
|
1365
1365
|
};
|
|
1366
|
-
function configureAsError(
|
|
1366
|
+
function configureAsError(rules6) {
|
|
1367
1367
|
const result = {};
|
|
1368
|
-
for (const key in
|
|
1369
|
-
if (!
|
|
1368
|
+
for (const key in rules6) {
|
|
1369
|
+
if (!rules6.hasOwnProperty(key)) {
|
|
1370
1370
|
continue;
|
|
1371
1371
|
}
|
|
1372
1372
|
result["react-native/" + key] = 2;
|
|
@@ -1769,7 +1769,7 @@ var require_lib = __commonJS({
|
|
|
1769
1769
|
defaultTSDocConfiguration.allTsdocMessageIds.forEach((messageId) => {
|
|
1770
1770
|
tsdocMessageIds[messageId] = `${messageId}: {{unformattedText}}`;
|
|
1771
1771
|
});
|
|
1772
|
-
var
|
|
1772
|
+
var plugin8 = {
|
|
1773
1773
|
rules: {
|
|
1774
1774
|
// NOTE: The actual ESLint rule name will be "tsdoc/syntax". It is calculated by deleting "eslint-plugin-"
|
|
1775
1775
|
// from the NPM package name, and then appending this string.
|
|
@@ -1831,9 +1831,9 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`,
|
|
|
1831
1831
|
if (!tsConfigDir && context.parserOptions && context.parserOptions.tsconfigRootDir) {
|
|
1832
1832
|
tsConfigDir = context.parserOptions.tsconfigRootDir;
|
|
1833
1833
|
}
|
|
1834
|
-
const
|
|
1835
|
-
Debug_1.Debug.log(`Using eslint-plugin-tsdoc config: ${JSON.stringify(
|
|
1836
|
-
tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(
|
|
1834
|
+
const config6 = { type: userOptions.type || "recommended", configFile: userOptions.configFile };
|
|
1835
|
+
Debug_1.Debug.log(`Using eslint-plugin-tsdoc config: ${JSON.stringify(config6, void 0, 2)}`);
|
|
1836
|
+
tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(config6);
|
|
1837
1837
|
if (!tsdocConfigFile.fileNotFound) {
|
|
1838
1838
|
if (tsdocConfigFile.hasErrors) {
|
|
1839
1839
|
context.report({
|
|
@@ -1938,7 +1938,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`,
|
|
|
1938
1938
|
}
|
|
1939
1939
|
}
|
|
1940
1940
|
};
|
|
1941
|
-
module.exports =
|
|
1941
|
+
module.exports = plugin8;
|
|
1942
1942
|
}
|
|
1943
1943
|
});
|
|
1944
1944
|
|
|
@@ -2169,9 +2169,9 @@ async function ensurePackages(packages) {
|
|
|
2169
2169
|
(i) => i.installPackage(nonExistingPackages, { dev: true })
|
|
2170
2170
|
);
|
|
2171
2171
|
}
|
|
2172
|
-
function renameRules(
|
|
2172
|
+
function renameRules(rules6, map) {
|
|
2173
2173
|
return Object.fromEntries(
|
|
2174
|
-
Object.entries(
|
|
2174
|
+
Object.entries(rules6).map(([key, value]) => {
|
|
2175
2175
|
for (const [from, to] of Object.entries(map)) {
|
|
2176
2176
|
if (key.startsWith(`${from}/`))
|
|
2177
2177
|
return [to + key.slice(from.length), value];
|
|
@@ -2409,14 +2409,14 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
2409
2409
|
};
|
|
2410
2410
|
|
|
2411
2411
|
// ../config-tools/src/logger/console.ts
|
|
2412
|
-
var getLogFn = (logLevel = LogLevel.INFO,
|
|
2412
|
+
var getLogFn = (logLevel = LogLevel.INFO, config6 = {}, options = {}) => {
|
|
2413
2413
|
const {
|
|
2414
2414
|
chalk: _chalk = getChalk(),
|
|
2415
2415
|
fullDateTime = false,
|
|
2416
2416
|
hideDateTime = false
|
|
2417
2417
|
} = options;
|
|
2418
|
-
const colors = !
|
|
2419
|
-
const configLogLevel =
|
|
2418
|
+
const colors = !config6.colors?.dark && !config6.colors?.["base"] && !config6.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config6.colors?.dark && typeof config6.colors.dark === "string" ? config6.colors : config6.colors?.["base"]?.dark && typeof config6.colors["base"].dark === "string" ? config6.colors["base"].dark : config6.colors?.["base"] ? config6.colors?.["base"] : DEFAULT_COLOR_CONFIG;
|
|
2419
|
+
const configLogLevel = config6.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
2420
2420
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
2421
2421
|
return (_) => {
|
|
2422
2422
|
};
|
|
@@ -2519,8 +2519,8 @@ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.
|
|
|
2519
2519
|
);
|
|
2520
2520
|
};
|
|
2521
2521
|
};
|
|
2522
|
-
var writeWarning = (message2,
|
|
2523
|
-
var writeTrace = (message2,
|
|
2522
|
+
var writeWarning = (message2, config6) => getLogFn(LogLevel.WARN, config6)(message2);
|
|
2523
|
+
var writeTrace = (message2, config6) => getLogFn(LogLevel.TRACE, config6)(message2);
|
|
2524
2524
|
var MAX_DEPTH = 10;
|
|
2525
2525
|
var formatLogMessage = (message2, options = {}, depth3 = 0) => {
|
|
2526
2526
|
if (depth3 > MAX_DEPTH) {
|
|
@@ -3025,8 +3025,8 @@ function prefixIssues(path23, issues) {
|
|
|
3025
3025
|
function unwrapMessage(message2) {
|
|
3026
3026
|
return typeof message2 === "string" ? message2 : message2?.message;
|
|
3027
3027
|
}
|
|
3028
|
-
function finalizeIssue(iss, ctx,
|
|
3029
|
-
const message2 = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(
|
|
3028
|
+
function finalizeIssue(iss, ctx, config6) {
|
|
3029
|
+
const message2 = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config6.customError?.(iss)) ?? unwrapMessage(config6.localeError?.(iss)) ?? "Invalid input";
|
|
3030
3030
|
const { inst: _inst, continue: _continue, input: _input, ...rest } = iss;
|
|
3031
3031
|
rest.path ?? (rest.path = []);
|
|
3032
3032
|
rest.message = message2;
|
|
@@ -4896,40 +4896,40 @@ async function getPackageJsonConfig(root) {
|
|
|
4896
4896
|
support
|
|
4897
4897
|
};
|
|
4898
4898
|
}
|
|
4899
|
-
function applyDefaultConfig(
|
|
4900
|
-
if (!
|
|
4901
|
-
|
|
4899
|
+
function applyDefaultConfig(config6) {
|
|
4900
|
+
if (!config6.support && config6.contact) {
|
|
4901
|
+
config6.support = config6.contact;
|
|
4902
4902
|
}
|
|
4903
|
-
if (!
|
|
4904
|
-
|
|
4903
|
+
if (!config6.contact && config6.support) {
|
|
4904
|
+
config6.contact = config6.support;
|
|
4905
4905
|
}
|
|
4906
|
-
if (
|
|
4907
|
-
if (!
|
|
4908
|
-
|
|
4906
|
+
if (config6.homepage) {
|
|
4907
|
+
if (!config6.docs) {
|
|
4908
|
+
config6.docs = `${config6.homepage}/docs`;
|
|
4909
4909
|
}
|
|
4910
|
-
if (!
|
|
4911
|
-
|
|
4910
|
+
if (!config6.license) {
|
|
4911
|
+
config6.license = `${config6.homepage}/license`;
|
|
4912
4912
|
}
|
|
4913
|
-
if (!
|
|
4914
|
-
|
|
4913
|
+
if (!config6.support) {
|
|
4914
|
+
config6.support = `${config6.homepage}/support`;
|
|
4915
4915
|
}
|
|
4916
|
-
if (!
|
|
4917
|
-
|
|
4916
|
+
if (!config6.contact) {
|
|
4917
|
+
config6.contact = `${config6.homepage}/contact`;
|
|
4918
4918
|
}
|
|
4919
|
-
if (!
|
|
4920
|
-
|
|
4921
|
-
if (
|
|
4922
|
-
|
|
4919
|
+
if (!config6.error?.codesFile || !config6?.error?.url) {
|
|
4920
|
+
config6.error ??= { codesFile: STORM_DEFAULT_ERROR_CODES_FILE };
|
|
4921
|
+
if (config6.homepage) {
|
|
4922
|
+
config6.error.url ??= `${config6.homepage}/errors`;
|
|
4923
4923
|
}
|
|
4924
4924
|
}
|
|
4925
4925
|
}
|
|
4926
|
-
return
|
|
4926
|
+
return config6;
|
|
4927
4927
|
}
|
|
4928
4928
|
|
|
4929
4929
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
4930
4930
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
4931
4931
|
const workspacePath = filePath || findWorkspaceRoot(filePath);
|
|
4932
|
-
const
|
|
4932
|
+
const configs7 = await Promise.all([
|
|
4933
4933
|
c12.loadConfig({
|
|
4934
4934
|
cwd: workspacePath,
|
|
4935
4935
|
packageJson: true,
|
|
@@ -4960,14 +4960,14 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
4960
4960
|
...options
|
|
4961
4961
|
})
|
|
4962
4962
|
]);
|
|
4963
|
-
return defu__default.default(
|
|
4963
|
+
return defu__default.default(configs7[0] ?? {}, configs7[1] ?? {});
|
|
4964
4964
|
};
|
|
4965
4965
|
var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
4966
4966
|
const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
|
|
4967
4967
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
4968
|
-
let
|
|
4968
|
+
let config6 = result.config;
|
|
4969
4969
|
const configFile = result.configFile;
|
|
4970
|
-
if (
|
|
4970
|
+
if (config6 && configFile && Object.keys(config6).length > 0 && !config6.skipConfigLogging) {
|
|
4971
4971
|
writeTrace(
|
|
4972
4972
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
4973
4973
|
{
|
|
@@ -4983,7 +4983,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
4983
4983
|
);
|
|
4984
4984
|
for (const result2 of results) {
|
|
4985
4985
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
4986
|
-
if (!
|
|
4986
|
+
if (!config6.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
4987
4987
|
writeTrace(
|
|
4988
4988
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
4989
4989
|
{
|
|
@@ -4991,15 +4991,15 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
4991
4991
|
}
|
|
4992
4992
|
);
|
|
4993
4993
|
}
|
|
4994
|
-
|
|
4994
|
+
config6 = defu__default.default(result2.config ?? {}, config6 ?? {});
|
|
4995
4995
|
}
|
|
4996
4996
|
}
|
|
4997
4997
|
}
|
|
4998
|
-
if (!
|
|
4998
|
+
if (!config6 || Object.keys(config6).length === 0) {
|
|
4999
4999
|
return void 0;
|
|
5000
5000
|
}
|
|
5001
|
-
|
|
5002
|
-
return
|
|
5001
|
+
config6.configFile = configFile;
|
|
5002
|
+
return config6;
|
|
5003
5003
|
};
|
|
5004
5004
|
|
|
5005
5005
|
// ../config-tools/src/create-storm-config.ts
|
|
@@ -5009,7 +5009,7 @@ init_cjs_shims();
|
|
|
5009
5009
|
init_cjs_shims();
|
|
5010
5010
|
var getConfigEnv = () => {
|
|
5011
5011
|
const prefix = "STORM_";
|
|
5012
|
-
let
|
|
5012
|
+
let config6 = {
|
|
5013
5013
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
5014
5014
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
5015
5015
|
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
@@ -5098,38 +5098,38 @@ var getConfigEnv = () => {
|
|
|
5098
5098
|
(colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
|
|
5099
5099
|
)
|
|
5100
5100
|
);
|
|
5101
|
-
|
|
5101
|
+
config6.colors = themeNames.length > 0 ? themeNames.reduce(
|
|
5102
5102
|
(ret, themeName) => {
|
|
5103
5103
|
ret[themeName] = getThemeColorsEnv(prefix, themeName);
|
|
5104
5104
|
return ret;
|
|
5105
5105
|
},
|
|
5106
5106
|
{}
|
|
5107
5107
|
) : getThemeColorsEnv(prefix);
|
|
5108
|
-
if (
|
|
5109
|
-
if (
|
|
5110
|
-
|
|
5108
|
+
if (config6.docs === STORM_DEFAULT_DOCS) {
|
|
5109
|
+
if (config6.homepage === STORM_DEFAULT_HOMEPAGE) {
|
|
5110
|
+
config6.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config6.name}/docs`;
|
|
5111
5111
|
} else {
|
|
5112
|
-
|
|
5112
|
+
config6.docs = `${config6.homepage}/docs`;
|
|
5113
5113
|
}
|
|
5114
5114
|
}
|
|
5115
|
-
if (
|
|
5116
|
-
if (
|
|
5117
|
-
|
|
5115
|
+
if (config6.licensing === STORM_DEFAULT_LICENSING) {
|
|
5116
|
+
if (config6.homepage === STORM_DEFAULT_HOMEPAGE) {
|
|
5117
|
+
config6.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config6.name}/licensing`;
|
|
5118
5118
|
} else {
|
|
5119
|
-
|
|
5119
|
+
config6.licensing = `${config6.homepage}/docs`;
|
|
5120
5120
|
}
|
|
5121
5121
|
}
|
|
5122
5122
|
const serializedConfig = process.env[`${prefix}WORKSPACE_CONFIG`];
|
|
5123
5123
|
if (serializedConfig) {
|
|
5124
5124
|
const parsed = JSON.parse(serializedConfig);
|
|
5125
|
-
|
|
5126
|
-
...
|
|
5125
|
+
config6 = {
|
|
5126
|
+
...config6,
|
|
5127
5127
|
...parsed,
|
|
5128
|
-
colors: { ...
|
|
5129
|
-
extensions: { ...
|
|
5128
|
+
colors: { ...config6.colors, ...parsed.colors },
|
|
5129
|
+
extensions: { ...config6.extensions, ...parsed.extensions }
|
|
5130
5130
|
};
|
|
5131
5131
|
}
|
|
5132
|
-
return
|
|
5132
|
+
return config6;
|
|
5133
5133
|
};
|
|
5134
5134
|
var getThemeColorsEnv = (prefix, theme) => {
|
|
5135
5135
|
const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
|
|
@@ -5234,360 +5234,360 @@ var setExtensionEnv = (extensionName, extension) => {
|
|
|
5234
5234
|
}
|
|
5235
5235
|
}
|
|
5236
5236
|
};
|
|
5237
|
-
var setConfigEnv = (
|
|
5237
|
+
var setConfigEnv = (config6) => {
|
|
5238
5238
|
const prefix = "STORM_";
|
|
5239
|
-
if (
|
|
5240
|
-
process.env[`${prefix}EXTENDS`] = Array.isArray(
|
|
5239
|
+
if (config6.extends) {
|
|
5240
|
+
process.env[`${prefix}EXTENDS`] = Array.isArray(config6.extends) ? JSON.stringify(config6.extends) : config6.extends;
|
|
5241
5241
|
}
|
|
5242
|
-
if (
|
|
5243
|
-
process.env[`${prefix}NAME`] =
|
|
5242
|
+
if (config6.name) {
|
|
5243
|
+
process.env[`${prefix}NAME`] = config6.name;
|
|
5244
5244
|
}
|
|
5245
|
-
if (
|
|
5246
|
-
process.env[`${prefix}VARIANT`] =
|
|
5245
|
+
if (config6.variant) {
|
|
5246
|
+
process.env[`${prefix}VARIANT`] = config6.variant;
|
|
5247
5247
|
}
|
|
5248
|
-
if (
|
|
5249
|
-
process.env[`${prefix}NAMESPACE`] =
|
|
5248
|
+
if (config6.namespace) {
|
|
5249
|
+
process.env[`${prefix}NAMESPACE`] = config6.namespace;
|
|
5250
5250
|
}
|
|
5251
|
-
if (
|
|
5252
|
-
process.env[`${prefix}OWNER`] =
|
|
5251
|
+
if (config6.owner) {
|
|
5252
|
+
process.env[`${prefix}OWNER`] = config6.owner;
|
|
5253
5253
|
}
|
|
5254
|
-
if (
|
|
5255
|
-
process.env[`${prefix}BOT_NAME`] =
|
|
5256
|
-
process.env[`${prefix}BOT_EMAIL`] =
|
|
5254
|
+
if (config6.bot) {
|
|
5255
|
+
process.env[`${prefix}BOT_NAME`] = config6.bot.name;
|
|
5256
|
+
process.env[`${prefix}BOT_EMAIL`] = config6.bot.email;
|
|
5257
5257
|
}
|
|
5258
|
-
if (
|
|
5259
|
-
process.env[`${prefix}ERROR_CODES_FILE`] =
|
|
5260
|
-
process.env[`${prefix}ERROR_URL`] =
|
|
5258
|
+
if (config6.error) {
|
|
5259
|
+
process.env[`${prefix}ERROR_CODES_FILE`] = config6.error.codesFile;
|
|
5260
|
+
process.env[`${prefix}ERROR_URL`] = config6.error.url;
|
|
5261
5261
|
}
|
|
5262
|
-
if (
|
|
5263
|
-
if (
|
|
5264
|
-
if (typeof
|
|
5265
|
-
process.env[`${prefix}RELEASE_BANNER`] =
|
|
5266
|
-
process.env[`${prefix}RELEASE_BANNER_URL`] =
|
|
5262
|
+
if (config6.release) {
|
|
5263
|
+
if (config6.release.banner) {
|
|
5264
|
+
if (typeof config6.release.banner === "string") {
|
|
5265
|
+
process.env[`${prefix}RELEASE_BANNER`] = config6.release.banner;
|
|
5266
|
+
process.env[`${prefix}RELEASE_BANNER_URL`] = config6.release.banner;
|
|
5267
5267
|
} else {
|
|
5268
|
-
process.env[`${prefix}RELEASE_BANNER`] =
|
|
5269
|
-
process.env[`${prefix}RELEASE_BANNER_URL`] =
|
|
5270
|
-
process.env[`${prefix}RELEASE_BANNER_ALT`] =
|
|
5268
|
+
process.env[`${prefix}RELEASE_BANNER`] = config6.release.banner.url;
|
|
5269
|
+
process.env[`${prefix}RELEASE_BANNER_URL`] = config6.release.banner.url;
|
|
5270
|
+
process.env[`${prefix}RELEASE_BANNER_ALT`] = config6.release.banner.alt;
|
|
5271
5271
|
}
|
|
5272
5272
|
}
|
|
5273
|
-
process.env[`${prefix}RELEASE_HEADER`] =
|
|
5274
|
-
process.env[`${prefix}RELEASE_FOOTER`] =
|
|
5273
|
+
process.env[`${prefix}RELEASE_HEADER`] = config6.release.header;
|
|
5274
|
+
process.env[`${prefix}RELEASE_FOOTER`] = config6.release.footer;
|
|
5275
5275
|
}
|
|
5276
|
-
if (
|
|
5277
|
-
if (
|
|
5278
|
-
process.env[`${prefix}SOCIAL_TWITTER`] =
|
|
5276
|
+
if (config6.socials) {
|
|
5277
|
+
if (config6.socials.twitter) {
|
|
5278
|
+
process.env[`${prefix}SOCIAL_TWITTER`] = config6.socials.twitter;
|
|
5279
5279
|
}
|
|
5280
|
-
if (
|
|
5281
|
-
process.env[`${prefix}SOCIAL_DISCORD`] =
|
|
5280
|
+
if (config6.socials.discord) {
|
|
5281
|
+
process.env[`${prefix}SOCIAL_DISCORD`] = config6.socials.discord;
|
|
5282
5282
|
}
|
|
5283
|
-
if (
|
|
5284
|
-
process.env[`${prefix}SOCIAL_TELEGRAM`] =
|
|
5283
|
+
if (config6.socials.telegram) {
|
|
5284
|
+
process.env[`${prefix}SOCIAL_TELEGRAM`] = config6.socials.telegram;
|
|
5285
5285
|
}
|
|
5286
|
-
if (
|
|
5287
|
-
process.env[`${prefix}SOCIAL_SLACK`] =
|
|
5286
|
+
if (config6.socials.slack) {
|
|
5287
|
+
process.env[`${prefix}SOCIAL_SLACK`] = config6.socials.slack;
|
|
5288
5288
|
}
|
|
5289
|
-
if (
|
|
5290
|
-
process.env[`${prefix}SOCIAL_MEDIUM`] =
|
|
5289
|
+
if (config6.socials.medium) {
|
|
5290
|
+
process.env[`${prefix}SOCIAL_MEDIUM`] = config6.socials.medium;
|
|
5291
5291
|
}
|
|
5292
|
-
if (
|
|
5293
|
-
process.env[`${prefix}SOCIAL_GITHUB`] =
|
|
5292
|
+
if (config6.socials.github) {
|
|
5293
|
+
process.env[`${prefix}SOCIAL_GITHUB`] = config6.socials.github;
|
|
5294
5294
|
}
|
|
5295
5295
|
}
|
|
5296
|
-
if (
|
|
5297
|
-
if (typeof
|
|
5298
|
-
process.env[`${prefix}ORG`] =
|
|
5299
|
-
process.env[`${prefix}ORG_NAME`] =
|
|
5300
|
-
process.env[`${prefix}ORGANIZATION`] =
|
|
5301
|
-
process.env[`${prefix}ORGANIZATION_NAME`] =
|
|
5296
|
+
if (config6.organization) {
|
|
5297
|
+
if (typeof config6.organization === "string") {
|
|
5298
|
+
process.env[`${prefix}ORG`] = config6.organization;
|
|
5299
|
+
process.env[`${prefix}ORG_NAME`] = config6.organization;
|
|
5300
|
+
process.env[`${prefix}ORGANIZATION`] = config6.organization;
|
|
5301
|
+
process.env[`${prefix}ORGANIZATION_NAME`] = config6.organization;
|
|
5302
5302
|
} else {
|
|
5303
|
-
process.env[`${prefix}ORG`] =
|
|
5304
|
-
process.env[`${prefix}ORG_NAME`] =
|
|
5305
|
-
process.env[`${prefix}ORGANIZATION`] =
|
|
5306
|
-
process.env[`${prefix}ORGANIZATION_NAME`] =
|
|
5307
|
-
if (
|
|
5308
|
-
process.env[`${prefix}ORG_URL`] =
|
|
5309
|
-
process.env[`${prefix}ORGANIZATION_URL`] =
|
|
5303
|
+
process.env[`${prefix}ORG`] = config6.organization.name;
|
|
5304
|
+
process.env[`${prefix}ORG_NAME`] = config6.organization.name;
|
|
5305
|
+
process.env[`${prefix}ORGANIZATION`] = config6.organization.name;
|
|
5306
|
+
process.env[`${prefix}ORGANIZATION_NAME`] = config6.organization.name;
|
|
5307
|
+
if (config6.organization.url) {
|
|
5308
|
+
process.env[`${prefix}ORG_URL`] = config6.organization.url;
|
|
5309
|
+
process.env[`${prefix}ORGANIZATION_URL`] = config6.organization.url;
|
|
5310
5310
|
}
|
|
5311
|
-
if (
|
|
5312
|
-
process.env[`${prefix}ORG_DESCRIPTION`] =
|
|
5313
|
-
process.env[`${prefix}ORGANIZATION_DESCRIPTION`] =
|
|
5311
|
+
if (config6.organization.description) {
|
|
5312
|
+
process.env[`${prefix}ORG_DESCRIPTION`] = config6.organization.description;
|
|
5313
|
+
process.env[`${prefix}ORGANIZATION_DESCRIPTION`] = config6.organization.description;
|
|
5314
5314
|
}
|
|
5315
|
-
if (
|
|
5316
|
-
process.env[`${prefix}ORG_LOGO`] =
|
|
5317
|
-
process.env[`${prefix}ORGANIZATION_LOGO`] =
|
|
5315
|
+
if (config6.organization.logo) {
|
|
5316
|
+
process.env[`${prefix}ORG_LOGO`] = config6.organization.logo;
|
|
5317
|
+
process.env[`${prefix}ORGANIZATION_LOGO`] = config6.organization.logo;
|
|
5318
5318
|
}
|
|
5319
|
-
if (
|
|
5320
|
-
process.env[`${prefix}ORG_ICON`] =
|
|
5321
|
-
process.env[`${prefix}ORGANIZATION_ICON`] =
|
|
5319
|
+
if (config6.organization.icon) {
|
|
5320
|
+
process.env[`${prefix}ORG_ICON`] = config6.organization.icon;
|
|
5321
|
+
process.env[`${prefix}ORGANIZATION_ICON`] = config6.organization.icon;
|
|
5322
5322
|
}
|
|
5323
5323
|
}
|
|
5324
5324
|
}
|
|
5325
|
-
if (
|
|
5326
|
-
process.env[`${prefix}PACKAGE_MANAGER`] =
|
|
5325
|
+
if (config6.packageManager) {
|
|
5326
|
+
process.env[`${prefix}PACKAGE_MANAGER`] = config6.packageManager;
|
|
5327
5327
|
}
|
|
5328
|
-
if (
|
|
5329
|
-
process.env[`${prefix}LICENSE`] =
|
|
5328
|
+
if (config6.license) {
|
|
5329
|
+
process.env[`${prefix}LICENSE`] = config6.license;
|
|
5330
5330
|
}
|
|
5331
|
-
if (
|
|
5332
|
-
process.env[`${prefix}HOMEPAGE`] =
|
|
5331
|
+
if (config6.homepage) {
|
|
5332
|
+
process.env[`${prefix}HOMEPAGE`] = config6.homepage;
|
|
5333
5333
|
}
|
|
5334
|
-
if (
|
|
5335
|
-
process.env[`${prefix}DOCS`] =
|
|
5334
|
+
if (config6.docs) {
|
|
5335
|
+
process.env[`${prefix}DOCS`] = config6.docs;
|
|
5336
5336
|
}
|
|
5337
|
-
if (
|
|
5338
|
-
process.env[`${prefix}PORTAL`] =
|
|
5337
|
+
if (config6.portal) {
|
|
5338
|
+
process.env[`${prefix}PORTAL`] = config6.portal;
|
|
5339
5339
|
}
|
|
5340
|
-
if (
|
|
5341
|
-
process.env[`${prefix}LICENSING`] =
|
|
5340
|
+
if (config6.licensing) {
|
|
5341
|
+
process.env[`${prefix}LICENSING`] = config6.licensing;
|
|
5342
5342
|
}
|
|
5343
|
-
if (
|
|
5344
|
-
process.env[`${prefix}CONTACT`] =
|
|
5343
|
+
if (config6.contact) {
|
|
5344
|
+
process.env[`${prefix}CONTACT`] = config6.contact;
|
|
5345
5345
|
}
|
|
5346
|
-
if (
|
|
5347
|
-
process.env[`${prefix}SUPPORT`] =
|
|
5346
|
+
if (config6.support) {
|
|
5347
|
+
process.env[`${prefix}SUPPORT`] = config6.support;
|
|
5348
5348
|
}
|
|
5349
|
-
if (
|
|
5350
|
-
process.env[`${prefix}TIMEZONE`] =
|
|
5351
|
-
process.env.TZ =
|
|
5352
|
-
process.env.DEFAULT_TIMEZONE =
|
|
5353
|
-
process.env.TIMEZONE =
|
|
5349
|
+
if (config6.timezone) {
|
|
5350
|
+
process.env[`${prefix}TIMEZONE`] = config6.timezone;
|
|
5351
|
+
process.env.TZ = config6.timezone;
|
|
5352
|
+
process.env.DEFAULT_TIMEZONE = config6.timezone;
|
|
5353
|
+
process.env.TIMEZONE = config6.timezone;
|
|
5354
5354
|
}
|
|
5355
|
-
if (
|
|
5356
|
-
process.env[`${prefix}LOCALE`] =
|
|
5357
|
-
process.env.DEFAULT_LOCALE =
|
|
5358
|
-
process.env.LOCALE =
|
|
5359
|
-
process.env.LANG =
|
|
5355
|
+
if (config6.locale) {
|
|
5356
|
+
process.env[`${prefix}LOCALE`] = config6.locale;
|
|
5357
|
+
process.env.DEFAULT_LOCALE = config6.locale;
|
|
5358
|
+
process.env.LOCALE = config6.locale;
|
|
5359
|
+
process.env.LANG = config6.locale ? `${config6.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
5360
5360
|
}
|
|
5361
|
-
if (
|
|
5361
|
+
if (config6.configFile) {
|
|
5362
5362
|
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = correctPaths(
|
|
5363
|
-
|
|
5363
|
+
config6.configFile
|
|
5364
5364
|
);
|
|
5365
5365
|
}
|
|
5366
|
-
if (
|
|
5367
|
-
process.env[`${prefix}WORKSPACE_ROOT`] = correctPaths(
|
|
5368
|
-
process.env.NX_WORKSPACE_ROOT = correctPaths(
|
|
5369
|
-
process.env.NX_WORKSPACE_ROOT_PATH = correctPaths(
|
|
5366
|
+
if (config6.workspaceRoot) {
|
|
5367
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = correctPaths(config6.workspaceRoot);
|
|
5368
|
+
process.env.NX_WORKSPACE_ROOT = correctPaths(config6.workspaceRoot);
|
|
5369
|
+
process.env.NX_WORKSPACE_ROOT_PATH = correctPaths(config6.workspaceRoot);
|
|
5370
5370
|
}
|
|
5371
|
-
if (
|
|
5372
|
-
if (!
|
|
5371
|
+
if (config6.directories) {
|
|
5372
|
+
if (!config6.skipCache && config6.directories.cache) {
|
|
5373
5373
|
process.env[`${prefix}CACHE_DIR`] = correctPaths(
|
|
5374
|
-
|
|
5374
|
+
config6.directories.cache
|
|
5375
5375
|
);
|
|
5376
5376
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
5377
5377
|
}
|
|
5378
|
-
if (
|
|
5379
|
-
process.env[`${prefix}DATA_DIR`] = correctPaths(
|
|
5378
|
+
if (config6.directories.data) {
|
|
5379
|
+
process.env[`${prefix}DATA_DIR`] = correctPaths(config6.directories.data);
|
|
5380
5380
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
5381
5381
|
}
|
|
5382
|
-
if (
|
|
5382
|
+
if (config6.directories.config) {
|
|
5383
5383
|
process.env[`${prefix}CONFIG_DIR`] = correctPaths(
|
|
5384
|
-
|
|
5384
|
+
config6.directories.config
|
|
5385
5385
|
);
|
|
5386
5386
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
5387
5387
|
}
|
|
5388
|
-
if (
|
|
5389
|
-
process.env[`${prefix}TEMP_DIR`] = correctPaths(
|
|
5388
|
+
if (config6.directories.temp) {
|
|
5389
|
+
process.env[`${prefix}TEMP_DIR`] = correctPaths(config6.directories.temp);
|
|
5390
5390
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
5391
5391
|
}
|
|
5392
|
-
if (
|
|
5393
|
-
process.env[`${prefix}LOG_DIR`] = correctPaths(
|
|
5392
|
+
if (config6.directories.log) {
|
|
5393
|
+
process.env[`${prefix}LOG_DIR`] = correctPaths(config6.directories.log);
|
|
5394
5394
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
5395
5395
|
}
|
|
5396
|
-
if (
|
|
5396
|
+
if (config6.directories.build) {
|
|
5397
5397
|
process.env[`${prefix}BUILD_DIR`] = correctPaths(
|
|
5398
|
-
|
|
5398
|
+
config6.directories.build
|
|
5399
5399
|
);
|
|
5400
5400
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
5401
5401
|
}
|
|
5402
5402
|
}
|
|
5403
|
-
if (
|
|
5404
|
-
process.env[`${prefix}SKIP_CACHE`] = String(
|
|
5405
|
-
if (
|
|
5406
|
-
process.env.NX_SKIP_NX_CACHE ??= String(
|
|
5407
|
-
process.env.NX_CACHE_PROJECT_GRAPH ??= String(
|
|
5403
|
+
if (config6.skipCache !== void 0) {
|
|
5404
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config6.skipCache);
|
|
5405
|
+
if (config6.skipCache) {
|
|
5406
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config6.skipCache);
|
|
5407
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config6.skipCache);
|
|
5408
5408
|
}
|
|
5409
5409
|
}
|
|
5410
|
-
if (
|
|
5411
|
-
process.env[`${prefix}MODE`] =
|
|
5412
|
-
process.env.NODE_ENV =
|
|
5413
|
-
process.env.ENVIRONMENT =
|
|
5410
|
+
if (config6.mode) {
|
|
5411
|
+
process.env[`${prefix}MODE`] = config6.mode;
|
|
5412
|
+
process.env.NODE_ENV = config6.mode;
|
|
5413
|
+
process.env.ENVIRONMENT = config6.mode;
|
|
5414
5414
|
}
|
|
5415
|
-
if (
|
|
5416
|
-
for (const key of Object.keys(
|
|
5417
|
-
setThemeColorsEnv(`${prefix}COLOR_${key}_`,
|
|
5415
|
+
if (config6.colors?.base?.light || config6.colors?.base?.dark) {
|
|
5416
|
+
for (const key of Object.keys(config6.colors)) {
|
|
5417
|
+
setThemeColorsEnv(`${prefix}COLOR_${key}_`, config6.colors[key]);
|
|
5418
5418
|
}
|
|
5419
5419
|
} else {
|
|
5420
5420
|
setThemeColorsEnv(
|
|
5421
5421
|
`${prefix}COLOR_`,
|
|
5422
|
-
|
|
5422
|
+
config6.colors
|
|
5423
5423
|
);
|
|
5424
5424
|
}
|
|
5425
|
-
if (
|
|
5426
|
-
process.env[`${prefix}REPOSITORY`] =
|
|
5425
|
+
if (config6.repository) {
|
|
5426
|
+
process.env[`${prefix}REPOSITORY`] = config6.repository;
|
|
5427
5427
|
}
|
|
5428
|
-
if (
|
|
5429
|
-
process.env[`${prefix}BRANCH`] =
|
|
5428
|
+
if (config6.branch) {
|
|
5429
|
+
process.env[`${prefix}BRANCH`] = config6.branch;
|
|
5430
5430
|
}
|
|
5431
|
-
if (
|
|
5432
|
-
process.env[`${prefix}PRE_ID`] = String(
|
|
5431
|
+
if (config6.preid) {
|
|
5432
|
+
process.env[`${prefix}PRE_ID`] = String(config6.preid);
|
|
5433
5433
|
}
|
|
5434
|
-
if (
|
|
5435
|
-
if (
|
|
5436
|
-
process.env[`${prefix}REGISTRY_GITHUB`] = String(
|
|
5434
|
+
if (config6.registry) {
|
|
5435
|
+
if (config6.registry.github) {
|
|
5436
|
+
process.env[`${prefix}REGISTRY_GITHUB`] = String(config6.registry.github);
|
|
5437
5437
|
}
|
|
5438
|
-
if (
|
|
5439
|
-
process.env[`${prefix}REGISTRY_NPM`] = String(
|
|
5438
|
+
if (config6.registry.npm) {
|
|
5439
|
+
process.env[`${prefix}REGISTRY_NPM`] = String(config6.registry.npm);
|
|
5440
5440
|
}
|
|
5441
|
-
if (
|
|
5442
|
-
process.env[`${prefix}REGISTRY_CARGO`] = String(
|
|
5441
|
+
if (config6.registry.cargo) {
|
|
5442
|
+
process.env[`${prefix}REGISTRY_CARGO`] = String(config6.registry.cargo);
|
|
5443
5443
|
}
|
|
5444
|
-
if (
|
|
5444
|
+
if (config6.registry.cyclone) {
|
|
5445
5445
|
process.env[`${prefix}REGISTRY_CYCLONE`] = String(
|
|
5446
|
-
|
|
5446
|
+
config6.registry.cyclone
|
|
5447
5447
|
);
|
|
5448
5448
|
}
|
|
5449
|
-
if (
|
|
5449
|
+
if (config6.registry.container) {
|
|
5450
5450
|
process.env[`${prefix}REGISTRY_CONTAINER`] = String(
|
|
5451
|
-
|
|
5451
|
+
config6.registry.container
|
|
5452
5452
|
);
|
|
5453
5453
|
}
|
|
5454
5454
|
}
|
|
5455
|
-
if (
|
|
5456
|
-
process.env[`${prefix}LOG_LEVEL`] = String(
|
|
5457
|
-
process.env.LOG_LEVEL = String(
|
|
5455
|
+
if (config6.logLevel) {
|
|
5456
|
+
process.env[`${prefix}LOG_LEVEL`] = String(config6.logLevel);
|
|
5457
|
+
process.env.LOG_LEVEL = String(config6.logLevel);
|
|
5458
5458
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
5459
|
-
getLogLevel(
|
|
5459
|
+
getLogLevel(config6.logLevel) >= LogLevel.DEBUG ? true : false
|
|
5460
5460
|
);
|
|
5461
|
-
process.env.RUST_BACKTRACE = getLogLevel(
|
|
5461
|
+
process.env.RUST_BACKTRACE = getLogLevel(config6.logLevel) >= LogLevel.DEBUG ? "full" : "none";
|
|
5462
5462
|
}
|
|
5463
|
-
if (
|
|
5463
|
+
if (config6.skipConfigLogging !== void 0) {
|
|
5464
5464
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
5465
|
-
|
|
5465
|
+
config6.skipConfigLogging
|
|
5466
5466
|
);
|
|
5467
5467
|
}
|
|
5468
|
-
process.env[`${prefix}WORKSPACE_CONFIG`] = JSON.stringify(
|
|
5469
|
-
for (const key of Object.keys(
|
|
5470
|
-
if (
|
|
5471
|
-
setExtensionEnv(key,
|
|
5468
|
+
process.env[`${prefix}WORKSPACE_CONFIG`] = JSON.stringify(config6);
|
|
5469
|
+
for (const key of Object.keys(config6.extensions ?? {})) {
|
|
5470
|
+
if (config6.extensions[key] && Object.keys(config6.extensions[key])) {
|
|
5471
|
+
setExtensionEnv(key, config6.extensions[key]);
|
|
5472
5472
|
}
|
|
5473
5473
|
}
|
|
5474
5474
|
};
|
|
5475
|
-
var setThemeColorsEnv = (prefix,
|
|
5476
|
-
return
|
|
5475
|
+
var setThemeColorsEnv = (prefix, config6) => {
|
|
5476
|
+
return config6?.light?.brand || config6?.dark?.brand ? setMultiThemeColorsEnv(prefix, config6) : setSingleThemeColorsEnv(prefix, config6);
|
|
5477
5477
|
};
|
|
5478
|
-
var setSingleThemeColorsEnv = (prefix,
|
|
5479
|
-
if (
|
|
5480
|
-
process.env[`${prefix}DARK`] =
|
|
5478
|
+
var setSingleThemeColorsEnv = (prefix, config6) => {
|
|
5479
|
+
if (config6.dark) {
|
|
5480
|
+
process.env[`${prefix}DARK`] = config6.dark;
|
|
5481
5481
|
}
|
|
5482
|
-
if (
|
|
5483
|
-
process.env[`${prefix}LIGHT`] =
|
|
5482
|
+
if (config6.light) {
|
|
5483
|
+
process.env[`${prefix}LIGHT`] = config6.light;
|
|
5484
5484
|
}
|
|
5485
|
-
if (
|
|
5486
|
-
process.env[`${prefix}BRAND`] =
|
|
5485
|
+
if (config6.brand) {
|
|
5486
|
+
process.env[`${prefix}BRAND`] = config6.brand;
|
|
5487
5487
|
}
|
|
5488
|
-
if (
|
|
5489
|
-
process.env[`${prefix}ALTERNATE`] =
|
|
5488
|
+
if (config6.alternate) {
|
|
5489
|
+
process.env[`${prefix}ALTERNATE`] = config6.alternate;
|
|
5490
5490
|
}
|
|
5491
|
-
if (
|
|
5492
|
-
process.env[`${prefix}ACCENT`] =
|
|
5491
|
+
if (config6.accent) {
|
|
5492
|
+
process.env[`${prefix}ACCENT`] = config6.accent;
|
|
5493
5493
|
}
|
|
5494
|
-
if (
|
|
5495
|
-
process.env[`${prefix}LINK`] =
|
|
5494
|
+
if (config6.link) {
|
|
5495
|
+
process.env[`${prefix}LINK`] = config6.link;
|
|
5496
5496
|
}
|
|
5497
|
-
if (
|
|
5498
|
-
process.env[`${prefix}DISCOVERY`] =
|
|
5497
|
+
if (config6.discovery) {
|
|
5498
|
+
process.env[`${prefix}DISCOVERY`] = config6.discovery;
|
|
5499
5499
|
}
|
|
5500
|
-
if (
|
|
5501
|
-
process.env[`${prefix}SUCCESS`] =
|
|
5500
|
+
if (config6.success) {
|
|
5501
|
+
process.env[`${prefix}SUCCESS`] = config6.success;
|
|
5502
5502
|
}
|
|
5503
|
-
if (
|
|
5504
|
-
process.env[`${prefix}INFO`] =
|
|
5503
|
+
if (config6.info) {
|
|
5504
|
+
process.env[`${prefix}INFO`] = config6.info;
|
|
5505
5505
|
}
|
|
5506
|
-
if (
|
|
5507
|
-
process.env[`${prefix}DEBUG`] =
|
|
5506
|
+
if (config6.debug) {
|
|
5507
|
+
process.env[`${prefix}DEBUG`] = config6.debug;
|
|
5508
5508
|
}
|
|
5509
|
-
if (
|
|
5510
|
-
process.env[`${prefix}WARNING`] =
|
|
5509
|
+
if (config6.warning) {
|
|
5510
|
+
process.env[`${prefix}WARNING`] = config6.warning;
|
|
5511
5511
|
}
|
|
5512
|
-
if (
|
|
5513
|
-
process.env[`${prefix}DANGER`] =
|
|
5512
|
+
if (config6.danger) {
|
|
5513
|
+
process.env[`${prefix}DANGER`] = config6.danger;
|
|
5514
5514
|
}
|
|
5515
|
-
if (
|
|
5516
|
-
process.env[`${prefix}FATAL`] =
|
|
5515
|
+
if (config6.fatal) {
|
|
5516
|
+
process.env[`${prefix}FATAL`] = config6.fatal;
|
|
5517
5517
|
}
|
|
5518
|
-
if (
|
|
5519
|
-
process.env[`${prefix}PERFORMANCE`] =
|
|
5518
|
+
if (config6.performance) {
|
|
5519
|
+
process.env[`${prefix}PERFORMANCE`] = config6.performance;
|
|
5520
5520
|
}
|
|
5521
|
-
if (
|
|
5522
|
-
process.env[`${prefix}POSITIVE`] =
|
|
5521
|
+
if (config6.positive) {
|
|
5522
|
+
process.env[`${prefix}POSITIVE`] = config6.positive;
|
|
5523
5523
|
}
|
|
5524
|
-
if (
|
|
5525
|
-
process.env[`${prefix}NEGATIVE`] =
|
|
5524
|
+
if (config6.negative) {
|
|
5525
|
+
process.env[`${prefix}NEGATIVE`] = config6.negative;
|
|
5526
5526
|
}
|
|
5527
|
-
if (
|
|
5528
|
-
for (let i = 0; i <
|
|
5529
|
-
process.env[`${prefix}GRADIENT_${i}`] =
|
|
5527
|
+
if (config6.gradient) {
|
|
5528
|
+
for (let i = 0; i < config6.gradient.length; i++) {
|
|
5529
|
+
process.env[`${prefix}GRADIENT_${i}`] = config6.gradient[i];
|
|
5530
5530
|
}
|
|
5531
5531
|
}
|
|
5532
5532
|
};
|
|
5533
|
-
var setMultiThemeColorsEnv = (prefix,
|
|
5533
|
+
var setMultiThemeColorsEnv = (prefix, config6) => {
|
|
5534
5534
|
return {
|
|
5535
|
-
light: setBaseThemeColorsEnv(`${prefix}LIGHT_`,
|
|
5536
|
-
dark: setBaseThemeColorsEnv(`${prefix}DARK_`,
|
|
5535
|
+
light: setBaseThemeColorsEnv(`${prefix}LIGHT_`, config6.light),
|
|
5536
|
+
dark: setBaseThemeColorsEnv(`${prefix}DARK_`, config6.dark)
|
|
5537
5537
|
};
|
|
5538
5538
|
};
|
|
5539
|
-
var setBaseThemeColorsEnv = (prefix,
|
|
5540
|
-
if (
|
|
5541
|
-
process.env[`${prefix}FOREGROUND`] =
|
|
5539
|
+
var setBaseThemeColorsEnv = (prefix, config6) => {
|
|
5540
|
+
if (config6.foreground) {
|
|
5541
|
+
process.env[`${prefix}FOREGROUND`] = config6.foreground;
|
|
5542
5542
|
}
|
|
5543
|
-
if (
|
|
5544
|
-
process.env[`${prefix}BACKGROUND`] =
|
|
5543
|
+
if (config6.background) {
|
|
5544
|
+
process.env[`${prefix}BACKGROUND`] = config6.background;
|
|
5545
5545
|
}
|
|
5546
|
-
if (
|
|
5547
|
-
process.env[`${prefix}BRAND`] =
|
|
5546
|
+
if (config6.brand) {
|
|
5547
|
+
process.env[`${prefix}BRAND`] = config6.brand;
|
|
5548
5548
|
}
|
|
5549
|
-
if (
|
|
5550
|
-
process.env[`${prefix}ALTERNATE`] =
|
|
5549
|
+
if (config6.alternate) {
|
|
5550
|
+
process.env[`${prefix}ALTERNATE`] = config6.alternate;
|
|
5551
5551
|
}
|
|
5552
|
-
if (
|
|
5553
|
-
process.env[`${prefix}ACCENT`] =
|
|
5552
|
+
if (config6.accent) {
|
|
5553
|
+
process.env[`${prefix}ACCENT`] = config6.accent;
|
|
5554
5554
|
}
|
|
5555
|
-
if (
|
|
5556
|
-
process.env[`${prefix}LINK`] =
|
|
5555
|
+
if (config6.link) {
|
|
5556
|
+
process.env[`${prefix}LINK`] = config6.link;
|
|
5557
5557
|
}
|
|
5558
|
-
if (
|
|
5559
|
-
process.env[`${prefix}DISCOVERY`] =
|
|
5558
|
+
if (config6.discovery) {
|
|
5559
|
+
process.env[`${prefix}DISCOVERY`] = config6.discovery;
|
|
5560
5560
|
}
|
|
5561
|
-
if (
|
|
5562
|
-
process.env[`${prefix}SUCCESS`] =
|
|
5561
|
+
if (config6.success) {
|
|
5562
|
+
process.env[`${prefix}SUCCESS`] = config6.success;
|
|
5563
5563
|
}
|
|
5564
|
-
if (
|
|
5565
|
-
process.env[`${prefix}INFO`] =
|
|
5564
|
+
if (config6.info) {
|
|
5565
|
+
process.env[`${prefix}INFO`] = config6.info;
|
|
5566
5566
|
}
|
|
5567
|
-
if (
|
|
5568
|
-
process.env[`${prefix}DEBUG`] =
|
|
5567
|
+
if (config6.debug) {
|
|
5568
|
+
process.env[`${prefix}DEBUG`] = config6.debug;
|
|
5569
5569
|
}
|
|
5570
|
-
if (
|
|
5571
|
-
process.env[`${prefix}WARNING`] =
|
|
5570
|
+
if (config6.warning) {
|
|
5571
|
+
process.env[`${prefix}WARNING`] = config6.warning;
|
|
5572
5572
|
}
|
|
5573
|
-
if (
|
|
5574
|
-
process.env[`${prefix}DANGER`] =
|
|
5573
|
+
if (config6.danger) {
|
|
5574
|
+
process.env[`${prefix}DANGER`] = config6.danger;
|
|
5575
5575
|
}
|
|
5576
|
-
if (
|
|
5577
|
-
process.env[`${prefix}FATAL`] =
|
|
5576
|
+
if (config6.fatal) {
|
|
5577
|
+
process.env[`${prefix}FATAL`] = config6.fatal;
|
|
5578
5578
|
}
|
|
5579
|
-
if (
|
|
5580
|
-
process.env[`${prefix}PERFORMANCE`] =
|
|
5579
|
+
if (config6.performance) {
|
|
5580
|
+
process.env[`${prefix}PERFORMANCE`] = config6.performance;
|
|
5581
5581
|
}
|
|
5582
|
-
if (
|
|
5583
|
-
process.env[`${prefix}POSITIVE`] =
|
|
5582
|
+
if (config6.positive) {
|
|
5583
|
+
process.env[`${prefix}POSITIVE`] = config6.positive;
|
|
5584
5584
|
}
|
|
5585
|
-
if (
|
|
5586
|
-
process.env[`${prefix}NEGATIVE`] =
|
|
5585
|
+
if (config6.negative) {
|
|
5586
|
+
process.env[`${prefix}NEGATIVE`] = config6.negative;
|
|
5587
5587
|
}
|
|
5588
|
-
if (
|
|
5589
|
-
for (let i = 0; i <
|
|
5590
|
-
process.env[`${prefix}GRADIENT_${i}`] =
|
|
5588
|
+
if (config6.gradient) {
|
|
5589
|
+
for (let i = 0; i < config6.gradient.length; i++) {
|
|
5590
|
+
process.env[`${prefix}GRADIENT_${i}`] = config6.gradient[i];
|
|
5591
5591
|
}
|
|
5592
5592
|
}
|
|
5593
5593
|
};
|
|
@@ -5653,25 +5653,25 @@ Please ensure your configuration file is valid JSON and matches the expected sch
|
|
|
5653
5653
|
};
|
|
5654
5654
|
var tryLoadStormWorkspaceConfig = async (workspaceRoot, skipLogs = true, useDefault = false) => {
|
|
5655
5655
|
try {
|
|
5656
|
-
const
|
|
5656
|
+
const config6 = await createStormWorkspaceConfig(
|
|
5657
5657
|
void 0,
|
|
5658
5658
|
void 0,
|
|
5659
5659
|
workspaceRoot,
|
|
5660
5660
|
skipLogs,
|
|
5661
5661
|
useDefault
|
|
5662
5662
|
);
|
|
5663
|
-
if (!
|
|
5663
|
+
if (!config6) {
|
|
5664
5664
|
return void 0;
|
|
5665
5665
|
}
|
|
5666
|
-
setConfigEnv(
|
|
5667
|
-
if (!skipLogs && !
|
|
5666
|
+
setConfigEnv(config6);
|
|
5667
|
+
if (!skipLogs && !config6.skipConfigLogging) {
|
|
5668
5668
|
writeTrace(
|
|
5669
5669
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
5670
|
-
${formatLogMessage(
|
|
5671
|
-
|
|
5670
|
+
${formatLogMessage(config6)}`,
|
|
5671
|
+
config6
|
|
5672
5672
|
);
|
|
5673
5673
|
}
|
|
5674
|
-
return
|
|
5674
|
+
return config6;
|
|
5675
5675
|
} catch (error) {
|
|
5676
5676
|
if (!skipLogs) {
|
|
5677
5677
|
writeWarning(
|
|
@@ -5715,7 +5715,7 @@ init_cjs_shims();
|
|
|
5715
5715
|
|
|
5716
5716
|
// ../eslint-plugin-banner/package.json
|
|
5717
5717
|
var package_default = {
|
|
5718
|
-
version: "0.0.
|
|
5718
|
+
version: "0.0.35"};
|
|
5719
5719
|
|
|
5720
5720
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
5721
5721
|
init_cjs_shims();
|
|
@@ -6686,7 +6686,7 @@ async function stylistic(options = {}) {
|
|
|
6686
6686
|
const pluginStylistic = await interopDefault(
|
|
6687
6687
|
import('@stylistic/eslint-plugin')
|
|
6688
6688
|
);
|
|
6689
|
-
const
|
|
6689
|
+
const config6 = pluginStylistic.configs.customize({
|
|
6690
6690
|
indent,
|
|
6691
6691
|
jsx: jsx2,
|
|
6692
6692
|
pluginName: "style",
|
|
@@ -6700,7 +6700,7 @@ async function stylistic(options = {}) {
|
|
|
6700
6700
|
style: pluginStylistic
|
|
6701
6701
|
},
|
|
6702
6702
|
rules: {
|
|
6703
|
-
...
|
|
6703
|
+
...config6.rules,
|
|
6704
6704
|
"style/lines-around-comment": "off",
|
|
6705
6705
|
"style/linebreak-style": ["error", lineEndings],
|
|
6706
6706
|
"style/comma-dangle": ["error", "never"],
|
|
@@ -6791,7 +6791,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6791
6791
|
options.dprintOptions ?? {}
|
|
6792
6792
|
);
|
|
6793
6793
|
const pluginFormat = await interopDefault(import('eslint-plugin-format'));
|
|
6794
|
-
const
|
|
6794
|
+
const configs7 = [
|
|
6795
6795
|
{
|
|
6796
6796
|
name: "storm/formatter/setup",
|
|
6797
6797
|
plugins: {
|
|
@@ -6800,7 +6800,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6800
6800
|
}
|
|
6801
6801
|
];
|
|
6802
6802
|
if (options.css) {
|
|
6803
|
-
|
|
6803
|
+
configs7.push(
|
|
6804
6804
|
{
|
|
6805
6805
|
files: [GLOB_CSS, GLOB_POSTCSS],
|
|
6806
6806
|
languageOptions: {
|
|
@@ -6849,7 +6849,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6849
6849
|
);
|
|
6850
6850
|
}
|
|
6851
6851
|
if (options.html) {
|
|
6852
|
-
|
|
6852
|
+
configs7.push({
|
|
6853
6853
|
files: [GLOB_HTML],
|
|
6854
6854
|
languageOptions: {
|
|
6855
6855
|
parser: parserPlain
|
|
@@ -6866,7 +6866,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6866
6866
|
});
|
|
6867
6867
|
}
|
|
6868
6868
|
if (options.xml) {
|
|
6869
|
-
|
|
6869
|
+
configs7.push({
|
|
6870
6870
|
files: [GLOB_XML],
|
|
6871
6871
|
languageOptions: {
|
|
6872
6872
|
parser: parserPlain
|
|
@@ -6887,7 +6887,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6887
6887
|
});
|
|
6888
6888
|
}
|
|
6889
6889
|
if (options.svg) {
|
|
6890
|
-
|
|
6890
|
+
configs7.push({
|
|
6891
6891
|
files: [GLOB_SVG],
|
|
6892
6892
|
languageOptions: {
|
|
6893
6893
|
parser: parserPlain
|
|
@@ -6909,7 +6909,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6909
6909
|
}
|
|
6910
6910
|
if (options.markdown) {
|
|
6911
6911
|
const formater = options.markdown === true ? "prettier" : options.markdown;
|
|
6912
|
-
|
|
6912
|
+
configs7.push({
|
|
6913
6913
|
files: [GLOB_MARKDOWN],
|
|
6914
6914
|
languageOptions: {
|
|
6915
6915
|
parser: parserPlain
|
|
@@ -6930,7 +6930,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6930
6930
|
});
|
|
6931
6931
|
}
|
|
6932
6932
|
if (options.astro) {
|
|
6933
|
-
|
|
6933
|
+
configs7.push({
|
|
6934
6934
|
files: [GLOB_ASTRO],
|
|
6935
6935
|
languageOptions: {
|
|
6936
6936
|
parser: parserPlain
|
|
@@ -6946,7 +6946,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6946
6946
|
]
|
|
6947
6947
|
}
|
|
6948
6948
|
});
|
|
6949
|
-
|
|
6949
|
+
configs7.push({
|
|
6950
6950
|
files: [GLOB_ASTRO, GLOB_ASTRO_TS],
|
|
6951
6951
|
name: "storm/formatter/astro/disables",
|
|
6952
6952
|
rules: {
|
|
@@ -6961,7 +6961,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6961
6961
|
});
|
|
6962
6962
|
}
|
|
6963
6963
|
if (options.graphql) {
|
|
6964
|
-
|
|
6964
|
+
configs7.push({
|
|
6965
6965
|
files: [GLOB_GRAPHQL],
|
|
6966
6966
|
languageOptions: {
|
|
6967
6967
|
parser: parserPlain
|
|
@@ -6977,7 +6977,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6977
6977
|
}
|
|
6978
6978
|
});
|
|
6979
6979
|
}
|
|
6980
|
-
return
|
|
6980
|
+
return configs7;
|
|
6981
6981
|
}
|
|
6982
6982
|
|
|
6983
6983
|
// src/configs/graphql.ts
|
|
@@ -7176,10 +7176,10 @@ init_cjs_shims();
|
|
|
7176
7176
|
// src/plugins.ts
|
|
7177
7177
|
init_cjs_shims();
|
|
7178
7178
|
|
|
7179
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7179
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/index.js
|
|
7180
7180
|
init_cjs_shims();
|
|
7181
7181
|
|
|
7182
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7182
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/electron.js
|
|
7183
7183
|
init_cjs_shims();
|
|
7184
7184
|
var electron_default = {
|
|
7185
7185
|
settings: {
|
|
@@ -7187,7 +7187,7 @@ var electron_default = {
|
|
|
7187
7187
|
}
|
|
7188
7188
|
};
|
|
7189
7189
|
|
|
7190
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7190
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/errors.js
|
|
7191
7191
|
init_cjs_shims();
|
|
7192
7192
|
var errors_default = {
|
|
7193
7193
|
plugins: ["import-x"],
|
|
@@ -7200,7 +7200,7 @@ var errors_default = {
|
|
|
7200
7200
|
}
|
|
7201
7201
|
};
|
|
7202
7202
|
|
|
7203
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7203
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/electron.js
|
|
7204
7204
|
init_cjs_shims();
|
|
7205
7205
|
var electron_default2 = {
|
|
7206
7206
|
settings: {
|
|
@@ -7208,7 +7208,7 @@ var electron_default2 = {
|
|
|
7208
7208
|
}
|
|
7209
7209
|
};
|
|
7210
7210
|
|
|
7211
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7211
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/errors.js
|
|
7212
7212
|
init_cjs_shims();
|
|
7213
7213
|
var errors_default2 = {
|
|
7214
7214
|
rules: {
|
|
@@ -7220,7 +7220,7 @@ var errors_default2 = {
|
|
|
7220
7220
|
}
|
|
7221
7221
|
};
|
|
7222
7222
|
|
|
7223
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7223
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/react-native.js
|
|
7224
7224
|
init_cjs_shims();
|
|
7225
7225
|
var react_native_default = {
|
|
7226
7226
|
settings: {
|
|
@@ -7232,7 +7232,7 @@ var react_native_default = {
|
|
|
7232
7232
|
}
|
|
7233
7233
|
};
|
|
7234
7234
|
|
|
7235
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7235
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/react.js
|
|
7236
7236
|
init_cjs_shims();
|
|
7237
7237
|
var react_default = {
|
|
7238
7238
|
settings: {
|
|
@@ -7247,7 +7247,7 @@ var react_default = {
|
|
|
7247
7247
|
}
|
|
7248
7248
|
};
|
|
7249
7249
|
|
|
7250
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7250
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/recommended.js
|
|
7251
7251
|
init_cjs_shims();
|
|
7252
7252
|
var recommended_default2 = {
|
|
7253
7253
|
rules: {
|
|
@@ -7262,7 +7262,7 @@ var recommended_default2 = {
|
|
|
7262
7262
|
}
|
|
7263
7263
|
};
|
|
7264
7264
|
|
|
7265
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7265
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/stage-0.js
|
|
7266
7266
|
init_cjs_shims();
|
|
7267
7267
|
var stage_0_default = {
|
|
7268
7268
|
rules: {
|
|
@@ -7270,7 +7270,7 @@ var stage_0_default = {
|
|
|
7270
7270
|
}
|
|
7271
7271
|
};
|
|
7272
7272
|
|
|
7273
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7273
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/typescript.js
|
|
7274
7274
|
init_cjs_shims();
|
|
7275
7275
|
var typeScriptExtensions = [".ts", ".tsx", ".cts", ".mts"];
|
|
7276
7276
|
var allExtensions = [
|
|
@@ -7296,7 +7296,7 @@ var typescript_default = {
|
|
|
7296
7296
|
}
|
|
7297
7297
|
};
|
|
7298
7298
|
|
|
7299
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7299
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/warnings.js
|
|
7300
7300
|
init_cjs_shims();
|
|
7301
7301
|
var warnings_default = {
|
|
7302
7302
|
rules: {
|
|
@@ -7307,7 +7307,7 @@ var warnings_default = {
|
|
|
7307
7307
|
}
|
|
7308
7308
|
};
|
|
7309
7309
|
|
|
7310
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7310
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/react-native.js
|
|
7311
7311
|
init_cjs_shims();
|
|
7312
7312
|
var react_native_default2 = {
|
|
7313
7313
|
settings: {
|
|
@@ -7319,7 +7319,7 @@ var react_native_default2 = {
|
|
|
7319
7319
|
}
|
|
7320
7320
|
};
|
|
7321
7321
|
|
|
7322
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7322
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/react.js
|
|
7323
7323
|
init_cjs_shims();
|
|
7324
7324
|
var react_default2 = {
|
|
7325
7325
|
settings: {
|
|
@@ -7332,7 +7332,7 @@ var react_default2 = {
|
|
|
7332
7332
|
}
|
|
7333
7333
|
};
|
|
7334
7334
|
|
|
7335
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7335
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/recommended.js
|
|
7336
7336
|
init_cjs_shims();
|
|
7337
7337
|
var recommended_default3 = {
|
|
7338
7338
|
plugins: ["import-x"],
|
|
@@ -7352,7 +7352,7 @@ var recommended_default3 = {
|
|
|
7352
7352
|
}
|
|
7353
7353
|
};
|
|
7354
7354
|
|
|
7355
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7355
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/stage-0.js
|
|
7356
7356
|
init_cjs_shims();
|
|
7357
7357
|
var stage_0_default2 = {
|
|
7358
7358
|
plugins: ["import-x"],
|
|
@@ -7361,7 +7361,7 @@ var stage_0_default2 = {
|
|
|
7361
7361
|
}
|
|
7362
7362
|
};
|
|
7363
7363
|
|
|
7364
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7364
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/typescript.js
|
|
7365
7365
|
init_cjs_shims();
|
|
7366
7366
|
var typeScriptExtensions2 = [".ts", ".tsx", ".cts", ".mts"];
|
|
7367
7367
|
var allExtensions2 = [
|
|
@@ -7387,7 +7387,7 @@ var typescript_default2 = {
|
|
|
7387
7387
|
}
|
|
7388
7388
|
};
|
|
7389
7389
|
|
|
7390
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7390
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/warnings.js
|
|
7391
7391
|
init_cjs_shims();
|
|
7392
7392
|
var warnings_default2 = {
|
|
7393
7393
|
plugins: ["import-x"],
|
|
@@ -7399,19 +7399,19 @@ var warnings_default2 = {
|
|
|
7399
7399
|
}
|
|
7400
7400
|
};
|
|
7401
7401
|
|
|
7402
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7402
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/meta.js
|
|
7403
7403
|
init_cjs_shims();
|
|
7404
7404
|
|
|
7405
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7405
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/require.js
|
|
7406
7406
|
init_cjs_shims();
|
|
7407
7407
|
var importMetaUrl2 = importMetaUrl2;
|
|
7408
7408
|
var cjsRequire = importMetaUrl2 ? Module.createRequire(importMetaUrl2) : __require;
|
|
7409
7409
|
|
|
7410
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7410
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/meta.js
|
|
7411
7411
|
var { name, version: version2 } = cjsRequire("../package.json");
|
|
7412
7412
|
var meta2 = { name, version: version2 };
|
|
7413
7413
|
|
|
7414
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7414
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/node-resolver.js
|
|
7415
7415
|
init_cjs_shims();
|
|
7416
7416
|
function createNodeResolver({ extensions = [".mjs", ".cjs", ".js", ".json", ".node"], conditionNames = ["import", "require", "default"], mainFields = ["module", "main"], ...restOptions } = {}) {
|
|
7417
7417
|
const resolver = new unrsResolver.ResolverFactory({
|
|
@@ -7439,16 +7439,16 @@ function createNodeResolver({ extensions = [".mjs", ".cjs", ".js", ".json", ".no
|
|
|
7439
7439
|
};
|
|
7440
7440
|
}
|
|
7441
7441
|
|
|
7442
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7442
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/consistent-type-specifier-style.js
|
|
7443
7443
|
init_cjs_shims();
|
|
7444
7444
|
|
|
7445
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7445
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/index.js
|
|
7446
7446
|
init_cjs_shims();
|
|
7447
7447
|
|
|
7448
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7448
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/apply-default.js
|
|
7449
7449
|
init_cjs_shims();
|
|
7450
7450
|
|
|
7451
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7451
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/deep-merge.js
|
|
7452
7452
|
init_cjs_shims();
|
|
7453
7453
|
function isObjectNotArray(obj) {
|
|
7454
7454
|
return typeof obj === "object" && obj != null && !Array.isArray(obj);
|
|
@@ -7472,7 +7472,7 @@ function deepMerge(first = {}, second = {}) {
|
|
|
7472
7472
|
}));
|
|
7473
7473
|
}
|
|
7474
7474
|
|
|
7475
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7475
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/apply-default.js
|
|
7476
7476
|
function applyDefault(defaultOptions, userOptions) {
|
|
7477
7477
|
const options = structuredClone(defaultOptions ?? []);
|
|
7478
7478
|
if (userOptions == null) {
|
|
@@ -7487,19 +7487,19 @@ function applyDefault(defaultOptions, userOptions) {
|
|
|
7487
7487
|
return options;
|
|
7488
7488
|
}
|
|
7489
7489
|
|
|
7490
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7490
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/arraify.js
|
|
7491
7491
|
init_cjs_shims();
|
|
7492
7492
|
var arraify = (value) => value ? Array.isArray(value) ? value : [value] : void 0;
|
|
7493
7493
|
|
|
7494
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7494
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/create-rule.js
|
|
7495
7495
|
init_cjs_shims();
|
|
7496
7496
|
|
|
7497
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7497
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/docs-url.js
|
|
7498
7498
|
init_cjs_shims();
|
|
7499
7499
|
var repoUrl = "https://github.com/un-ts/eslint-plugin-import-x";
|
|
7500
7500
|
var docsUrl = (ruleName, commitish = `v${version2}`) => `${repoUrl}/blob/${commitish}/docs/rules/${ruleName}.md`;
|
|
7501
7501
|
|
|
7502
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7502
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/create-rule.js
|
|
7503
7503
|
function RuleCreator2(urlCreator) {
|
|
7504
7504
|
return function createNamedRule({ meta: meta3, name: name3, ...rule }) {
|
|
7505
7505
|
return createRule_({
|
|
@@ -7526,7 +7526,7 @@ function createRule_({ create, defaultOptions, meta: meta3 }) {
|
|
|
7526
7526
|
}
|
|
7527
7527
|
var createRule2 = RuleCreator2(docsUrl);
|
|
7528
7528
|
|
|
7529
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7529
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/declared-scope.js
|
|
7530
7530
|
init_cjs_shims();
|
|
7531
7531
|
function declaredScope(context, node2, name3) {
|
|
7532
7532
|
const references = context.sourceCode.getScope(node2).references;
|
|
@@ -7534,10 +7534,10 @@ function declaredScope(context, node2, name3) {
|
|
|
7534
7534
|
return reference?.resolved?.scope.type;
|
|
7535
7535
|
}
|
|
7536
7536
|
|
|
7537
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7537
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/export-map.js
|
|
7538
7538
|
init_cjs_shims();
|
|
7539
7539
|
|
|
7540
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7540
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/get-value.js
|
|
7541
7541
|
init_cjs_shims();
|
|
7542
7542
|
var getValue = (node2) => {
|
|
7543
7543
|
switch (node2.type) {
|
|
@@ -7553,7 +7553,7 @@ var getValue = (node2) => {
|
|
|
7553
7553
|
}
|
|
7554
7554
|
};
|
|
7555
7555
|
|
|
7556
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7556
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/ignore.js
|
|
7557
7557
|
init_cjs_shims();
|
|
7558
7558
|
var log = debug__default.default("eslint-plugin-import-x:utils:ignore");
|
|
7559
7559
|
var cachedSet;
|
|
@@ -7602,7 +7602,7 @@ function hasValidExtension(filepath, context) {
|
|
|
7602
7602
|
return validExtensions(context).has(path16__default.default.extname(filepath));
|
|
7603
7603
|
}
|
|
7604
7604
|
|
|
7605
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7605
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/lazy-value.js
|
|
7606
7606
|
init_cjs_shims();
|
|
7607
7607
|
var lazy = (cb) => {
|
|
7608
7608
|
let isCalled = false;
|
|
@@ -7636,10 +7636,10 @@ function defineLazyProperty(object2, propertyName, valueGetter) {
|
|
|
7636
7636
|
return object2;
|
|
7637
7637
|
}
|
|
7638
7638
|
|
|
7639
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7639
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/parse.js
|
|
7640
7640
|
init_cjs_shims();
|
|
7641
7641
|
|
|
7642
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7642
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/module-require.js
|
|
7643
7643
|
init_cjs_shims();
|
|
7644
7644
|
function createModule(filename) {
|
|
7645
7645
|
const mod = new Module__default.default(filename);
|
|
@@ -7665,7 +7665,7 @@ function moduleRequire(p, sourceFile) {
|
|
|
7665
7665
|
return cjsRequire(p);
|
|
7666
7666
|
}
|
|
7667
7667
|
|
|
7668
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7668
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/parse.js
|
|
7669
7669
|
function withoutProjectParserOptions(opts) {
|
|
7670
7670
|
const { EXPERIMENTAL_useProjectService, project, projectService, ...rest } = opts;
|
|
7671
7671
|
return rest;
|
|
@@ -7759,16 +7759,16 @@ function getParserOrPath(path23, context) {
|
|
|
7759
7759
|
return null;
|
|
7760
7760
|
}
|
|
7761
7761
|
|
|
7762
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7762
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/resolve.js
|
|
7763
7763
|
init_cjs_shims();
|
|
7764
7764
|
|
|
7765
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7765
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/import-type.js
|
|
7766
7766
|
init_cjs_shims();
|
|
7767
7767
|
|
|
7768
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7768
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/package-path.js
|
|
7769
7769
|
init_cjs_shims();
|
|
7770
7770
|
|
|
7771
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7771
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/pkg-up.js
|
|
7772
7772
|
init_cjs_shims();
|
|
7773
7773
|
function findUp(filename, cwd2) {
|
|
7774
7774
|
let dir = path16__default.default.resolve(cwd2 || "");
|
|
@@ -7789,7 +7789,7 @@ function pkgUp(opts) {
|
|
|
7789
7789
|
return findUp("package.json", opts && opts.cwd);
|
|
7790
7790
|
}
|
|
7791
7791
|
|
|
7792
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7792
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/read-pkg-up.js
|
|
7793
7793
|
init_cjs_shims();
|
|
7794
7794
|
function stripBOM(str) {
|
|
7795
7795
|
return str.replace(/^\uFEFF/, "");
|
|
@@ -7809,7 +7809,7 @@ function readPkgUp(opts) {
|
|
|
7809
7809
|
}
|
|
7810
7810
|
}
|
|
7811
7811
|
|
|
7812
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7812
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/package-path.js
|
|
7813
7813
|
function getContextPackagePath(context) {
|
|
7814
7814
|
return getFilePackagePath(context.physicalFilename);
|
|
7815
7815
|
}
|
|
@@ -7824,7 +7824,7 @@ function getFilePackageName(filename) {
|
|
|
7824
7824
|
return null;
|
|
7825
7825
|
}
|
|
7826
7826
|
|
|
7827
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7827
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/import-type.js
|
|
7828
7828
|
function baseModule(name3) {
|
|
7829
7829
|
if (isScoped(name3)) {
|
|
7830
7830
|
const [scope, pkg2] = name3.split("/");
|
|
@@ -7844,9 +7844,9 @@ function isBuiltIn(name3, settings, modulePath) {
|
|
|
7844
7844
|
if (modulePath || !name3) {
|
|
7845
7845
|
return false;
|
|
7846
7846
|
}
|
|
7847
|
-
const
|
|
7847
|
+
const base2 = baseModule(name3);
|
|
7848
7848
|
const extras = settings && settings["import-x/core-modules"] || [];
|
|
7849
|
-
return Module.isBuiltin(
|
|
7849
|
+
return Module.isBuiltin(base2) || extras.includes(base2);
|
|
7850
7850
|
}
|
|
7851
7851
|
function isExternalModule(name3, modulePath, context) {
|
|
7852
7852
|
return (isModule(name3) || isScoped(name3)) && typeTest(name3, context, modulePath) === "external";
|
|
@@ -7934,23 +7934,23 @@ function importType(name3, context) {
|
|
|
7934
7934
|
return typeTest(name3, context, typeof name3 === "string" ? resolve2(name3, context) : null);
|
|
7935
7935
|
}
|
|
7936
7936
|
|
|
7937
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7937
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/legacy-resolver-settings.js
|
|
7938
7938
|
init_cjs_shims();
|
|
7939
7939
|
|
|
7940
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7940
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/pkg-dir.js
|
|
7941
7941
|
init_cjs_shims();
|
|
7942
7942
|
function pkgDir(cwd2) {
|
|
7943
7943
|
const fp = pkgUp({ cwd: cwd2 });
|
|
7944
7944
|
return fp ? path16__default.default.dirname(fp) : null;
|
|
7945
7945
|
}
|
|
7946
7946
|
|
|
7947
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7948
|
-
function resolveWithLegacyResolver(resolver,
|
|
7947
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/legacy-resolver-settings.js
|
|
7948
|
+
function resolveWithLegacyResolver(resolver, config6, modulePath, sourceFile) {
|
|
7949
7949
|
if (resolver.interfaceVersion === 2) {
|
|
7950
|
-
return resolver.resolve(modulePath, sourceFile,
|
|
7950
|
+
return resolver.resolve(modulePath, sourceFile, config6);
|
|
7951
7951
|
}
|
|
7952
7952
|
try {
|
|
7953
|
-
const resolved = resolver.resolveImport(modulePath, sourceFile,
|
|
7953
|
+
const resolved = resolver.resolveImport(modulePath, sourceFile, config6);
|
|
7954
7954
|
if (resolved === void 0) {
|
|
7955
7955
|
return {
|
|
7956
7956
|
found: false
|
|
@@ -8064,7 +8064,7 @@ function getBaseDir(sourceFile) {
|
|
|
8064
8064
|
return pkgDir(sourceFile) || process.cwd();
|
|
8065
8065
|
}
|
|
8066
8066
|
|
|
8067
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8067
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/module-cache.js
|
|
8068
8068
|
init_cjs_shims();
|
|
8069
8069
|
var log3 = debug__default.default("eslint-plugin-import-x:utils:ModuleCache");
|
|
8070
8070
|
var ModuleCache = class {
|
|
@@ -8101,7 +8101,7 @@ var ModuleCache = class {
|
|
|
8101
8101
|
}
|
|
8102
8102
|
};
|
|
8103
8103
|
|
|
8104
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8104
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/resolve.js
|
|
8105
8105
|
var importMetaUrl3 = importMetaUrl3;
|
|
8106
8106
|
var _filename = importMetaUrl3 ? url$1.fileURLToPath(importMetaUrl3) : __filename;
|
|
8107
8107
|
var _dirname = path16__default.default.dirname(_filename);
|
|
@@ -8313,7 +8313,7 @@ function importXResolverCompat(resolver, resolverOptions = {}) {
|
|
|
8313
8313
|
};
|
|
8314
8314
|
}
|
|
8315
8315
|
|
|
8316
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8316
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/unambiguous.js
|
|
8317
8317
|
init_cjs_shims();
|
|
8318
8318
|
var pattern = /(^|;)\s*(export|import)((\s+\w)|(\s*[*={]))|import\(/m;
|
|
8319
8319
|
function isMaybeUnambiguousModule(content) {
|
|
@@ -8324,7 +8324,7 @@ function isUnambiguousModule(ast) {
|
|
|
8324
8324
|
return ast.body && ast.body.some((node2) => unambiguousNodeType.test(node2.type));
|
|
8325
8325
|
}
|
|
8326
8326
|
|
|
8327
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8327
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/visit.js
|
|
8328
8328
|
init_cjs_shims();
|
|
8329
8329
|
function visit(node2, keys, visitorSpec) {
|
|
8330
8330
|
if (!node2 || !keys) {
|
|
@@ -8353,7 +8353,7 @@ function visit(node2, keys, visitorSpec) {
|
|
|
8353
8353
|
}
|
|
8354
8354
|
}
|
|
8355
8355
|
|
|
8356
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8356
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/export-map.js
|
|
8357
8357
|
var log4 = debug__default.default("eslint-plugin-import-x:ExportMap");
|
|
8358
8358
|
var exportCache = /* @__PURE__ */ new Map();
|
|
8359
8359
|
var declTypes = /* @__PURE__ */ new Set([
|
|
@@ -9039,7 +9039,7 @@ function makeContextCacheKey(context) {
|
|
|
9039
9039
|
return hash;
|
|
9040
9040
|
}
|
|
9041
9041
|
|
|
9042
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9042
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/import-declaration.js
|
|
9043
9043
|
init_cjs_shims();
|
|
9044
9044
|
var importDeclaration = (context, node2) => {
|
|
9045
9045
|
if (node2.parent && node2.parent.type === types$1.AST_NODE_TYPES.ImportDeclaration) {
|
|
@@ -9049,7 +9049,7 @@ var importDeclaration = (context, node2) => {
|
|
|
9049
9049
|
return ancestors[ancestors.length - 1];
|
|
9050
9050
|
};
|
|
9051
9051
|
|
|
9052
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9052
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/module-visitor.js
|
|
9053
9053
|
init_cjs_shims();
|
|
9054
9054
|
function moduleVisitor(visitor, options) {
|
|
9055
9055
|
const ignore2 = options?.ignore;
|
|
@@ -9168,7 +9168,7 @@ function moduleVisitor(visitor, options) {
|
|
|
9168
9168
|
return visitors;
|
|
9169
9169
|
}
|
|
9170
9170
|
function makeOptionsSchema(additionalProperties) {
|
|
9171
|
-
const
|
|
9171
|
+
const base2 = {
|
|
9172
9172
|
type: "object",
|
|
9173
9173
|
properties: {
|
|
9174
9174
|
commonjs: { type: "boolean" },
|
|
@@ -9185,14 +9185,14 @@ function makeOptionsSchema(additionalProperties) {
|
|
|
9185
9185
|
};
|
|
9186
9186
|
if (additionalProperties) {
|
|
9187
9187
|
for (const key in additionalProperties) {
|
|
9188
|
-
|
|
9188
|
+
base2.properties[key] = additionalProperties[key];
|
|
9189
9189
|
}
|
|
9190
9190
|
}
|
|
9191
|
-
return
|
|
9191
|
+
return base2;
|
|
9192
9192
|
}
|
|
9193
9193
|
makeOptionsSchema();
|
|
9194
9194
|
|
|
9195
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9195
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/npm-client.js
|
|
9196
9196
|
init_cjs_shims();
|
|
9197
9197
|
var NPM = "npm";
|
|
9198
9198
|
var NPM_CLIENTS = /* @__PURE__ */ new Set([
|
|
@@ -9213,7 +9213,7 @@ var getNpmClient = () => {
|
|
|
9213
9213
|
};
|
|
9214
9214
|
var getNpmInstallCommand = (packageName) => `${getNpmClient()} ${npmClient === NPM ? "i" : "add"} ${npmClient === "deno" ? `${NPM}:` : ""}${packageName}`;
|
|
9215
9215
|
|
|
9216
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9216
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/parse-path.js
|
|
9217
9217
|
init_cjs_shims();
|
|
9218
9218
|
var parsePath = (path23) => {
|
|
9219
9219
|
const hashIndex = path23.indexOf("#");
|
|
@@ -9227,7 +9227,7 @@ var parsePath = (path23) => {
|
|
|
9227
9227
|
};
|
|
9228
9228
|
var stringifyPath = ({ pathname, query, hash }) => pathname + query + hash;
|
|
9229
9229
|
|
|
9230
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9230
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/source-type.js
|
|
9231
9231
|
init_cjs_shims();
|
|
9232
9232
|
function sourceType(context) {
|
|
9233
9233
|
if ("languageOptions" in context && context.languageOptions) {
|
|
@@ -9243,13 +9243,13 @@ function sourceType(context) {
|
|
|
9243
9243
|
}
|
|
9244
9244
|
}
|
|
9245
9245
|
|
|
9246
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9246
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/static-require.js
|
|
9247
9247
|
init_cjs_shims();
|
|
9248
9248
|
function isStaticRequire(node2) {
|
|
9249
9249
|
return node2 && node2.callee && node2.callee.type === "Identifier" && node2.callee.name === "require" && node2.arguments.length === 1 && node2.arguments[0].type === "Literal" && typeof node2.arguments[0].value === "string";
|
|
9250
9250
|
}
|
|
9251
9251
|
|
|
9252
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9252
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/consistent-type-specifier-style.js
|
|
9253
9253
|
function isComma(token) {
|
|
9254
9254
|
return token.type === "Punctuator" && token.value === ",";
|
|
9255
9255
|
}
|
|
@@ -9415,7 +9415,7 @@ ${newImports}`)
|
|
|
9415
9415
|
}
|
|
9416
9416
|
});
|
|
9417
9417
|
|
|
9418
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9418
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/default.js
|
|
9419
9419
|
init_cjs_shims();
|
|
9420
9420
|
var default_default = createRule2({
|
|
9421
9421
|
name: "default",
|
|
@@ -9460,7 +9460,7 @@ var default_default = createRule2({
|
|
|
9460
9460
|
}
|
|
9461
9461
|
});
|
|
9462
9462
|
|
|
9463
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9463
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/dynamic-import-chunkname.js
|
|
9464
9464
|
init_cjs_shims();
|
|
9465
9465
|
var dynamic_import_chunkname_default = createRule2({
|
|
9466
9466
|
name: "dynamic-import-chunkname",
|
|
@@ -9631,7 +9631,7 @@ var dynamic_import_chunkname_default = createRule2({
|
|
|
9631
9631
|
}
|
|
9632
9632
|
});
|
|
9633
9633
|
|
|
9634
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9634
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/export.js
|
|
9635
9635
|
init_cjs_shims();
|
|
9636
9636
|
var rootProgram = "root";
|
|
9637
9637
|
var tsTypePrefix = "type:";
|
|
@@ -9784,7 +9784,7 @@ var export_default = createRule2({
|
|
|
9784
9784
|
}
|
|
9785
9785
|
});
|
|
9786
9786
|
|
|
9787
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9787
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/exports-last.js
|
|
9788
9788
|
init_cjs_shims();
|
|
9789
9789
|
var findLastIndex = (array2, predicate) => {
|
|
9790
9790
|
let i = array2.length - 1;
|
|
@@ -9832,7 +9832,7 @@ var exports_last_default = createRule2({
|
|
|
9832
9832
|
}
|
|
9833
9833
|
});
|
|
9834
9834
|
|
|
9835
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9835
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/extensions.js
|
|
9836
9836
|
init_cjs_shims();
|
|
9837
9837
|
|
|
9838
9838
|
// ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/index.js
|
|
@@ -11434,7 +11434,7 @@ minimatch.Minimatch = Minimatch;
|
|
|
11434
11434
|
minimatch.escape = escape;
|
|
11435
11435
|
minimatch.unescape = unescape;
|
|
11436
11436
|
|
|
11437
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11437
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/extensions.js
|
|
11438
11438
|
var modifierValues = ["always", "ignorePackages", "never"];
|
|
11439
11439
|
var modifierSchema = {
|
|
11440
11440
|
type: "string",
|
|
@@ -11716,7 +11716,7 @@ var extensions_default = createRule2({
|
|
|
11716
11716
|
}
|
|
11717
11717
|
});
|
|
11718
11718
|
|
|
11719
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11719
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/first.js
|
|
11720
11720
|
init_cjs_shims();
|
|
11721
11721
|
function getImportValue(node2) {
|
|
11722
11722
|
return node2.type === "ImportDeclaration" ? node2.source.value : "moduleReference" in node2 && "expression" in node2.moduleReference && "value" in node2.moduleReference.expression && node2.moduleReference.expression.value;
|
|
@@ -11851,7 +11851,7 @@ ${nodeSourceCode}`;
|
|
|
11851
11851
|
}
|
|
11852
11852
|
});
|
|
11853
11853
|
|
|
11854
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11854
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/group-exports.js
|
|
11855
11855
|
init_cjs_shims();
|
|
11856
11856
|
function accessorChain(node2) {
|
|
11857
11857
|
const chain = [];
|
|
@@ -11966,7 +11966,7 @@ var group_exports_default = createRule2({
|
|
|
11966
11966
|
}
|
|
11967
11967
|
});
|
|
11968
11968
|
|
|
11969
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11969
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/imports-first.js
|
|
11970
11970
|
init_cjs_shims();
|
|
11971
11971
|
var imports_first_default = createRule2({
|
|
11972
11972
|
...first_default,
|
|
@@ -11991,7 +11991,7 @@ var imports_first_default = createRule2({
|
|
|
11991
11991
|
}
|
|
11992
11992
|
});
|
|
11993
11993
|
|
|
11994
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11994
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/max-dependencies.js
|
|
11995
11995
|
init_cjs_shims();
|
|
11996
11996
|
var max_dependencies_default = createRule2({
|
|
11997
11997
|
name: "max-dependencies",
|
|
@@ -12044,7 +12044,7 @@ var max_dependencies_default = createRule2({
|
|
|
12044
12044
|
}
|
|
12045
12045
|
});
|
|
12046
12046
|
|
|
12047
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12047
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/named.js
|
|
12048
12048
|
init_cjs_shims();
|
|
12049
12049
|
var named_default = createRule2({
|
|
12050
12050
|
name: "named",
|
|
@@ -12170,7 +12170,7 @@ var named_default = createRule2({
|
|
|
12170
12170
|
}
|
|
12171
12171
|
});
|
|
12172
12172
|
|
|
12173
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12173
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/namespace.js
|
|
12174
12174
|
init_cjs_shims();
|
|
12175
12175
|
function processBodyStatement(context, namespaces, declaration) {
|
|
12176
12176
|
if (declaration.type !== "ImportDeclaration") {
|
|
@@ -12398,7 +12398,7 @@ var namespace_default = createRule2({
|
|
|
12398
12398
|
}
|
|
12399
12399
|
});
|
|
12400
12400
|
|
|
12401
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12401
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/newline-after-import.js
|
|
12402
12402
|
init_cjs_shims();
|
|
12403
12403
|
var log5 = debug__default.default("eslint-plugin-import-x:rules:newline-after-import");
|
|
12404
12404
|
function containsNodeOrEqual(outerNode, innerNode) {
|
|
@@ -12600,7 +12600,7 @@ var newline_after_import_default = createRule2({
|
|
|
12600
12600
|
}
|
|
12601
12601
|
});
|
|
12602
12602
|
|
|
12603
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12603
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-absolute-path.js
|
|
12604
12604
|
init_cjs_shims();
|
|
12605
12605
|
var no_absolute_path_default = createRule2({
|
|
12606
12606
|
name: "no-absolute-path",
|
|
@@ -12638,7 +12638,7 @@ var no_absolute_path_default = createRule2({
|
|
|
12638
12638
|
}
|
|
12639
12639
|
});
|
|
12640
12640
|
|
|
12641
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12641
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-amd.js
|
|
12642
12642
|
init_cjs_shims();
|
|
12643
12643
|
var no_amd_default = createRule2({
|
|
12644
12644
|
name: "no-amd",
|
|
@@ -12685,7 +12685,7 @@ var no_amd_default = createRule2({
|
|
|
12685
12685
|
}
|
|
12686
12686
|
});
|
|
12687
12687
|
|
|
12688
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12688
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-anonymous-default-export.js
|
|
12689
12689
|
init_cjs_shims();
|
|
12690
12690
|
var { hasOwnProperty } = Object.prototype;
|
|
12691
12691
|
var hasOwn = (object2, key) => hasOwnProperty.call(object2, key);
|
|
@@ -12819,7 +12819,7 @@ var no_anonymous_default_export_default = createRule2({
|
|
|
12819
12819
|
}
|
|
12820
12820
|
});
|
|
12821
12821
|
|
|
12822
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12822
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-commonjs.js
|
|
12823
12823
|
init_cjs_shims();
|
|
12824
12824
|
function normalizeLegacyOptions(options) {
|
|
12825
12825
|
if (options.includes("allow-primitive-modules")) {
|
|
@@ -12942,7 +12942,7 @@ var no_commonjs_default = createRule2({
|
|
|
12942
12942
|
}
|
|
12943
12943
|
});
|
|
12944
12944
|
|
|
12945
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12945
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-cycle.js
|
|
12946
12946
|
init_cjs_shims();
|
|
12947
12947
|
var traversed = /* @__PURE__ */ new Set();
|
|
12948
12948
|
var no_cycle_default = createRule2({
|
|
@@ -13071,7 +13071,7 @@ function routeString(route) {
|
|
|
13071
13071
|
return route.map((s) => `${s.value}:${s.loc.start.line}`).join("=>");
|
|
13072
13072
|
}
|
|
13073
13073
|
|
|
13074
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13074
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-default-export.js
|
|
13075
13075
|
init_cjs_shims();
|
|
13076
13076
|
var no_default_export_default = createRule2({
|
|
13077
13077
|
name: "no-default-export",
|
|
@@ -13127,7 +13127,7 @@ var no_default_export_default = createRule2({
|
|
|
13127
13127
|
}
|
|
13128
13128
|
});
|
|
13129
13129
|
|
|
13130
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13130
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-deprecated.js
|
|
13131
13131
|
init_cjs_shims();
|
|
13132
13132
|
function message(deprecation) {
|
|
13133
13133
|
if (deprecation.description) {
|
|
@@ -13285,7 +13285,7 @@ var no_deprecated_default = createRule2({
|
|
|
13285
13285
|
}
|
|
13286
13286
|
});
|
|
13287
13287
|
|
|
13288
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13288
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-duplicates.js
|
|
13289
13289
|
init_cjs_shims();
|
|
13290
13290
|
var isTypeScriptVersionSupportPreferInline = lazy(() => {
|
|
13291
13291
|
let typescriptPkg;
|
|
@@ -13558,7 +13558,7 @@ var no_duplicates_default = createRule2({
|
|
|
13558
13558
|
}
|
|
13559
13559
|
});
|
|
13560
13560
|
|
|
13561
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13561
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-dynamic-require.js
|
|
13562
13562
|
init_cjs_shims();
|
|
13563
13563
|
function isRequire(node2) {
|
|
13564
13564
|
return node2.callee?.type === "Identifier" && node2.callee.name === "require" && node2.arguments.length > 0;
|
|
@@ -13627,7 +13627,7 @@ var no_dynamic_require_default = createRule2({
|
|
|
13627
13627
|
}
|
|
13628
13628
|
});
|
|
13629
13629
|
|
|
13630
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13630
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-empty-named-blocks.js
|
|
13631
13631
|
init_cjs_shims();
|
|
13632
13632
|
function getEmptyBlockRange(tokens, index) {
|
|
13633
13633
|
const token = tokens[index];
|
|
@@ -13725,7 +13725,7 @@ var no_empty_named_blocks_default = createRule2({
|
|
|
13725
13725
|
}
|
|
13726
13726
|
});
|
|
13727
13727
|
|
|
13728
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13728
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-extraneous-dependencies.js
|
|
13729
13729
|
init_cjs_shims();
|
|
13730
13730
|
var depFieldCache = /* @__PURE__ */ new Map();
|
|
13731
13731
|
var minimatch2 = minimatch;
|
|
@@ -13907,12 +13907,12 @@ function reportIfMissing(context, deps, depsOptions, node2, name3, whitelist) {
|
|
|
13907
13907
|
}
|
|
13908
13908
|
});
|
|
13909
13909
|
}
|
|
13910
|
-
function testConfig(
|
|
13911
|
-
if (typeof
|
|
13912
|
-
return
|
|
13910
|
+
function testConfig(config6, context) {
|
|
13911
|
+
if (typeof config6 === "boolean" || config6 === void 0) {
|
|
13912
|
+
return config6;
|
|
13913
13913
|
}
|
|
13914
13914
|
const filename = context.physicalFilename;
|
|
13915
|
-
return
|
|
13915
|
+
return config6.some((c) => minimatch2(filename, c) || minimatch2(filename, path16__default.default.resolve(context.cwd, c), {
|
|
13916
13916
|
windowsPathsNoEscape: true
|
|
13917
13917
|
}) || minimatch2(filename, path16__default.default.resolve(c), { windowsPathsNoEscape: true }));
|
|
13918
13918
|
}
|
|
@@ -13971,7 +13971,7 @@ var no_extraneous_dependencies_default = createRule2({
|
|
|
13971
13971
|
}
|
|
13972
13972
|
});
|
|
13973
13973
|
|
|
13974
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13974
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-import-module-exports.js
|
|
13975
13975
|
init_cjs_shims();
|
|
13976
13976
|
function getEntryPoint(context) {
|
|
13977
13977
|
const pkgPath = pkgUp({
|
|
@@ -14053,7 +14053,7 @@ var no_import_module_exports_default = createRule2({
|
|
|
14053
14053
|
}
|
|
14054
14054
|
});
|
|
14055
14055
|
|
|
14056
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14056
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-internal-modules.js
|
|
14057
14057
|
init_cjs_shims();
|
|
14058
14058
|
function normalizeSep(somePath) {
|
|
14059
14059
|
return somePath.split("\\").join("/");
|
|
@@ -14170,7 +14170,7 @@ var no_internal_modules_default = createRule2({
|
|
|
14170
14170
|
}
|
|
14171
14171
|
});
|
|
14172
14172
|
|
|
14173
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14173
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-mutable-exports.js
|
|
14174
14174
|
init_cjs_shims();
|
|
14175
14175
|
var no_mutable_exports_default = createRule2({
|
|
14176
14176
|
name: "no-mutable-exports",
|
|
@@ -14230,7 +14230,7 @@ var no_mutable_exports_default = createRule2({
|
|
|
14230
14230
|
}
|
|
14231
14231
|
});
|
|
14232
14232
|
|
|
14233
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14233
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-named-as-default-member.js
|
|
14234
14234
|
init_cjs_shims();
|
|
14235
14235
|
var no_named_as_default_member_default = createRule2({
|
|
14236
14236
|
name: "no-named-as-default-member",
|
|
@@ -14317,7 +14317,7 @@ var no_named_as_default_member_default = createRule2({
|
|
|
14317
14317
|
}
|
|
14318
14318
|
});
|
|
14319
14319
|
|
|
14320
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14320
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-named-as-default.js
|
|
14321
14321
|
init_cjs_shims();
|
|
14322
14322
|
var no_named_as_default_default = createRule2({
|
|
14323
14323
|
name: "no-named-as-default",
|
|
@@ -14373,7 +14373,7 @@ var no_named_as_default_default = createRule2({
|
|
|
14373
14373
|
}
|
|
14374
14374
|
});
|
|
14375
14375
|
|
|
14376
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14376
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-named-default.js
|
|
14377
14377
|
init_cjs_shims();
|
|
14378
14378
|
var no_named_default_default = createRule2({
|
|
14379
14379
|
name: "no-named-default",
|
|
@@ -14411,7 +14411,7 @@ var no_named_default_default = createRule2({
|
|
|
14411
14411
|
}
|
|
14412
14412
|
});
|
|
14413
14413
|
|
|
14414
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14414
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-named-export.js
|
|
14415
14415
|
init_cjs_shims();
|
|
14416
14416
|
var no_named_export_default = createRule2({
|
|
14417
14417
|
name: "no-named-export",
|
|
@@ -14448,7 +14448,7 @@ var no_named_export_default = createRule2({
|
|
|
14448
14448
|
}
|
|
14449
14449
|
});
|
|
14450
14450
|
|
|
14451
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14451
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-namespace.js
|
|
14452
14452
|
init_cjs_shims();
|
|
14453
14453
|
var no_namespace_default = createRule2({
|
|
14454
14454
|
name: "no-namespace",
|
|
@@ -14571,7 +14571,7 @@ function generateLocalNames(names, nameConflicts, namespaceName) {
|
|
|
14571
14571
|
return localNames;
|
|
14572
14572
|
}
|
|
14573
14573
|
|
|
14574
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14574
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-nodejs-modules.js
|
|
14575
14575
|
init_cjs_shims();
|
|
14576
14576
|
var no_nodejs_modules_default = createRule2({
|
|
14577
14577
|
name: "no-nodejs-modules",
|
|
@@ -14619,7 +14619,7 @@ var no_nodejs_modules_default = createRule2({
|
|
|
14619
14619
|
}
|
|
14620
14620
|
});
|
|
14621
14621
|
|
|
14622
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14622
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-relative-packages.js
|
|
14623
14623
|
init_cjs_shims();
|
|
14624
14624
|
function toPosixPath(filePath) {
|
|
14625
14625
|
return filePath.replaceAll("\\", "/");
|
|
@@ -14679,7 +14679,7 @@ var no_relative_packages_default = createRule2({
|
|
|
14679
14679
|
}
|
|
14680
14680
|
});
|
|
14681
14681
|
|
|
14682
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14682
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-relative-parent-imports.js
|
|
14683
14683
|
init_cjs_shims();
|
|
14684
14684
|
var no_relative_parent_imports_default = createRule2({
|
|
14685
14685
|
name: "no-relative-parent-imports",
|
|
@@ -14724,7 +14724,7 @@ var no_relative_parent_imports_default = createRule2({
|
|
|
14724
14724
|
}
|
|
14725
14725
|
});
|
|
14726
14726
|
|
|
14727
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14727
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-rename-default.js
|
|
14728
14728
|
init_cjs_shims();
|
|
14729
14729
|
var no_rename_default_default = createRule2({
|
|
14730
14730
|
name: "no-rename-default",
|
|
@@ -14964,7 +14964,7 @@ function getDefaultExportNode(exportMap) {
|
|
|
14964
14964
|
}
|
|
14965
14965
|
}
|
|
14966
14966
|
|
|
14967
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14967
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-restricted-paths.js
|
|
14968
14968
|
init_cjs_shims();
|
|
14969
14969
|
var containsPath = (filepath, target) => {
|
|
14970
14970
|
const relative3 = path16__default.default.relative(target, filepath);
|
|
@@ -15165,7 +15165,7 @@ var no_restricted_paths_default = createRule2({
|
|
|
15165
15165
|
}
|
|
15166
15166
|
});
|
|
15167
15167
|
|
|
15168
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
15168
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-self-import.js
|
|
15169
15169
|
init_cjs_shims();
|
|
15170
15170
|
function isImportingSelf(context, node2, requireName) {
|
|
15171
15171
|
const filename = context.physicalFilename;
|
|
@@ -15198,7 +15198,7 @@ var no_self_import_default = createRule2({
|
|
|
15198
15198
|
}
|
|
15199
15199
|
});
|
|
15200
15200
|
|
|
15201
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
15201
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-unassigned-import.js
|
|
15202
15202
|
init_cjs_shims();
|
|
15203
15203
|
function testIsAllow(globs, context, source) {
|
|
15204
15204
|
if (!Array.isArray(globs)) {
|
|
@@ -15268,7 +15268,7 @@ var no_unassigned_import_default = createRule2({
|
|
|
15268
15268
|
}
|
|
15269
15269
|
});
|
|
15270
15270
|
|
|
15271
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
15271
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-unresolved.js
|
|
15272
15272
|
init_cjs_shims();
|
|
15273
15273
|
var no_unresolved_default = createRule2({
|
|
15274
15274
|
name: "no-unresolved",
|
|
@@ -15323,7 +15323,7 @@ var no_unresolved_default = createRule2({
|
|
|
15323
15323
|
}
|
|
15324
15324
|
});
|
|
15325
15325
|
|
|
15326
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
15326
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-unused-modules.js
|
|
15327
15327
|
init_cjs_shims();
|
|
15328
15328
|
function isESLint9UnsupportedApi(input) {
|
|
15329
15329
|
return typeof input === "object" && input !== null && "shouldUseFlatConfig" in input && "FileEnumerator" in eslintUnsupportedApi__default.default;
|
|
@@ -16059,7 +16059,7 @@ In the meantime, if you want to keep this rule enabled, you can suppress this wa
|
|
|
16059
16059
|
}
|
|
16060
16060
|
});
|
|
16061
16061
|
|
|
16062
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
16062
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-useless-path-segments.js
|
|
16063
16063
|
init_cjs_shims();
|
|
16064
16064
|
function toRelativePath(relativePath) {
|
|
16065
16065
|
const stripped = relativePath.replaceAll(/\/$/g, "");
|
|
@@ -16156,7 +16156,7 @@ var no_useless_path_segments_default = createRule2({
|
|
|
16156
16156
|
}
|
|
16157
16157
|
});
|
|
16158
16158
|
|
|
16159
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
16159
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-webpack-loader-syntax.js
|
|
16160
16160
|
init_cjs_shims();
|
|
16161
16161
|
var no_webpack_loader_syntax_default = createRule2({
|
|
16162
16162
|
name: "no-webpack-loader-syntax",
|
|
@@ -16187,7 +16187,7 @@ var no_webpack_loader_syntax_default = createRule2({
|
|
|
16187
16187
|
}
|
|
16188
16188
|
});
|
|
16189
16189
|
|
|
16190
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
16190
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/order.js
|
|
16191
16191
|
init_cjs_shims();
|
|
16192
16192
|
var log6 = debug__default.default("eslint-plugin-import-x:rules:order");
|
|
16193
16193
|
var groupBy = (array2, grouper) => array2.reduce((acc, curr, index) => {
|
|
@@ -17232,7 +17232,7 @@ var order_default = createRule2({
|
|
|
17232
17232
|
}
|
|
17233
17233
|
});
|
|
17234
17234
|
|
|
17235
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
17235
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/prefer-default-export.js
|
|
17236
17236
|
init_cjs_shims();
|
|
17237
17237
|
var prefer_default_export_default = createRule2({
|
|
17238
17238
|
name: "prefer-default-export",
|
|
@@ -17338,7 +17338,7 @@ var prefer_default_export_default = createRule2({
|
|
|
17338
17338
|
}
|
|
17339
17339
|
});
|
|
17340
17340
|
|
|
17341
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
17341
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/prefer-namespace-import.js
|
|
17342
17342
|
init_cjs_shims();
|
|
17343
17343
|
var prefer_namespace_import_default = createRule2({
|
|
17344
17344
|
name: "prefer-namespace-import",
|
|
@@ -17420,7 +17420,7 @@ function toRegExp(string3) {
|
|
|
17420
17420
|
return { test: (s) => s === string3 };
|
|
17421
17421
|
}
|
|
17422
17422
|
|
|
17423
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
17423
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/unambiguous.js
|
|
17424
17424
|
init_cjs_shims();
|
|
17425
17425
|
var unambiguous_default = createRule2({
|
|
17426
17426
|
name: "unambiguous",
|
|
@@ -17453,7 +17453,7 @@ var unambiguous_default = createRule2({
|
|
|
17453
17453
|
}
|
|
17454
17454
|
});
|
|
17455
17455
|
|
|
17456
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
17456
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/index.js
|
|
17457
17457
|
var rules2 = {
|
|
17458
17458
|
"no-unresolved": no_unresolved_default,
|
|
17459
17459
|
named: named_default,
|
|
@@ -17548,7 +17548,7 @@ plugin2.flatConfigs = flatConfigs;
|
|
|
17548
17548
|
plugin2.configs = configs2;
|
|
17549
17549
|
var lib_default = plugin2;
|
|
17550
17550
|
|
|
17551
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-zod@1.2.1_@typescript-eslint+utils@8.61.
|
|
17551
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-zod@1.2.1_@typescript-eslint+utils@8.61.1_eslint@10.5.0_jiti@2.7.0_e8d07a3cae38c0c20a435ef4b1c79561/node_modules/eslint-plugin-import-zod/dist/index.mjs
|
|
17552
17552
|
init_cjs_shims();
|
|
17553
17553
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
17554
17554
|
var __esm2 = (fn, res) => function() {
|
|
@@ -19873,7 +19873,7 @@ plugin3.configs = configs3;
|
|
|
19873
19873
|
|
|
19874
19874
|
// ../eslint-plugin-pnpm/package.json
|
|
19875
19875
|
var package_default2 = {
|
|
19876
|
-
version: "0.0.
|
|
19876
|
+
version: "0.0.33"};
|
|
19877
19877
|
|
|
19878
19878
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
19879
19879
|
var plugin4 = {
|
|
@@ -20071,9 +20071,9 @@ var ReactRouterPackages = [
|
|
|
20071
20071
|
"@react-router/serve",
|
|
20072
20072
|
"@react-router/dev"
|
|
20073
20073
|
];
|
|
20074
|
-
function renameRules2(
|
|
20074
|
+
function renameRules2(config6) {
|
|
20075
20075
|
const renamedRules = {};
|
|
20076
|
-
for (const [ruleName, ruleConfig] of Object.entries(
|
|
20076
|
+
for (const [ruleName, ruleConfig] of Object.entries(config6.rules || {})) {
|
|
20077
20077
|
if (ruleName.startsWith("@eslint-react/dom-")) {
|
|
20078
20078
|
renamedRules[`react-dom/${ruleName.slice("@eslint-react/dom-".length)}`] = ruleConfig;
|
|
20079
20079
|
} else if (ruleName.startsWith("@eslint-react/web-api-")) {
|
|
@@ -20306,21 +20306,21 @@ async function reactNative(options = {}) {
|
|
|
20306
20306
|
// src/configs/regexp.ts
|
|
20307
20307
|
init_cjs_shims();
|
|
20308
20308
|
async function regexp(options = {}) {
|
|
20309
|
-
const
|
|
20310
|
-
const
|
|
20311
|
-
...
|
|
20309
|
+
const config6 = eslintPluginRegexp.configs["flat/recommended"];
|
|
20310
|
+
const rules6 = {
|
|
20311
|
+
...config6.rules
|
|
20312
20312
|
};
|
|
20313
20313
|
if (options.level === "warn") {
|
|
20314
|
-
for (const key in
|
|
20315
|
-
if (
|
|
20314
|
+
for (const key in rules6) {
|
|
20315
|
+
if (rules6[key] === "error") rules6[key] = "warn";
|
|
20316
20316
|
}
|
|
20317
20317
|
}
|
|
20318
20318
|
return [
|
|
20319
20319
|
{
|
|
20320
|
-
...
|
|
20320
|
+
...config6,
|
|
20321
20321
|
name: "storm/regexp/rules",
|
|
20322
20322
|
rules: {
|
|
20323
|
-
...
|
|
20323
|
+
...rules6,
|
|
20324
20324
|
"regexp/no-unused-capturing-group": [
|
|
20325
20325
|
"error",
|
|
20326
20326
|
{
|
|
@@ -20743,7 +20743,61 @@ async function toml(options = {}) {
|
|
|
20743
20743
|
|
|
20744
20744
|
// src/configs/tsdoc.ts
|
|
20745
20745
|
init_cjs_shims();
|
|
20746
|
+
|
|
20747
|
+
// ../eslint-plugin-tsdoc/src/index.ts
|
|
20748
|
+
init_cjs_shims();
|
|
20749
|
+
|
|
20750
|
+
// ../eslint-plugin-tsdoc/src/configs/index.ts
|
|
20751
|
+
init_cjs_shims();
|
|
20752
|
+
|
|
20753
|
+
// ../eslint-plugin-tsdoc/src/configs/recommended.ts
|
|
20754
|
+
init_cjs_shims();
|
|
20755
|
+
|
|
20756
|
+
// ../eslint-plugin-tsdoc/src/plugin.ts
|
|
20757
|
+
init_cjs_shims();
|
|
20746
20758
|
var import_eslint_plugin_tsdoc = __toESM(require_lib());
|
|
20759
|
+
|
|
20760
|
+
// ../eslint-plugin-tsdoc/package.json
|
|
20761
|
+
var package_default3 = {
|
|
20762
|
+
version: "0.0.33"};
|
|
20763
|
+
|
|
20764
|
+
// ../eslint-plugin-tsdoc/src/plugin.ts
|
|
20765
|
+
var plugin7 = {
|
|
20766
|
+
...import_eslint_plugin_tsdoc.default,
|
|
20767
|
+
meta: {
|
|
20768
|
+
name: "tsdoc",
|
|
20769
|
+
version: package_default3.version
|
|
20770
|
+
}
|
|
20771
|
+
};
|
|
20772
|
+
|
|
20773
|
+
// ../eslint-plugin-tsdoc/src/configs/recommended.ts
|
|
20774
|
+
var config5 = {
|
|
20775
|
+
files: [GLOB_TS, GLOB_TSX],
|
|
20776
|
+
ignores: GLOB_EXCLUDE,
|
|
20777
|
+
name: "tsdoc/recommended",
|
|
20778
|
+
plugins: {
|
|
20779
|
+
tsdoc: plugin7
|
|
20780
|
+
},
|
|
20781
|
+
rules: {
|
|
20782
|
+
"tsdoc/syntax": ["error", { type: "recommended" }]
|
|
20783
|
+
}
|
|
20784
|
+
};
|
|
20785
|
+
var recommended_default5 = config5;
|
|
20786
|
+
|
|
20787
|
+
// ../eslint-plugin-tsdoc/src/configs/index.ts
|
|
20788
|
+
var configs6 = {
|
|
20789
|
+
recommended: recommended_default5
|
|
20790
|
+
};
|
|
20791
|
+
|
|
20792
|
+
// ../eslint-plugin-tsdoc/src/index.ts
|
|
20793
|
+
var eslintPlugin3 = {
|
|
20794
|
+
...plugin7,
|
|
20795
|
+
configs: configs6
|
|
20796
|
+
};
|
|
20797
|
+
var src_default3 = eslintPlugin3;
|
|
20798
|
+
plugin7.rules;
|
|
20799
|
+
|
|
20800
|
+
// src/configs/tsdoc.ts
|
|
20747
20801
|
async function tsdoc(options = {}) {
|
|
20748
20802
|
const {
|
|
20749
20803
|
severity = "error",
|
|
@@ -20756,7 +20810,7 @@ async function tsdoc(options = {}) {
|
|
|
20756
20810
|
files,
|
|
20757
20811
|
name: "storm/tsdoc/rules",
|
|
20758
20812
|
plugins: {
|
|
20759
|
-
tsdoc:
|
|
20813
|
+
tsdoc: src_default3
|
|
20760
20814
|
},
|
|
20761
20815
|
rules: {
|
|
20762
20816
|
"tsdoc/syntax": [
|
|
@@ -21303,10 +21357,10 @@ function preset(options, ...userConfigs) {
|
|
|
21303
21357
|
if (stylisticOptions && !("jsx" in stylisticOptions)) {
|
|
21304
21358
|
stylisticOptions.jsx = enableJsx;
|
|
21305
21359
|
}
|
|
21306
|
-
const
|
|
21360
|
+
const configs7 = [];
|
|
21307
21361
|
if (enableGitignore) {
|
|
21308
21362
|
if (typeof enableGitignore !== "boolean") {
|
|
21309
|
-
|
|
21363
|
+
configs7.push(
|
|
21310
21364
|
interopDefault(import('eslint-config-flat-gitignore')).then((r) => [
|
|
21311
21365
|
r({
|
|
21312
21366
|
name: "storm/gitignore",
|
|
@@ -21315,7 +21369,7 @@ function preset(options, ...userConfigs) {
|
|
|
21315
21369
|
])
|
|
21316
21370
|
);
|
|
21317
21371
|
} else {
|
|
21318
|
-
|
|
21372
|
+
configs7.push(
|
|
21319
21373
|
interopDefault(import('eslint-config-flat-gitignore')).then((r) => [
|
|
21320
21374
|
r({
|
|
21321
21375
|
name: "storm/gitignore",
|
|
@@ -21325,7 +21379,7 @@ function preset(options, ...userConfigs) {
|
|
|
21325
21379
|
);
|
|
21326
21380
|
}
|
|
21327
21381
|
}
|
|
21328
|
-
|
|
21382
|
+
configs7.push(
|
|
21329
21383
|
ignores(options.ignores),
|
|
21330
21384
|
javascript({
|
|
21331
21385
|
globals,
|
|
@@ -21350,7 +21404,7 @@ function preset(options, ...userConfigs) {
|
|
|
21350
21404
|
}
|
|
21351
21405
|
}
|
|
21352
21406
|
if (enableTypeScript) {
|
|
21353
|
-
|
|
21407
|
+
configs7.push(
|
|
21354
21408
|
typescript({
|
|
21355
21409
|
...typescriptOptions,
|
|
21356
21410
|
tsconfigPath: typescriptOptions.tsconfigPath === false ? void 0 : typescriptOptions.tsconfigPath,
|
|
@@ -21361,7 +21415,7 @@ function preset(options, ...userConfigs) {
|
|
|
21361
21415
|
);
|
|
21362
21416
|
}
|
|
21363
21417
|
if (enableBanner) {
|
|
21364
|
-
|
|
21418
|
+
configs7.push(
|
|
21365
21419
|
banner({
|
|
21366
21420
|
...resolveSubOptions(options, "banner"),
|
|
21367
21421
|
name: name3,
|
|
@@ -21370,16 +21424,16 @@ function preset(options, ...userConfigs) {
|
|
|
21370
21424
|
);
|
|
21371
21425
|
}
|
|
21372
21426
|
if (!stylisticOptions) {
|
|
21373
|
-
|
|
21427
|
+
configs7.push(prettier());
|
|
21374
21428
|
}
|
|
21375
21429
|
if (enableCSpell) {
|
|
21376
|
-
|
|
21430
|
+
configs7.push(cspell(resolveSubOptions(options, "cspell")));
|
|
21377
21431
|
}
|
|
21378
21432
|
if (enableUnicorn) {
|
|
21379
|
-
|
|
21433
|
+
configs7.push(unicorn(enableUnicorn === true ? {} : enableUnicorn));
|
|
21380
21434
|
}
|
|
21381
21435
|
if (enableJSDoc) {
|
|
21382
|
-
|
|
21436
|
+
configs7.push(
|
|
21383
21437
|
jsdoc({
|
|
21384
21438
|
...resolveSubOptions(options, "jsdoc"),
|
|
21385
21439
|
overrides: getOverrides(options, "jsdoc")
|
|
@@ -21387,7 +21441,7 @@ function preset(options, ...userConfigs) {
|
|
|
21387
21441
|
);
|
|
21388
21442
|
}
|
|
21389
21443
|
if (enableTSDoc) {
|
|
21390
|
-
|
|
21444
|
+
configs7.push(
|
|
21391
21445
|
tsdoc({
|
|
21392
21446
|
...resolveSubOptions(options, "tsdoc"),
|
|
21393
21447
|
overrides: getOverrides(options, "tsdoc")
|
|
@@ -21395,17 +21449,17 @@ function preset(options, ...userConfigs) {
|
|
|
21395
21449
|
);
|
|
21396
21450
|
}
|
|
21397
21451
|
if (enableJsx) {
|
|
21398
|
-
|
|
21452
|
+
configs7.push(jsx());
|
|
21399
21453
|
}
|
|
21400
21454
|
if (enableZod) {
|
|
21401
|
-
|
|
21455
|
+
configs7.push(
|
|
21402
21456
|
zod({
|
|
21403
21457
|
overrides: getOverrides(options, "zod")
|
|
21404
21458
|
})
|
|
21405
21459
|
);
|
|
21406
21460
|
}
|
|
21407
21461
|
if (stylisticOptions) {
|
|
21408
|
-
|
|
21462
|
+
configs7.push(
|
|
21409
21463
|
stylistic({
|
|
21410
21464
|
...stylisticOptions,
|
|
21411
21465
|
lineEndings: stylisticOptions.lineEndings ?? "unix",
|
|
@@ -21415,10 +21469,10 @@ function preset(options, ...userConfigs) {
|
|
|
21415
21469
|
);
|
|
21416
21470
|
}
|
|
21417
21471
|
if (enableRegexp) {
|
|
21418
|
-
|
|
21472
|
+
configs7.push(regexp(typeof enableRegexp === "boolean" ? {} : enableRegexp));
|
|
21419
21473
|
}
|
|
21420
21474
|
if (enableTest) {
|
|
21421
|
-
|
|
21475
|
+
configs7.push(
|
|
21422
21476
|
test({
|
|
21423
21477
|
isInEditor,
|
|
21424
21478
|
overrides: getOverrides(options, "test")
|
|
@@ -21426,10 +21480,10 @@ function preset(options, ...userConfigs) {
|
|
|
21426
21480
|
);
|
|
21427
21481
|
}
|
|
21428
21482
|
if (enableGraphQL) {
|
|
21429
|
-
|
|
21483
|
+
configs7.push(graphql(resolveSubOptions(options, "graphql")));
|
|
21430
21484
|
}
|
|
21431
21485
|
if (enableReact) {
|
|
21432
|
-
|
|
21486
|
+
configs7.push(
|
|
21433
21487
|
react({
|
|
21434
21488
|
...typescriptOptions,
|
|
21435
21489
|
tsconfigPath: typescriptOptions.tsconfigPath === false ? void 0 : typescriptOptions.tsconfigPath,
|
|
@@ -21439,7 +21493,7 @@ function preset(options, ...userConfigs) {
|
|
|
21439
21493
|
);
|
|
21440
21494
|
}
|
|
21441
21495
|
if (enableReactNative) {
|
|
21442
|
-
|
|
21496
|
+
configs7.push(
|
|
21443
21497
|
reactNative({
|
|
21444
21498
|
...resolveSubOptions(options, "react-native"),
|
|
21445
21499
|
overrides: getOverrides(options, "react-native")
|
|
@@ -21447,13 +21501,13 @@ function preset(options, ...userConfigs) {
|
|
|
21447
21501
|
);
|
|
21448
21502
|
}
|
|
21449
21503
|
if (enableNext) {
|
|
21450
|
-
|
|
21504
|
+
configs7.push(next(resolveSubOptions(options, "next")));
|
|
21451
21505
|
}
|
|
21452
21506
|
if (enableStorybook) {
|
|
21453
|
-
|
|
21507
|
+
configs7.push(storybook(resolveSubOptions(options, "storybook")));
|
|
21454
21508
|
}
|
|
21455
21509
|
if (enableUnoCSS) {
|
|
21456
|
-
|
|
21510
|
+
configs7.push(
|
|
21457
21511
|
unocss({
|
|
21458
21512
|
...resolveSubOptions(options, "unocss"),
|
|
21459
21513
|
overrides: getOverrides(options, "unocss")
|
|
@@ -21461,7 +21515,7 @@ function preset(options, ...userConfigs) {
|
|
|
21461
21515
|
);
|
|
21462
21516
|
}
|
|
21463
21517
|
if (enableAstro) {
|
|
21464
|
-
|
|
21518
|
+
configs7.push(
|
|
21465
21519
|
astro({
|
|
21466
21520
|
overrides: getOverrides(options, "astro"),
|
|
21467
21521
|
stylistic: stylisticOptions
|
|
@@ -21469,7 +21523,7 @@ function preset(options, ...userConfigs) {
|
|
|
21469
21523
|
);
|
|
21470
21524
|
}
|
|
21471
21525
|
if (options.pnpm ?? true) {
|
|
21472
|
-
|
|
21526
|
+
configs7.push(
|
|
21473
21527
|
pnpm({
|
|
21474
21528
|
overrides: getOverrides(options, "pnpm"),
|
|
21475
21529
|
ignore: typeof options.pnpm !== "boolean" ? options.pnpm?.ignore : void 0
|
|
@@ -21477,7 +21531,7 @@ function preset(options, ...userConfigs) {
|
|
|
21477
21531
|
);
|
|
21478
21532
|
}
|
|
21479
21533
|
if (options.jsonc ?? true) {
|
|
21480
|
-
|
|
21534
|
+
configs7.push(
|
|
21481
21535
|
jsonc({
|
|
21482
21536
|
overrides: getOverrides(options, "jsonc"),
|
|
21483
21537
|
stylistic: stylisticOptions
|
|
@@ -21485,11 +21539,11 @@ function preset(options, ...userConfigs) {
|
|
|
21485
21539
|
sortTsconfig()
|
|
21486
21540
|
);
|
|
21487
21541
|
if (stylisticOptions) {
|
|
21488
|
-
|
|
21542
|
+
configs7.push(sortPackageJson());
|
|
21489
21543
|
}
|
|
21490
21544
|
}
|
|
21491
21545
|
if (options.yaml ?? true) {
|
|
21492
|
-
|
|
21546
|
+
configs7.push(
|
|
21493
21547
|
yaml({
|
|
21494
21548
|
overrides: getOverrides(options, "yaml"),
|
|
21495
21549
|
stylistic: stylisticOptions
|
|
@@ -21497,7 +21551,7 @@ function preset(options, ...userConfigs) {
|
|
|
21497
21551
|
);
|
|
21498
21552
|
}
|
|
21499
21553
|
if (options.toml ?? true) {
|
|
21500
|
-
|
|
21554
|
+
configs7.push(
|
|
21501
21555
|
toml({
|
|
21502
21556
|
overrides: getOverrides(options, "toml"),
|
|
21503
21557
|
stylistic: stylisticOptions
|
|
@@ -21505,28 +21559,28 @@ function preset(options, ...userConfigs) {
|
|
|
21505
21559
|
);
|
|
21506
21560
|
}
|
|
21507
21561
|
if (options.markdown === true) {
|
|
21508
|
-
|
|
21562
|
+
configs7.push(
|
|
21509
21563
|
markdown({
|
|
21510
21564
|
overrides: getOverrides(options, "markdown")
|
|
21511
21565
|
})
|
|
21512
21566
|
);
|
|
21513
21567
|
}
|
|
21514
21568
|
if (enableMdx) {
|
|
21515
|
-
|
|
21569
|
+
configs7.push(
|
|
21516
21570
|
mdx({
|
|
21517
21571
|
overrides: getOverrides(options, "mdx")
|
|
21518
21572
|
})
|
|
21519
21573
|
);
|
|
21520
21574
|
}
|
|
21521
21575
|
if (options.formatters) {
|
|
21522
|
-
|
|
21576
|
+
configs7.push(
|
|
21523
21577
|
formatters(
|
|
21524
21578
|
options.formatters,
|
|
21525
21579
|
typeof stylisticOptions === "boolean" ? {} : stylisticOptions
|
|
21526
21580
|
)
|
|
21527
21581
|
);
|
|
21528
21582
|
}
|
|
21529
|
-
|
|
21583
|
+
configs7.push(disables());
|
|
21530
21584
|
if ("files" in options) {
|
|
21531
21585
|
throw new Error(
|
|
21532
21586
|
'[@storm-software/eslint] The first argument should not contain the "files" property as the options are supposed to be global. Place it in the second or later config instead.'
|
|
@@ -21538,10 +21592,10 @@ function preset(options, ...userConfigs) {
|
|
|
21538
21592
|
}
|
|
21539
21593
|
return acc;
|
|
21540
21594
|
}, {});
|
|
21541
|
-
if (Object.keys(fusedConfig).length)
|
|
21595
|
+
if (Object.keys(fusedConfig).length) configs7.push([fusedConfig]);
|
|
21542
21596
|
let composer = new eslintFlatConfigUtils.FlatConfigComposer();
|
|
21543
21597
|
composer = composer.append(
|
|
21544
|
-
...
|
|
21598
|
+
...configs7,
|
|
21545
21599
|
...userConfigs
|
|
21546
21600
|
);
|
|
21547
21601
|
if (autoRenamePlugins) {
|