@vinicunca/eslint-config 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import { FlatConfigComposer } from "eslint-flat-config-utils";
2
2
  import process from "node:process";
3
- import fs from "node:fs/promises";
3
+ import fsPromises from "node:fs/promises";
4
4
  import { fileURLToPath } from "node:url";
5
- import fs$1 from "node:fs";
5
+ import fs from "node:fs";
6
6
  import path from "node:path";
7
7
  import { isPackageExists } from "local-pkg";
8
8
  import createCommand from "eslint-plugin-command/config";
@@ -18,17 +18,17 @@ import pluginUnusedImports from "eslint-plugin-unused-imports";
18
18
  import globals from "globals";
19
19
  import { mergeProcessors, processorPassThrough } from "eslint-merge-processors";
20
20
  import { configs } from "eslint-plugin-regexp";
21
- //#region node_modules/.pnpm/@vinicunca+perkakas@1.15.0/node_modules/@vinicunca/perkakas/dist/is-boolean.js
21
+ //#region node_modules/.pnpm/@vinicunca+perkakas@1.16.0/node_modules/@vinicunca/perkakas/dist/is-boolean.js
22
22
  function e$2(e) {
23
23
  return typeof e == `boolean`;
24
24
  }
25
25
  //#endregion
26
- //#region node_modules/.pnpm/@vinicunca+perkakas@1.15.0/node_modules/@vinicunca/perkakas/dist/is-function.js
26
+ //#region node_modules/.pnpm/@vinicunca+perkakas@1.16.0/node_modules/@vinicunca/perkakas/dist/is-function.js
27
27
  function e$1(e) {
28
28
  return typeof e == `function`;
29
29
  }
30
30
  //#endregion
31
- //#region node_modules/.pnpm/@vinicunca+perkakas@1.15.0/node_modules/@vinicunca/perkakas/dist/is-number.js
31
+ //#region node_modules/.pnpm/@vinicunca+perkakas@1.16.0/node_modules/@vinicunca/perkakas/dist/is-number.js
32
32
  function e(e) {
33
33
  return typeof e == `number` && !Number.isNaN(e);
34
34
  }
@@ -43,7 +43,7 @@ async function findUp(name, { cwd = process.cwd(), type = "file", stopAt } = {})
43
43
  while (directory) {
44
44
  const filePath = isAbsoluteName ? name : path.join(directory, name);
45
45
  try {
46
- const stats = await fs.stat(filePath);
46
+ const stats = await fsPromises.stat(filePath);
47
47
  if (type === "file" && stats.isFile() || type === "directory" && stats.isDirectory()) return filePath;
48
48
  } catch {}
49
49
  if (directory === stopAt || directory === root) break;
@@ -58,7 +58,7 @@ function findUpSync(name, { cwd = process.cwd(), type = "file", stopAt } = {}) {
58
58
  while (directory) {
59
59
  const filePath = isAbsoluteName ? name : path.join(directory, name);
60
60
  try {
61
- const stats = fs$1.statSync(filePath, { throwIfNoEntry: false });
61
+ const stats = fs.statSync(filePath, { throwIfNoEntry: false });
62
62
  if (type === "file" && stats?.isFile() || type === "directory" && stats?.isDirectory()) return filePath;
63
63
  } catch {}
64
64
  if (directory === stopAt || directory === root) break;
@@ -1249,7 +1249,7 @@ async function perfectionist(options) {
1249
1249
  async function detectCatalogUsage() {
1250
1250
  const workspaceFile = await findUp("pnpm-workspace.yaml");
1251
1251
  if (!workspaceFile) return false;
1252
- const yaml = await fs.readFile(workspaceFile, "utf-8");
1252
+ const yaml = await fsPromises.readFile(workspaceFile, "utf-8");
1253
1253
  return yaml.includes("catalog:") || yaml.includes("catalogs:");
1254
1254
  }
1255
1255
  async function pnpm(options) {
@@ -2084,7 +2084,7 @@ async function typescript(options = {}) {
2084
2084
  }] : [],
2085
2085
  ...erasableOnly ? [{
2086
2086
  name: "antfu/typescript/erasable-syntax-only",
2087
- plugins: { "erasable-syntax-only": await interopDefault(import("./lib-8varpJW2.mjs")) },
2087
+ plugins: { "erasable-syntax-only": await interopDefault(import("./lib-CfwQEgoO.mjs")) },
2088
2088
  rules: {
2089
2089
  "erasable-syntax-only/enums": ERROR,
2090
2090
  "erasable-syntax-only/import-aliases": ERROR,
@@ -2098,8 +2098,11 @@ async function typescript(options = {}) {
2098
2098
  //#region src/configs/unicorn.ts
2099
2099
  async function unicorn(options = {}) {
2100
2100
  return [{
2101
+ name: "vinicunca/unicorn/setup",
2102
+ plugins: { unicorn: pluginUnicorn }
2103
+ }, {
2104
+ files: [GLOB_SRC],
2101
2105
  name: "vinicunca/unicorn/rules",
2102
- plugins: { unicorn: pluginUnicorn },
2103
2106
  rules: { ...options.allRecommended ? pluginUnicorn.configs.recommended.rules : {
2104
2107
  "unicorn/consistent-empty-array-spread": ERROR,
2105
2108
  "unicorn/error-message": ERROR,
@@ -1,7 +1,7 @@
1
1
  import Module, { createRequire } from "node:module";
2
2
  //#region \0rolldown/runtime.js
3
3
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
4
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
4
+ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
5
5
  //#endregion
6
6
  //#region node_modules/.pnpm/eslint-visitor-keys@3.4.3/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs
7
7
  var require_eslint_visitor_keys$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -165,7 +165,7 @@ var require_eslint_visitor_keys$1 = /* @__PURE__ */ __commonJSMin(((exports) =>
165
165
  /**
166
166
  * @typedef {import('./visitor-keys.js').VisitorKeys} VisitorKeys
167
167
  */
168
- const KEY_BLACKLIST = new Set([
168
+ const KEY_BLACKLIST = /* @__PURE__ */ new Set([
169
169
  "parent",
170
170
  "leadingComments",
171
171
  "trailingComments"
@@ -205,7 +205,7 @@ var require_eslint_visitor_keys$1 = /* @__PURE__ */ __commonJSMin(((exports) =>
205
205
  exports.unionWith = unionWith;
206
206
  }));
207
207
  //#endregion
208
- //#region node_modules/.pnpm/@eslint-community+eslint-utils@4.9.1_eslint@10.4.0_jiti@2.7.0_/node_modules/@eslint-community/eslint-utils/index.js
208
+ //#region node_modules/.pnpm/@eslint-community+eslint-utils@4.9.1_eslint@10.5.0_jiti@2.7.0_/node_modules/@eslint-community/eslint-utils/index.js
209
209
  var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
210
210
  Object.defineProperty(exports, "__esModule", { value: true });
211
211
  var eslintVisitorKeys = require_eslint_visitor_keys$1();
@@ -454,7 +454,7 @@ var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
454
454
  /** @typedef {import("@typescript-eslint/types").TSESTree.BigIntLiteral} BigIntLiteral */
455
455
  /** @typedef {import("@typescript-eslint/types").TSESTree.Literal} Literal */
456
456
  const globalObject = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {};
457
- const builtinNames = Object.freeze(new Set([
457
+ const builtinNames = Object.freeze(/* @__PURE__ */ new Set([
458
458
  "Array",
459
459
  "ArrayBuffer",
460
460
  "BigInt",
@@ -598,15 +598,15 @@ var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
598
598
  Symbol.keyFor,
599
599
  unescape
600
600
  ].filter((f) => typeof f === "function"));
601
- const callPassThrough = new Set([
601
+ const callPassThrough = /* @__PURE__ */ new Set([
602
602
  Object.freeze,
603
603
  Object.preventExtensions,
604
604
  Object.seal
605
605
  ]);
606
606
  /** @type {ReadonlyArray<readonly [Function, ReadonlySet<string>]>} */
607
607
  const getterAllowed = [
608
- [Map, new Set(["size"])],
609
- [RegExp, new Set([
608
+ [Map, /* @__PURE__ */ new Set(["size"])],
609
+ [RegExp, /* @__PURE__ */ new Set([
610
610
  "dotAll",
611
611
  "flags",
612
612
  "global",
@@ -617,7 +617,7 @@ var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
617
617
  "sticky",
618
618
  "unicode"
619
619
  ])],
620
- [Set, new Set(["size"])]
620
+ [Set, /* @__PURE__ */ new Set(["size"])]
621
621
  ];
622
622
  /**
623
623
  * Get the property descriptor.
@@ -1110,7 +1110,7 @@ var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
1110
1110
  /** @typedef {import("estree").Property} Property */
1111
1111
  /** @typedef {import("estree").PropertyDefinition} PropertyDefinition */
1112
1112
  /** @typedef {import("estree").UnaryExpression} UnaryExpression */
1113
- const typeConversionBinaryOps = Object.freeze(new Set([
1113
+ const typeConversionBinaryOps = Object.freeze(/* @__PURE__ */ new Set([
1114
1114
  "==",
1115
1115
  "!=",
1116
1116
  "<",
@@ -1130,7 +1130,7 @@ var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
1130
1130
  "&",
1131
1131
  "in"
1132
1132
  ]));
1133
- const typeConversionUnaryOps = Object.freeze(new Set([
1133
+ const typeConversionUnaryOps = Object.freeze(/* @__PURE__ */ new Set([
1134
1134
  "-",
1135
1135
  "+",
1136
1136
  "!",
@@ -1944,7 +1944,7 @@ var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
1944
1944
  exports.isSemicolonToken = isSemicolonToken;
1945
1945
  }));
1946
1946
  //#endregion
1947
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js
1947
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js
1948
1948
  var require_astUtilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1949
1949
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
1950
1950
  if (k2 === void 0) k2 = k;
@@ -2056,7 +2056,7 @@ var require_astUtilities = /* @__PURE__ */ __commonJSMin(((exports) => {
2056
2056
  exports.isParenthesized = eslintUtils.isParenthesized;
2057
2057
  }));
2058
2058
  //#endregion
2059
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js
2059
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js
2060
2060
  var require_PatternMatcher = /* @__PURE__ */ __commonJSMin(((exports) => {
2061
2061
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2062
2062
  if (k2 === void 0) k2 = k;
@@ -2110,7 +2110,7 @@ var require_PatternMatcher = /* @__PURE__ */ __commonJSMin(((exports) => {
2110
2110
  exports.PatternMatcher = __importStar(require_eslint_utils$2()).PatternMatcher;
2111
2111
  }));
2112
2112
  //#endregion
2113
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js
2113
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js
2114
2114
  var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2115
2115
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2116
2116
  if (k2 === void 0) k2 = k;
@@ -2180,7 +2180,7 @@ var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2180
2180
  exports.isNotSemicolonToken = eslintUtils.isNotSemicolonToken;
2181
2181
  }));
2182
2182
  //#endregion
2183
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js
2183
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js
2184
2184
  var require_ReferenceTracker = /* @__PURE__ */ __commonJSMin(((exports) => {
2185
2185
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2186
2186
  if (k2 === void 0) k2 = k;
@@ -2238,7 +2238,7 @@ var require_ReferenceTracker = /* @__PURE__ */ __commonJSMin(((exports) => {
2238
2238
  exports.ReferenceTracker = eslintUtils.ReferenceTracker;
2239
2239
  }));
2240
2240
  //#endregion
2241
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js
2241
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js
2242
2242
  var require_scopeAnalysis = /* @__PURE__ */ __commonJSMin(((exports) => {
2243
2243
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2244
2244
  if (k2 === void 0) k2 = k;
@@ -2300,7 +2300,7 @@ var require_scopeAnalysis = /* @__PURE__ */ __commonJSMin(((exports) => {
2300
2300
  exports.getInnermostScope = eslintUtils.getInnermostScope;
2301
2301
  }));
2302
2302
  //#endregion
2303
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js
2303
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js
2304
2304
  var require_eslint_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2305
2305
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2306
2306
  if (k2 === void 0) k2 = k;
@@ -2327,7 +2327,7 @@ var require_eslint_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2327
2327
  __exportStar(require_scopeAnalysis(), exports);
2328
2328
  }));
2329
2329
  //#endregion
2330
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js
2330
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js
2331
2331
  var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
2332
2332
  Object.defineProperty(exports, "__esModule", { value: true });
2333
2333
  exports.isNotTokenOfTypeWithConditions = exports.isTokenOfTypeWithConditions = exports.isNodeOfTypeWithConditions = exports.isNodeOfTypes = exports.isNodeOfType = void 0;
@@ -2349,7 +2349,7 @@ var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
2349
2349
  exports.isNotTokenOfTypeWithConditions = isNotTokenOfTypeWithConditions;
2350
2350
  }));
2351
2351
  //#endregion
2352
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js
2352
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js
2353
2353
  var require_misc = /* @__PURE__ */ __commonJSMin(((exports) => {
2354
2354
  Object.defineProperty(exports, "__esModule", { value: true });
2355
2355
  exports.LINEBREAK_MATCHER = void 0;
@@ -2663,7 +2663,7 @@ var require_dist$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
2663
2663
  __exportStar(require_ts_estree$1(), exports);
2664
2664
  }));
2665
2665
  //#endregion
2666
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-estree.js
2666
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-estree.js
2667
2667
  var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports) => {
2668
2668
  Object.defineProperty(exports, "__esModule", { value: true });
2669
2669
  exports.TSESTree = exports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;
@@ -2688,7 +2688,7 @@ var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports) => {
2688
2688
  });
2689
2689
  }));
2690
2690
  //#endregion
2691
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js
2691
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js
2692
2692
  var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
2693
2693
  Object.defineProperty(exports, "__esModule", { value: true });
2694
2694
  exports.isLoop = exports.isImportKeyword = exports.isTypeKeyword = exports.isAwaitKeyword = exports.isAwaitExpression = exports.isIdentifier = exports.isConstructor = exports.isClassOrTypeElement = exports.isTSConstructorType = exports.isTSFunctionType = exports.isFunctionOrFunctionType = exports.isFunctionType = exports.isFunction = exports.isVariableDeclarator = exports.isTypeAssertion = exports.isLogicalOrOperator = exports.isOptionalCallExpression = exports.isNotNonNullAssertionPunctuator = exports.isNonNullAssertionPunctuator = exports.isNotOptionalChainPunctuator = exports.isOptionalChainPunctuator = void 0;
@@ -2784,7 +2784,7 @@ var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
2784
2784
  ]);
2785
2785
  }));
2786
2786
  //#endregion
2787
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js
2787
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js
2788
2788
  var require_ast_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
2789
2789
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2790
2790
  if (k2 === void 0) k2 = k;
@@ -2810,7 +2810,7 @@ var require_ast_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
2810
2810
  __exportStar(require_predicates(), exports);
2811
2811
  }));
2812
2812
  //#endregion
2813
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js
2813
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js
2814
2814
  var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
2815
2815
  Object.defineProperty(exports, "__esModule", { value: true });
2816
2816
  exports.isObjectNotArray = isObjectNotArray;
@@ -2830,7 +2830,7 @@ var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
2830
2830
  * @returns a new object
2831
2831
  */
2832
2832
  function deepMerge(first = {}, second = {}) {
2833
- const keys = new Set([...Object.keys(first), ...Object.keys(second)]);
2833
+ const keys = /* @__PURE__ */ new Set([...Object.keys(first), ...Object.keys(second)]);
2834
2834
  return Object.fromEntries([...keys].map((key) => {
2835
2835
  const firstHasKey = key in first;
2836
2836
  const secondHasKey = key in second;
@@ -2846,7 +2846,7 @@ var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
2846
2846
  }
2847
2847
  }));
2848
2848
  //#endregion
2849
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js
2849
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js
2850
2850
  var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
2851
2851
  Object.defineProperty(exports, "__esModule", { value: true });
2852
2852
  exports.applyDefault = applyDefault;
@@ -2872,7 +2872,7 @@ var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
2872
2872
  }
2873
2873
  }));
2874
2874
  //#endregion
2875
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js
2875
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js
2876
2876
  var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
2877
2877
  Object.defineProperty(exports, "__esModule", { value: true });
2878
2878
  exports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;
@@ -2881,7 +2881,7 @@ var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) =
2881
2881
  }
2882
2882
  }));
2883
2883
  //#endregion
2884
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js
2884
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js
2885
2885
  var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
2886
2886
  Object.defineProperty(exports, "__esModule", { value: true });
2887
2887
  exports.getParserServices = getParserServices;
@@ -2904,12 +2904,12 @@ var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
2904
2904
  }
2905
2905
  }));
2906
2906
  //#endregion
2907
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js
2907
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js
2908
2908
  var require_InferTypesFromRule = /* @__PURE__ */ __commonJSMin(((exports) => {
2909
2909
  Object.defineProperty(exports, "__esModule", { value: true });
2910
2910
  }));
2911
2911
  //#endregion
2912
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js
2912
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js
2913
2913
  var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
2914
2914
  Object.defineProperty(exports, "__esModule", { value: true });
2915
2915
  exports.NullThrowsReasons = void 0;
@@ -2931,7 +2931,7 @@ var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
2931
2931
  }
2932
2932
  }));
2933
2933
  //#endregion
2934
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js
2934
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js
2935
2935
  var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
2936
2936
  Object.defineProperty(exports, "__esModule", { value: true });
2937
2937
  exports.RuleCreator = RuleCreator;
@@ -2979,7 +2979,7 @@ var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
2979
2979
  };
2980
2980
  }));
2981
2981
  //#endregion
2982
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js
2982
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js
2983
2983
  var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
2984
2984
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2985
2985
  if (k2 === void 0) k2 = k;
@@ -3007,7 +3007,7 @@ var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
3007
3007
  __exportStar(require_RuleCreator(), exports);
3008
3008
  }));
3009
3009
  //#endregion
3010
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/json-schema.js
3010
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/json-schema.js
3011
3011
  var require_json_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
3012
3012
  /**
3013
3013
  * This is a fork of https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13f63c2eb8d7479caf01ab8d72f9e3683368a8f5/types/json-schema/index.d.ts
@@ -3018,17 +3018,17 @@ var require_json_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
3018
3018
  Object.defineProperty(exports, "__esModule", { value: true });
3019
3019
  }));
3020
3020
  //#endregion
3021
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js
3021
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js
3022
3022
  var require_AST = /* @__PURE__ */ __commonJSMin(((exports) => {
3023
3023
  Object.defineProperty(exports, "__esModule", { value: true });
3024
3024
  }));
3025
3025
  //#endregion
3026
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js
3026
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js
3027
3027
  var require_Config = /* @__PURE__ */ __commonJSMin(((exports) => {
3028
3028
  Object.defineProperty(exports, "__esModule", { value: true });
3029
3029
  }));
3030
3030
  //#endregion
3031
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js
3031
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js
3032
3032
  var require_FlatESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
3033
3033
  var __importDefault = exports && exports.__importDefault || function(mod) {
3034
3034
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -3047,7 +3047,7 @@ var require_FlatESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
3047
3047
  exports.FlatESLint = FlatESLint;
3048
3048
  }));
3049
3049
  //#endregion
3050
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js
3050
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js
3051
3051
  var require_LegacyESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
3052
3052
  var __importDefault = exports && exports.__importDefault || function(mod) {
3053
3053
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -3082,7 +3082,7 @@ var require_LegacyESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
3082
3082
  exports.LegacyESLint = LegacyESLint;
3083
3083
  }));
3084
3084
  //#endregion
3085
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js
3085
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js
3086
3086
  var require_ESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
3087
3087
  Object.defineProperty(exports, "__esModule", { value: true });
3088
3088
  exports.LegacyESLint = exports.ESLint = exports.FlatESLint = void 0;
@@ -3112,7 +3112,7 @@ var require_ESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
3112
3112
  });
3113
3113
  }));
3114
3114
  //#endregion
3115
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js
3115
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js
3116
3116
  var require_Linter = /* @__PURE__ */ __commonJSMin(((exports) => {
3117
3117
  Object.defineProperty(exports, "__esModule", { value: true });
3118
3118
  exports.Linter = void 0;
@@ -3126,27 +3126,27 @@ var require_Linter = /* @__PURE__ */ __commonJSMin(((exports) => {
3126
3126
  exports.Linter = Linter;
3127
3127
  }));
3128
3128
  //#endregion
3129
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js
3129
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js
3130
3130
  var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
3131
3131
  Object.defineProperty(exports, "__esModule", { value: true });
3132
3132
  }));
3133
3133
  //#endregion
3134
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js
3134
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js
3135
3135
  var require_ParserOptions = /* @__PURE__ */ __commonJSMin(((exports) => {
3136
3136
  Object.defineProperty(exports, "__esModule", { value: true });
3137
3137
  }));
3138
3138
  //#endregion
3139
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js
3139
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js
3140
3140
  var require_Processor = /* @__PURE__ */ __commonJSMin(((exports) => {
3141
3141
  Object.defineProperty(exports, "__esModule", { value: true });
3142
3142
  }));
3143
3143
  //#endregion
3144
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js
3144
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js
3145
3145
  var require_Rule = /* @__PURE__ */ __commonJSMin(((exports) => {
3146
3146
  Object.defineProperty(exports, "__esModule", { value: true });
3147
3147
  }));
3148
3148
  //#endregion
3149
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js
3149
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js
3150
3150
  var require_RuleTester = /* @__PURE__ */ __commonJSMin(((exports) => {
3151
3151
  Object.defineProperty(exports, "__esModule", { value: true });
3152
3152
  exports.RuleTester = void 0;
@@ -3329,7 +3329,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ __commonJSMin(((exports) => {
3329
3329
  /**
3330
3330
  * @typedef {import('./visitor-keys.js').VisitorKeys} VisitorKeys
3331
3331
  */
3332
- const KEY_BLACKLIST = new Set([
3332
+ const KEY_BLACKLIST = /* @__PURE__ */ new Set([
3333
3333
  "parent",
3334
3334
  "leadingComments",
3335
3335
  "trailingComments"
@@ -8806,7 +8806,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
8806
8806
  const webworker_asynciterable_1 = require_webworker_asynciterable();
8807
8807
  const webworker_importscripts_1 = require_webworker_importscripts();
8808
8808
  const webworker_iterable_1 = require_webworker_iterable();
8809
- exports.lib = new Map([
8809
+ exports.lib = /* @__PURE__ */ new Map([
8810
8810
  ["es5", es5_1.es5],
8811
8811
  ["es6", es6_1.es6],
8812
8812
  ["es2015", es2015_1.es2015],
@@ -9296,7 +9296,7 @@ var require_ScopeBase = /* @__PURE__ */ __commonJSMin(((exports) => {
9296
9296
  else scopeManager.nodeToScope.set(scope.block, [scope]);
9297
9297
  }
9298
9298
  const generator = (0, ID_1.createIdGenerator)();
9299
- const VARIABLE_SCOPE_TYPES = new Set([
9299
+ const VARIABLE_SCOPE_TYPES = /* @__PURE__ */ new Set([
9300
9300
  ScopeType_1.ScopeType.classFieldInitializer,
9301
9301
  ScopeType_1.ScopeType.classStaticBlock,
9302
9302
  ScopeType_1.ScopeType.function,
@@ -9864,7 +9864,7 @@ var require_VisitorBase = /* @__PURE__ */ __commonJSMin(((exports) => {
9864
9864
  */
9865
9865
  visitChildren(node, excludeArr = []) {
9866
9866
  if (node?.type == null) return;
9867
- const exclude = new Set([...excludeArr, "parent"]);
9867
+ const exclude = /* @__PURE__ */ new Set([...excludeArr, "parent"]);
9868
9868
  const children = this.#childVisitorKeys[node.type] ?? Object.keys(node);
9869
9869
  for (const key of children) {
9870
9870
  if (exclude.has(key)) continue;
@@ -11048,7 +11048,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
11048
11048
  __exportStar(require_variable(), exports);
11049
11049
  }));
11050
11050
  //#endregion
11051
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js
11051
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js
11052
11052
  var require_Scope = /* @__PURE__ */ __commonJSMin(((exports) => {
11053
11053
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
11054
11054
  if (k2 === void 0) k2 = k;
@@ -11101,7 +11101,7 @@ var require_Scope = /* @__PURE__ */ __commonJSMin(((exports) => {
11101
11101
  })(Scope || (exports.Scope = Scope = {}));
11102
11102
  }));
11103
11103
  //#endregion
11104
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js
11104
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js
11105
11105
  var require_SourceCode = /* @__PURE__ */ __commonJSMin(((exports) => {
11106
11106
  Object.defineProperty(exports, "__esModule", { value: true });
11107
11107
  exports.SourceCode = void 0;
@@ -11110,7 +11110,7 @@ var require_SourceCode = /* @__PURE__ */ __commonJSMin(((exports) => {
11110
11110
  exports.SourceCode = SourceCode;
11111
11111
  }));
11112
11112
  //#endregion
11113
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js
11113
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js
11114
11114
  var require_ts_eslint = /* @__PURE__ */ __commonJSMin(((exports) => {
11115
11115
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
11116
11116
  if (k2 === void 0) k2 = k;
@@ -11143,7 +11143,7 @@ var require_ts_eslint = /* @__PURE__ */ __commonJSMin(((exports) => {
11143
11143
  __exportStar(require_SourceCode(), exports);
11144
11144
  }));
11145
11145
  //#endregion
11146
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js
11146
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js
11147
11147
  var require_isArray = /* @__PURE__ */ __commonJSMin(((exports) => {
11148
11148
  Object.defineProperty(exports, "__esModule", { value: true });
11149
11149
  exports.isArray = isArray;
@@ -11152,12 +11152,12 @@ var require_isArray = /* @__PURE__ */ __commonJSMin(((exports) => {
11152
11152
  }
11153
11153
  }));
11154
11154
  //#endregion
11155
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js
11155
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js
11156
11156
  var require_NoInfer = /* @__PURE__ */ __commonJSMin(((exports) => {
11157
11157
  Object.defineProperty(exports, "__esModule", { value: true });
11158
11158
  }));
11159
11159
  //#endregion
11160
- //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.4.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js
11160
+ //#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.5.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js
11161
11161
  var require_ts_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
11162
11162
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
11163
11163
  if (k2 === void 0) k2 = k;
@@ -11181,7 +11181,7 @@ var require_ts_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
11181
11181
  __exportStar(require_NoInfer(), exports);
11182
11182
  }));
11183
11183
  //#endregion
11184
- //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.1_@typescript-eslint+parser@8.60.0_eslint@10.4.0_723a0f0d8be617c20a5794a818d22713/node_modules/eslint-plugin-erasable-syntax-only/lib/utils.js
11184
+ //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.62.0_eslint@10.5.0_8df0507dff3a829ac7822c05c11dd7e0/node_modules/eslint-plugin-erasable-syntax-only/lib/utils.js
11185
11185
  var import_dist = (/* @__PURE__ */ __commonJSMin(((exports) => {
11186
11186
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
11187
11187
  if (k2 === void 0) k2 = k;
@@ -11238,7 +11238,7 @@ var import_dist = (/* @__PURE__ */ __commonJSMin(((exports) => {
11238
11238
  })))();
11239
11239
  const createRule = import_dist.ESLintUtils.RuleCreator((name) => `https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/docs/rules/${name}.md`);
11240
11240
  //#endregion
11241
- //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.1_@typescript-eslint+parser@8.60.0_eslint@10.4.0_723a0f0d8be617c20a5794a818d22713/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/enums.js
11241
+ //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.62.0_eslint@10.5.0_8df0507dff3a829ac7822c05c11dd7e0/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/enums.js
11242
11242
  const rule$3 = createRule({
11243
11243
  create(context) {
11244
11244
  return { TSEnumDeclaration(node) {
@@ -11296,7 +11296,7 @@ const rule$3 = createRule({
11296
11296
  name: "enums"
11297
11297
  });
11298
11298
  //#endregion
11299
- //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.1_@typescript-eslint+parser@8.60.0_eslint@10.4.0_723a0f0d8be617c20a5794a818d22713/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/import-aliases.js
11299
+ //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.62.0_eslint@10.5.0_8df0507dff3a829ac7822c05c11dd7e0/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/import-aliases.js
11300
11300
  const rule$2 = createRule({
11301
11301
  create(context) {
11302
11302
  return { TSImportEqualsDeclaration(node) {
@@ -11336,7 +11336,7 @@ const rule$2 = createRule({
11336
11336
  name: "import-aliases"
11337
11337
  });
11338
11338
  //#endregion
11339
- //#region node_modules/.pnpm/cached-factory@0.2.0/node_modules/cached-factory/lib/index.js
11339
+ //#region node_modules/.pnpm/cached-factory@0.3.0/node_modules/cached-factory/lib/CachedFactory.js
11340
11340
  var CachedFactory = class {
11341
11341
  #cache = /* @__PURE__ */ new Map();
11342
11342
  #getter;
@@ -11358,7 +11358,7 @@ var CachedFactory = class {
11358
11358
  }
11359
11359
  };
11360
11360
  //#endregion
11361
- //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.1_@typescript-eslint+parser@8.60.0_eslint@10.4.0_723a0f0d8be617c20a5794a818d22713/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/namespaces.js
11361
+ //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.62.0_eslint@10.5.0_8df0507dff3a829ac7822c05c11dd7e0/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/namespaces.js
11362
11362
  function skipExportParent(node) {
11363
11363
  return node.parent.type == import_dist.AST_NODE_TYPES.ExportNamedDeclaration ? node.parent : node;
11364
11364
  }
@@ -11366,7 +11366,7 @@ function skipModuleParent(node) {
11366
11366
  return node.parent.type === import_dist.AST_NODE_TYPES.TSModuleDeclaration ? node.parent : node;
11367
11367
  }
11368
11368
  //#endregion
11369
- //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.1_@typescript-eslint+parser@8.60.0_eslint@10.4.0_723a0f0d8be617c20a5794a818d22713/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/index.js
11369
+ //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.62.0_eslint@10.5.0_8df0507dff3a829ac7822c05c11dd7e0/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/index.js
11370
11370
  const rules = {
11371
11371
  enums: rule$3,
11372
11372
  "import-aliases": rule$2,
@@ -11418,7 +11418,7 @@ const rules = {
11418
11418
  })
11419
11419
  };
11420
11420
  //#endregion
11421
- //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.1_@typescript-eslint+parser@8.60.0_eslint@10.4.0_723a0f0d8be617c20a5794a818d22713/node_modules/eslint-plugin-erasable-syntax-only/lib/index.js
11421
+ //#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.62.0_eslint@10.5.0_8df0507dff3a829ac7822c05c11dd7e0/node_modules/eslint-plugin-erasable-syntax-only/lib/index.js
11422
11422
  const { name, version } = Module.createRequire(import.meta.url)("../package.json");
11423
11423
  const plugin = {
11424
11424
  configs: { get recommended() {