@whoj/eslint-config 2.2.1 → 2.2.2
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 +21 -21
- package/dist/cli.js +45 -56
- package/dist/index.d.ts +290 -283
- package/dist/index.js +709 -757
- package/package.json +6 -3
- package/dist/chunk-3P3JBQLJ.js +0 -5191
- package/dist/chunk-5NT2OOQW.js +0 -29719
- package/dist/chunk-7F5ASJF4.js +0 -1962
- package/dist/chunk-DLJMV7EV.js +0 -626
- package/dist/chunk-G5WGJHBR.js +0 -149
- package/dist/chunk-IDB36RF3.js +0 -353
- package/dist/chunk-IKAXXATW.js +0 -6400
- package/dist/chunk-MKKAXXPL.js +0 -5769
- package/dist/chunk-MKNYKNDN.js +0 -65
- package/dist/chunk-PVCENCBM.js +0 -1053
- package/dist/chunk-QT5XME2Q.js +0 -209134
- package/dist/chunk-THBKBMVU.js +0 -8352
- package/dist/chunk-VSLGWZT6.js +0 -115
- package/dist/chunk-XZGWRL6X.js +0 -1520
- package/dist/dist-MYXPM6TG.js +0 -4953
- package/dist/dist-ZJ2E2ITJ.js +0 -26233
- package/dist/eslint-plugin-react-hooks-BV2CYKDG.js +0 -2559
- package/dist/eslint-plugin-react-refresh-N5P3A37Z.js +0 -272
- package/dist/lib-C6BFP32Q.js +0 -24437
- package/dist/lib-FENTQ4WJ.js +0 -10106
- package/dist/lib-WKUBBNE4.js +0 -26
- package/dist/lib-XQB7MXK6.js +0 -9
- package/dist/sass.node-L3JPZGSW.js +0 -125580
- package/dist/typescript-LG2A6BNW.js +0 -5
package/dist/chunk-PVCENCBM.js
DELETED
|
@@ -1,1053 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
require_eslint_utils
|
|
3
|
-
} from "./chunk-XZGWRL6X.js";
|
|
4
|
-
import {
|
|
5
|
-
require_dist,
|
|
6
|
-
require_dist3 as require_dist2
|
|
7
|
-
} from "./chunk-THBKBMVU.js";
|
|
8
|
-
import {
|
|
9
|
-
__commonJS,
|
|
10
|
-
__require,
|
|
11
|
-
init_esm_shims
|
|
12
|
-
} from "./chunk-MKNYKNDN.js";
|
|
13
|
-
|
|
14
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js
|
|
15
|
-
var require_astUtilities = __commonJS({
|
|
16
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js"(exports) {
|
|
17
|
-
"use strict";
|
|
18
|
-
init_esm_shims();
|
|
19
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
20
|
-
if (k2 === void 0) k2 = k;
|
|
21
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
22
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
23
|
-
desc = { enumerable: true, get: function() {
|
|
24
|
-
return m[k];
|
|
25
|
-
} };
|
|
26
|
-
}
|
|
27
|
-
Object.defineProperty(o, k2, desc);
|
|
28
|
-
} : function(o, m, k, k2) {
|
|
29
|
-
if (k2 === void 0) k2 = k;
|
|
30
|
-
o[k2] = m[k];
|
|
31
|
-
});
|
|
32
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
33
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
34
|
-
} : function(o, v) {
|
|
35
|
-
o["default"] = v;
|
|
36
|
-
});
|
|
37
|
-
var __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
|
|
38
|
-
var ownKeys = function(o) {
|
|
39
|
-
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
40
|
-
var ar = [];
|
|
41
|
-
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
42
|
-
return ar;
|
|
43
|
-
};
|
|
44
|
-
return ownKeys(o);
|
|
45
|
-
};
|
|
46
|
-
return function(mod) {
|
|
47
|
-
if (mod && mod.__esModule) return mod;
|
|
48
|
-
var result = {};
|
|
49
|
-
if (mod != null) {
|
|
50
|
-
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
51
|
-
}
|
|
52
|
-
__setModuleDefault(result, mod);
|
|
53
|
-
return result;
|
|
54
|
-
};
|
|
55
|
-
}();
|
|
56
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
-
exports.isParenthesized = exports.hasSideEffect = exports.getStringIfConstant = exports.getStaticValue = exports.getPropertyName = exports.getFunctionNameWithKind = exports.getFunctionHeadLocation = void 0;
|
|
58
|
-
var eslintUtils = __importStar(require_eslint_utils());
|
|
59
|
-
exports.getFunctionHeadLocation = eslintUtils.getFunctionHeadLocation;
|
|
60
|
-
exports.getFunctionNameWithKind = eslintUtils.getFunctionNameWithKind;
|
|
61
|
-
exports.getPropertyName = eslintUtils.getPropertyName;
|
|
62
|
-
exports.getStaticValue = eslintUtils.getStaticValue;
|
|
63
|
-
exports.getStringIfConstant = eslintUtils.getStringIfConstant;
|
|
64
|
-
exports.hasSideEffect = eslintUtils.hasSideEffect;
|
|
65
|
-
exports.isParenthesized = eslintUtils.isParenthesized;
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js
|
|
70
|
-
var require_PatternMatcher = __commonJS({
|
|
71
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js"(exports) {
|
|
72
|
-
"use strict";
|
|
73
|
-
init_esm_shims();
|
|
74
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
75
|
-
if (k2 === void 0) k2 = k;
|
|
76
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
77
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
78
|
-
desc = { enumerable: true, get: function() {
|
|
79
|
-
return m[k];
|
|
80
|
-
} };
|
|
81
|
-
}
|
|
82
|
-
Object.defineProperty(o, k2, desc);
|
|
83
|
-
} : function(o, m, k, k2) {
|
|
84
|
-
if (k2 === void 0) k2 = k;
|
|
85
|
-
o[k2] = m[k];
|
|
86
|
-
});
|
|
87
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
88
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
89
|
-
} : function(o, v) {
|
|
90
|
-
o["default"] = v;
|
|
91
|
-
});
|
|
92
|
-
var __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
|
|
93
|
-
var ownKeys = function(o) {
|
|
94
|
-
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
95
|
-
var ar = [];
|
|
96
|
-
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
97
|
-
return ar;
|
|
98
|
-
};
|
|
99
|
-
return ownKeys(o);
|
|
100
|
-
};
|
|
101
|
-
return function(mod) {
|
|
102
|
-
if (mod && mod.__esModule) return mod;
|
|
103
|
-
var result = {};
|
|
104
|
-
if (mod != null) {
|
|
105
|
-
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
106
|
-
}
|
|
107
|
-
__setModuleDefault(result, mod);
|
|
108
|
-
return result;
|
|
109
|
-
};
|
|
110
|
-
}();
|
|
111
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
112
|
-
exports.PatternMatcher = void 0;
|
|
113
|
-
var eslintUtils = __importStar(require_eslint_utils());
|
|
114
|
-
exports.PatternMatcher = eslintUtils.PatternMatcher;
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js
|
|
119
|
-
var require_predicates = __commonJS({
|
|
120
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js"(exports) {
|
|
121
|
-
"use strict";
|
|
122
|
-
init_esm_shims();
|
|
123
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
124
|
-
if (k2 === void 0) k2 = k;
|
|
125
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
126
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
127
|
-
desc = { enumerable: true, get: function() {
|
|
128
|
-
return m[k];
|
|
129
|
-
} };
|
|
130
|
-
}
|
|
131
|
-
Object.defineProperty(o, k2, desc);
|
|
132
|
-
} : function(o, m, k, k2) {
|
|
133
|
-
if (k2 === void 0) k2 = k;
|
|
134
|
-
o[k2] = m[k];
|
|
135
|
-
});
|
|
136
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
137
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
138
|
-
} : function(o, v) {
|
|
139
|
-
o["default"] = v;
|
|
140
|
-
});
|
|
141
|
-
var __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
|
|
142
|
-
var ownKeys = function(o) {
|
|
143
|
-
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
144
|
-
var ar = [];
|
|
145
|
-
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
146
|
-
return ar;
|
|
147
|
-
};
|
|
148
|
-
return ownKeys(o);
|
|
149
|
-
};
|
|
150
|
-
return function(mod) {
|
|
151
|
-
if (mod && mod.__esModule) return mod;
|
|
152
|
-
var result = {};
|
|
153
|
-
if (mod != null) {
|
|
154
|
-
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
155
|
-
}
|
|
156
|
-
__setModuleDefault(result, mod);
|
|
157
|
-
return result;
|
|
158
|
-
};
|
|
159
|
-
}();
|
|
160
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
161
|
-
exports.isNotSemicolonToken = exports.isSemicolonToken = exports.isNotOpeningParenToken = exports.isOpeningParenToken = exports.isNotOpeningBracketToken = exports.isOpeningBracketToken = exports.isNotOpeningBraceToken = exports.isOpeningBraceToken = exports.isNotCommentToken = exports.isCommentToken = exports.isNotCommaToken = exports.isCommaToken = exports.isNotColonToken = exports.isColonToken = exports.isNotClosingParenToken = exports.isClosingParenToken = exports.isNotClosingBracketToken = exports.isClosingBracketToken = exports.isNotClosingBraceToken = exports.isClosingBraceToken = exports.isNotArrowToken = exports.isArrowToken = void 0;
|
|
162
|
-
var eslintUtils = __importStar(require_eslint_utils());
|
|
163
|
-
exports.isArrowToken = eslintUtils.isArrowToken;
|
|
164
|
-
exports.isNotArrowToken = eslintUtils.isNotArrowToken;
|
|
165
|
-
exports.isClosingBraceToken = eslintUtils.isClosingBraceToken;
|
|
166
|
-
exports.isNotClosingBraceToken = eslintUtils.isNotClosingBraceToken;
|
|
167
|
-
exports.isClosingBracketToken = eslintUtils.isClosingBracketToken;
|
|
168
|
-
exports.isNotClosingBracketToken = eslintUtils.isNotClosingBracketToken;
|
|
169
|
-
exports.isClosingParenToken = eslintUtils.isClosingParenToken;
|
|
170
|
-
exports.isNotClosingParenToken = eslintUtils.isNotClosingParenToken;
|
|
171
|
-
exports.isColonToken = eslintUtils.isColonToken;
|
|
172
|
-
exports.isNotColonToken = eslintUtils.isNotColonToken;
|
|
173
|
-
exports.isCommaToken = eslintUtils.isCommaToken;
|
|
174
|
-
exports.isNotCommaToken = eslintUtils.isNotCommaToken;
|
|
175
|
-
exports.isCommentToken = eslintUtils.isCommentToken;
|
|
176
|
-
exports.isNotCommentToken = eslintUtils.isNotCommentToken;
|
|
177
|
-
exports.isOpeningBraceToken = eslintUtils.isOpeningBraceToken;
|
|
178
|
-
exports.isNotOpeningBraceToken = eslintUtils.isNotOpeningBraceToken;
|
|
179
|
-
exports.isOpeningBracketToken = eslintUtils.isOpeningBracketToken;
|
|
180
|
-
exports.isNotOpeningBracketToken = eslintUtils.isNotOpeningBracketToken;
|
|
181
|
-
exports.isOpeningParenToken = eslintUtils.isOpeningParenToken;
|
|
182
|
-
exports.isNotOpeningParenToken = eslintUtils.isNotOpeningParenToken;
|
|
183
|
-
exports.isSemicolonToken = eslintUtils.isSemicolonToken;
|
|
184
|
-
exports.isNotSemicolonToken = eslintUtils.isNotSemicolonToken;
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
|
|
188
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js
|
|
189
|
-
var require_ReferenceTracker = __commonJS({
|
|
190
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js"(exports) {
|
|
191
|
-
"use strict";
|
|
192
|
-
init_esm_shims();
|
|
193
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
194
|
-
if (k2 === void 0) k2 = k;
|
|
195
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
196
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
197
|
-
desc = { enumerable: true, get: function() {
|
|
198
|
-
return m[k];
|
|
199
|
-
} };
|
|
200
|
-
}
|
|
201
|
-
Object.defineProperty(o, k2, desc);
|
|
202
|
-
} : function(o, m, k, k2) {
|
|
203
|
-
if (k2 === void 0) k2 = k;
|
|
204
|
-
o[k2] = m[k];
|
|
205
|
-
});
|
|
206
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
207
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
208
|
-
} : function(o, v) {
|
|
209
|
-
o["default"] = v;
|
|
210
|
-
});
|
|
211
|
-
var __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
|
|
212
|
-
var ownKeys = function(o) {
|
|
213
|
-
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
214
|
-
var ar = [];
|
|
215
|
-
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
216
|
-
return ar;
|
|
217
|
-
};
|
|
218
|
-
return ownKeys(o);
|
|
219
|
-
};
|
|
220
|
-
return function(mod) {
|
|
221
|
-
if (mod && mod.__esModule) return mod;
|
|
222
|
-
var result = {};
|
|
223
|
-
if (mod != null) {
|
|
224
|
-
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
225
|
-
}
|
|
226
|
-
__setModuleDefault(result, mod);
|
|
227
|
-
return result;
|
|
228
|
-
};
|
|
229
|
-
}();
|
|
230
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
231
|
-
exports.ReferenceTracker = void 0;
|
|
232
|
-
var eslintUtils = __importStar(require_eslint_utils());
|
|
233
|
-
var ReferenceTrackerREAD = eslintUtils.ReferenceTracker.READ;
|
|
234
|
-
var ReferenceTrackerCALL = eslintUtils.ReferenceTracker.CALL;
|
|
235
|
-
var ReferenceTrackerCONSTRUCT = eslintUtils.ReferenceTracker.CONSTRUCT;
|
|
236
|
-
var ReferenceTrackerESM = eslintUtils.ReferenceTracker.ESM;
|
|
237
|
-
exports.ReferenceTracker = eslintUtils.ReferenceTracker;
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
|
|
241
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js
|
|
242
|
-
var require_scopeAnalysis = __commonJS({
|
|
243
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js"(exports) {
|
|
244
|
-
"use strict";
|
|
245
|
-
init_esm_shims();
|
|
246
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
247
|
-
if (k2 === void 0) k2 = k;
|
|
248
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
249
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
250
|
-
desc = { enumerable: true, get: function() {
|
|
251
|
-
return m[k];
|
|
252
|
-
} };
|
|
253
|
-
}
|
|
254
|
-
Object.defineProperty(o, k2, desc);
|
|
255
|
-
} : function(o, m, k, k2) {
|
|
256
|
-
if (k2 === void 0) k2 = k;
|
|
257
|
-
o[k2] = m[k];
|
|
258
|
-
});
|
|
259
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
260
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
261
|
-
} : function(o, v) {
|
|
262
|
-
o["default"] = v;
|
|
263
|
-
});
|
|
264
|
-
var __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
|
|
265
|
-
var ownKeys = function(o) {
|
|
266
|
-
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
267
|
-
var ar = [];
|
|
268
|
-
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
269
|
-
return ar;
|
|
270
|
-
};
|
|
271
|
-
return ownKeys(o);
|
|
272
|
-
};
|
|
273
|
-
return function(mod) {
|
|
274
|
-
if (mod && mod.__esModule) return mod;
|
|
275
|
-
var result = {};
|
|
276
|
-
if (mod != null) {
|
|
277
|
-
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
278
|
-
}
|
|
279
|
-
__setModuleDefault(result, mod);
|
|
280
|
-
return result;
|
|
281
|
-
};
|
|
282
|
-
}();
|
|
283
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
284
|
-
exports.getInnermostScope = exports.findVariable = void 0;
|
|
285
|
-
var eslintUtils = __importStar(require_eslint_utils());
|
|
286
|
-
exports.findVariable = eslintUtils.findVariable;
|
|
287
|
-
exports.getInnermostScope = eslintUtils.getInnermostScope;
|
|
288
|
-
}
|
|
289
|
-
});
|
|
290
|
-
|
|
291
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js
|
|
292
|
-
var require_eslint_utils2 = __commonJS({
|
|
293
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js"(exports) {
|
|
294
|
-
"use strict";
|
|
295
|
-
init_esm_shims();
|
|
296
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
297
|
-
if (k2 === void 0) k2 = k;
|
|
298
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
299
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
300
|
-
desc = { enumerable: true, get: function() {
|
|
301
|
-
return m[k];
|
|
302
|
-
} };
|
|
303
|
-
}
|
|
304
|
-
Object.defineProperty(o, k2, desc);
|
|
305
|
-
} : function(o, m, k, k2) {
|
|
306
|
-
if (k2 === void 0) k2 = k;
|
|
307
|
-
o[k2] = m[k];
|
|
308
|
-
});
|
|
309
|
-
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
310
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
311
|
-
};
|
|
312
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
313
|
-
__exportStar(require_astUtilities(), exports);
|
|
314
|
-
__exportStar(require_PatternMatcher(), exports);
|
|
315
|
-
__exportStar(require_predicates(), exports);
|
|
316
|
-
__exportStar(require_ReferenceTracker(), exports);
|
|
317
|
-
__exportStar(require_scopeAnalysis(), exports);
|
|
318
|
-
}
|
|
319
|
-
});
|
|
320
|
-
|
|
321
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js
|
|
322
|
-
var require_helpers = __commonJS({
|
|
323
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js"(exports) {
|
|
324
|
-
"use strict";
|
|
325
|
-
init_esm_shims();
|
|
326
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
327
|
-
exports.isNotTokenOfTypeWithConditions = exports.isTokenOfTypeWithConditions = exports.isNodeOfTypeWithConditions = exports.isNodeOfTypes = exports.isNodeOfType = void 0;
|
|
328
|
-
var isNodeOfType = (nodeType) => (node) => node?.type === nodeType;
|
|
329
|
-
exports.isNodeOfType = isNodeOfType;
|
|
330
|
-
var isNodeOfTypes = (nodeTypes) => (node) => !!node && nodeTypes.includes(node.type);
|
|
331
|
-
exports.isNodeOfTypes = isNodeOfTypes;
|
|
332
|
-
var isNodeOfTypeWithConditions = (nodeType, conditions) => {
|
|
333
|
-
const entries = Object.entries(conditions);
|
|
334
|
-
return (node) => node?.type === nodeType && entries.every(([key, value]) => node[key] === value);
|
|
335
|
-
};
|
|
336
|
-
exports.isNodeOfTypeWithConditions = isNodeOfTypeWithConditions;
|
|
337
|
-
var isTokenOfTypeWithConditions = (tokenType, conditions) => {
|
|
338
|
-
const entries = Object.entries(conditions);
|
|
339
|
-
return (token) => token?.type === tokenType && entries.every(([key, value]) => token[key] === value);
|
|
340
|
-
};
|
|
341
|
-
exports.isTokenOfTypeWithConditions = isTokenOfTypeWithConditions;
|
|
342
|
-
var isNotTokenOfTypeWithConditions = (tokenType, conditions) => (token) => !(0, exports.isTokenOfTypeWithConditions)(tokenType, conditions)(token);
|
|
343
|
-
exports.isNotTokenOfTypeWithConditions = isNotTokenOfTypeWithConditions;
|
|
344
|
-
}
|
|
345
|
-
});
|
|
346
|
-
|
|
347
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js
|
|
348
|
-
var require_misc = __commonJS({
|
|
349
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js"(exports) {
|
|
350
|
-
"use strict";
|
|
351
|
-
init_esm_shims();
|
|
352
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
353
|
-
exports.LINEBREAK_MATCHER = void 0;
|
|
354
|
-
exports.isTokenOnSameLine = isTokenOnSameLine;
|
|
355
|
-
exports.LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/;
|
|
356
|
-
function isTokenOnSameLine(left, right) {
|
|
357
|
-
return left.loc.end.line === right.loc.start.line;
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
|
-
|
|
362
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-estree.js
|
|
363
|
-
var require_ts_estree = __commonJS({
|
|
364
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-estree.js"(exports) {
|
|
365
|
-
"use strict";
|
|
366
|
-
init_esm_shims();
|
|
367
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
368
|
-
exports.TSESTree = exports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;
|
|
369
|
-
var types_1 = require_dist();
|
|
370
|
-
Object.defineProperty(exports, "AST_NODE_TYPES", { enumerable: true, get: function() {
|
|
371
|
-
return types_1.AST_NODE_TYPES;
|
|
372
|
-
} });
|
|
373
|
-
Object.defineProperty(exports, "AST_TOKEN_TYPES", { enumerable: true, get: function() {
|
|
374
|
-
return types_1.AST_TOKEN_TYPES;
|
|
375
|
-
} });
|
|
376
|
-
Object.defineProperty(exports, "TSESTree", { enumerable: true, get: function() {
|
|
377
|
-
return types_1.TSESTree;
|
|
378
|
-
} });
|
|
379
|
-
}
|
|
380
|
-
});
|
|
381
|
-
|
|
382
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js
|
|
383
|
-
var require_predicates2 = __commonJS({
|
|
384
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js"(exports) {
|
|
385
|
-
"use strict";
|
|
386
|
-
init_esm_shims();
|
|
387
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
388
|
-
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;
|
|
389
|
-
exports.isSetter = isSetter;
|
|
390
|
-
var ts_estree_1 = require_ts_estree();
|
|
391
|
-
var helpers_1 = require_helpers();
|
|
392
|
-
exports.isOptionalChainPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: "?." });
|
|
393
|
-
exports.isNotOptionalChainPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: "?." });
|
|
394
|
-
exports.isNonNullAssertionPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: "!" });
|
|
395
|
-
exports.isNotNonNullAssertionPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: "!" });
|
|
396
|
-
exports.isOptionalCallExpression = (0, helpers_1.isNodeOfTypeWithConditions)(
|
|
397
|
-
ts_estree_1.AST_NODE_TYPES.CallExpression,
|
|
398
|
-
// this flag means the call expression itself is option
|
|
399
|
-
// i.e. it is foo.bar?.() and not foo?.bar()
|
|
400
|
-
{ optional: true }
|
|
401
|
-
);
|
|
402
|
-
exports.isLogicalOrOperator = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.LogicalExpression, { operator: "||" });
|
|
403
|
-
exports.isTypeAssertion = (0, helpers_1.isNodeOfTypes)([
|
|
404
|
-
ts_estree_1.AST_NODE_TYPES.TSAsExpression,
|
|
405
|
-
ts_estree_1.AST_NODE_TYPES.TSTypeAssertion
|
|
406
|
-
]);
|
|
407
|
-
exports.isVariableDeclarator = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.VariableDeclarator);
|
|
408
|
-
var functionTypes = [
|
|
409
|
-
ts_estree_1.AST_NODE_TYPES.ArrowFunctionExpression,
|
|
410
|
-
ts_estree_1.AST_NODE_TYPES.FunctionDeclaration,
|
|
411
|
-
ts_estree_1.AST_NODE_TYPES.FunctionExpression
|
|
412
|
-
];
|
|
413
|
-
exports.isFunction = (0, helpers_1.isNodeOfTypes)(functionTypes);
|
|
414
|
-
var functionTypeTypes = [
|
|
415
|
-
ts_estree_1.AST_NODE_TYPES.TSCallSignatureDeclaration,
|
|
416
|
-
ts_estree_1.AST_NODE_TYPES.TSConstructorType,
|
|
417
|
-
ts_estree_1.AST_NODE_TYPES.TSConstructSignatureDeclaration,
|
|
418
|
-
ts_estree_1.AST_NODE_TYPES.TSDeclareFunction,
|
|
419
|
-
ts_estree_1.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,
|
|
420
|
-
ts_estree_1.AST_NODE_TYPES.TSFunctionType,
|
|
421
|
-
ts_estree_1.AST_NODE_TYPES.TSMethodSignature
|
|
422
|
-
];
|
|
423
|
-
exports.isFunctionType = (0, helpers_1.isNodeOfTypes)(functionTypeTypes);
|
|
424
|
-
exports.isFunctionOrFunctionType = (0, helpers_1.isNodeOfTypes)([
|
|
425
|
-
...functionTypes,
|
|
426
|
-
...functionTypeTypes
|
|
427
|
-
]);
|
|
428
|
-
exports.isTSFunctionType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSFunctionType);
|
|
429
|
-
exports.isTSConstructorType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSConstructorType);
|
|
430
|
-
exports.isClassOrTypeElement = (0, helpers_1.isNodeOfTypes)([
|
|
431
|
-
// ClassElement
|
|
432
|
-
ts_estree_1.AST_NODE_TYPES.PropertyDefinition,
|
|
433
|
-
ts_estree_1.AST_NODE_TYPES.FunctionExpression,
|
|
434
|
-
ts_estree_1.AST_NODE_TYPES.MethodDefinition,
|
|
435
|
-
ts_estree_1.AST_NODE_TYPES.TSAbstractPropertyDefinition,
|
|
436
|
-
ts_estree_1.AST_NODE_TYPES.TSAbstractMethodDefinition,
|
|
437
|
-
ts_estree_1.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,
|
|
438
|
-
ts_estree_1.AST_NODE_TYPES.TSIndexSignature,
|
|
439
|
-
// TypeElement
|
|
440
|
-
ts_estree_1.AST_NODE_TYPES.TSCallSignatureDeclaration,
|
|
441
|
-
ts_estree_1.AST_NODE_TYPES.TSConstructSignatureDeclaration,
|
|
442
|
-
// AST_NODE_TYPES.TSIndexSignature,
|
|
443
|
-
ts_estree_1.AST_NODE_TYPES.TSMethodSignature,
|
|
444
|
-
ts_estree_1.AST_NODE_TYPES.TSPropertySignature
|
|
445
|
-
]);
|
|
446
|
-
exports.isConstructor = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.MethodDefinition, { kind: "constructor" });
|
|
447
|
-
function isSetter(node) {
|
|
448
|
-
return !!node && (node.type === ts_estree_1.AST_NODE_TYPES.MethodDefinition || node.type === ts_estree_1.AST_NODE_TYPES.Property) && node.kind === "set";
|
|
449
|
-
}
|
|
450
|
-
exports.isIdentifier = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.Identifier);
|
|
451
|
-
exports.isAwaitExpression = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.AwaitExpression);
|
|
452
|
-
exports.isAwaitKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { value: "await" });
|
|
453
|
-
exports.isTypeKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { value: "type" });
|
|
454
|
-
exports.isImportKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Keyword, { value: "import" });
|
|
455
|
-
exports.isLoop = (0, helpers_1.isNodeOfTypes)([
|
|
456
|
-
ts_estree_1.AST_NODE_TYPES.DoWhileStatement,
|
|
457
|
-
ts_estree_1.AST_NODE_TYPES.ForStatement,
|
|
458
|
-
ts_estree_1.AST_NODE_TYPES.ForInStatement,
|
|
459
|
-
ts_estree_1.AST_NODE_TYPES.ForOfStatement,
|
|
460
|
-
ts_estree_1.AST_NODE_TYPES.WhileStatement
|
|
461
|
-
]);
|
|
462
|
-
}
|
|
463
|
-
});
|
|
464
|
-
|
|
465
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js
|
|
466
|
-
var require_ast_utils = __commonJS({
|
|
467
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js"(exports) {
|
|
468
|
-
"use strict";
|
|
469
|
-
init_esm_shims();
|
|
470
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
471
|
-
if (k2 === void 0) k2 = k;
|
|
472
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
473
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
474
|
-
desc = { enumerable: true, get: function() {
|
|
475
|
-
return m[k];
|
|
476
|
-
} };
|
|
477
|
-
}
|
|
478
|
-
Object.defineProperty(o, k2, desc);
|
|
479
|
-
} : function(o, m, k, k2) {
|
|
480
|
-
if (k2 === void 0) k2 = k;
|
|
481
|
-
o[k2] = m[k];
|
|
482
|
-
});
|
|
483
|
-
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
484
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
485
|
-
};
|
|
486
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
487
|
-
__exportStar(require_eslint_utils2(), exports);
|
|
488
|
-
__exportStar(require_helpers(), exports);
|
|
489
|
-
__exportStar(require_misc(), exports);
|
|
490
|
-
__exportStar(require_predicates2(), exports);
|
|
491
|
-
}
|
|
492
|
-
});
|
|
493
|
-
|
|
494
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js
|
|
495
|
-
var require_deepMerge = __commonJS({
|
|
496
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js"(exports) {
|
|
497
|
-
"use strict";
|
|
498
|
-
init_esm_shims();
|
|
499
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
500
|
-
exports.isObjectNotArray = isObjectNotArray;
|
|
501
|
-
exports.deepMerge = deepMerge;
|
|
502
|
-
function isObjectNotArray(obj) {
|
|
503
|
-
return typeof obj === "object" && obj != null && !Array.isArray(obj);
|
|
504
|
-
}
|
|
505
|
-
function deepMerge(first = {}, second = {}) {
|
|
506
|
-
const keys = /* @__PURE__ */ new Set([...Object.keys(first), ...Object.keys(second)]);
|
|
507
|
-
return Object.fromEntries([...keys].map((key) => {
|
|
508
|
-
const firstHasKey = key in first;
|
|
509
|
-
const secondHasKey = key in second;
|
|
510
|
-
const firstValue = first[key];
|
|
511
|
-
const secondValue = second[key];
|
|
512
|
-
let value;
|
|
513
|
-
if (firstHasKey && secondHasKey) {
|
|
514
|
-
if (isObjectNotArray(firstValue) && isObjectNotArray(secondValue)) {
|
|
515
|
-
value = deepMerge(firstValue, secondValue);
|
|
516
|
-
} else {
|
|
517
|
-
value = secondValue;
|
|
518
|
-
}
|
|
519
|
-
} else if (firstHasKey) {
|
|
520
|
-
value = firstValue;
|
|
521
|
-
} else {
|
|
522
|
-
value = secondValue;
|
|
523
|
-
}
|
|
524
|
-
return [key, value];
|
|
525
|
-
}));
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
});
|
|
529
|
-
|
|
530
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js
|
|
531
|
-
var require_applyDefault = __commonJS({
|
|
532
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js"(exports) {
|
|
533
|
-
"use strict";
|
|
534
|
-
init_esm_shims();
|
|
535
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
536
|
-
exports.applyDefault = applyDefault;
|
|
537
|
-
var deepMerge_1 = require_deepMerge();
|
|
538
|
-
function applyDefault(defaultOptions, userOptions) {
|
|
539
|
-
const options = structuredClone(defaultOptions);
|
|
540
|
-
if (userOptions == null) {
|
|
541
|
-
return options;
|
|
542
|
-
}
|
|
543
|
-
options.forEach((opt, i) => {
|
|
544
|
-
if (userOptions[i] !== void 0) {
|
|
545
|
-
const userOpt = userOptions[i];
|
|
546
|
-
if ((0, deepMerge_1.isObjectNotArray)(userOpt) && (0, deepMerge_1.isObjectNotArray)(opt)) {
|
|
547
|
-
options[i] = (0, deepMerge_1.deepMerge)(opt, userOpt);
|
|
548
|
-
} else {
|
|
549
|
-
options[i] = userOpt;
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
});
|
|
553
|
-
return options;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
});
|
|
557
|
-
|
|
558
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js
|
|
559
|
-
var require_parserSeemsToBeTSESLint = __commonJS({
|
|
560
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js"(exports) {
|
|
561
|
-
"use strict";
|
|
562
|
-
init_esm_shims();
|
|
563
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
564
|
-
exports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;
|
|
565
|
-
function parserSeemsToBeTSESLint(parser) {
|
|
566
|
-
return !!parser && /(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(parser);
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
});
|
|
570
|
-
|
|
571
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js
|
|
572
|
-
var require_getParserServices = __commonJS({
|
|
573
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js"(exports) {
|
|
574
|
-
"use strict";
|
|
575
|
-
init_esm_shims();
|
|
576
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
577
|
-
exports.getParserServices = getParserServices;
|
|
578
|
-
var parserSeemsToBeTSESLint_1 = require_parserSeemsToBeTSESLint();
|
|
579
|
-
var ERROR_MESSAGE_REQUIRES_PARSER_SERVICES = "You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://typescript-eslint.io/getting-started/typed-linting for enabling linting with type information.";
|
|
580
|
-
var ERROR_MESSAGE_UNKNOWN_PARSER = 'Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward "parserOptions.project" to @typescript-eslint/parser.';
|
|
581
|
-
function getParserServices(context, allowWithoutFullTypeInformation = false) {
|
|
582
|
-
const parser = context.parserPath || context.languageOptions.parser?.meta?.name;
|
|
583
|
-
if (context.sourceCode.parserServices?.esTreeNodeToTSNodeMap == null || context.sourceCode.parserServices.tsNodeToESTreeNodeMap == null) {
|
|
584
|
-
throwError(parser);
|
|
585
|
-
}
|
|
586
|
-
if (context.sourceCode.parserServices.program == null && !allowWithoutFullTypeInformation) {
|
|
587
|
-
throwError(parser);
|
|
588
|
-
}
|
|
589
|
-
return context.sourceCode.parserServices;
|
|
590
|
-
}
|
|
591
|
-
function throwError(parser) {
|
|
592
|
-
const messages = [
|
|
593
|
-
ERROR_MESSAGE_REQUIRES_PARSER_SERVICES,
|
|
594
|
-
`Parser: ${parser || "(unknown)"}`,
|
|
595
|
-
!(0, parserSeemsToBeTSESLint_1.parserSeemsToBeTSESLint)(parser) && ERROR_MESSAGE_UNKNOWN_PARSER
|
|
596
|
-
].filter(Boolean);
|
|
597
|
-
throw new Error(messages.join("\n"));
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
});
|
|
601
|
-
|
|
602
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js
|
|
603
|
-
var require_InferTypesFromRule = __commonJS({
|
|
604
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js"(exports) {
|
|
605
|
-
"use strict";
|
|
606
|
-
init_esm_shims();
|
|
607
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
608
|
-
}
|
|
609
|
-
});
|
|
610
|
-
|
|
611
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js
|
|
612
|
-
var require_nullThrows = __commonJS({
|
|
613
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js"(exports) {
|
|
614
|
-
"use strict";
|
|
615
|
-
init_esm_shims();
|
|
616
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
617
|
-
exports.NullThrowsReasons = void 0;
|
|
618
|
-
exports.nullThrows = nullThrows;
|
|
619
|
-
exports.NullThrowsReasons = {
|
|
620
|
-
MissingParent: "Expected node to have a parent.",
|
|
621
|
-
MissingToken: (token, thing) => `Expected to find a ${token} for the ${thing}.`
|
|
622
|
-
};
|
|
623
|
-
function nullThrows(value, message) {
|
|
624
|
-
if (value == null) {
|
|
625
|
-
throw new Error(`Non-null Assertion Failed: ${message}`);
|
|
626
|
-
}
|
|
627
|
-
return value;
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
});
|
|
631
|
-
|
|
632
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js
|
|
633
|
-
var require_RuleCreator = __commonJS({
|
|
634
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js"(exports) {
|
|
635
|
-
"use strict";
|
|
636
|
-
init_esm_shims();
|
|
637
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
638
|
-
exports.RuleCreator = RuleCreator;
|
|
639
|
-
var applyDefault_1 = require_applyDefault();
|
|
640
|
-
function RuleCreator(urlCreator) {
|
|
641
|
-
return function createNamedRule({ meta, name, ...rule }) {
|
|
642
|
-
return createRule({
|
|
643
|
-
meta: {
|
|
644
|
-
...meta,
|
|
645
|
-
docs: {
|
|
646
|
-
...meta.docs,
|
|
647
|
-
url: urlCreator(name)
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
...rule
|
|
651
|
-
});
|
|
652
|
-
};
|
|
653
|
-
}
|
|
654
|
-
function createRule({ create, defaultOptions, meta }) {
|
|
655
|
-
return {
|
|
656
|
-
create(context) {
|
|
657
|
-
const optionsWithDefault = (0, applyDefault_1.applyDefault)(defaultOptions, context.options);
|
|
658
|
-
return create(context, optionsWithDefault);
|
|
659
|
-
},
|
|
660
|
-
defaultOptions,
|
|
661
|
-
meta
|
|
662
|
-
};
|
|
663
|
-
}
|
|
664
|
-
RuleCreator.withoutDocs = function withoutDocs(args) {
|
|
665
|
-
return createRule(args);
|
|
666
|
-
};
|
|
667
|
-
}
|
|
668
|
-
});
|
|
669
|
-
|
|
670
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js
|
|
671
|
-
var require_eslint_utils3 = __commonJS({
|
|
672
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js"(exports) {
|
|
673
|
-
"use strict";
|
|
674
|
-
init_esm_shims();
|
|
675
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
676
|
-
if (k2 === void 0) k2 = k;
|
|
677
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
678
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
679
|
-
desc = { enumerable: true, get: function() {
|
|
680
|
-
return m[k];
|
|
681
|
-
} };
|
|
682
|
-
}
|
|
683
|
-
Object.defineProperty(o, k2, desc);
|
|
684
|
-
} : function(o, m, k, k2) {
|
|
685
|
-
if (k2 === void 0) k2 = k;
|
|
686
|
-
o[k2] = m[k];
|
|
687
|
-
});
|
|
688
|
-
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
689
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
690
|
-
};
|
|
691
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
692
|
-
__exportStar(require_applyDefault(), exports);
|
|
693
|
-
__exportStar(require_deepMerge(), exports);
|
|
694
|
-
__exportStar(require_getParserServices(), exports);
|
|
695
|
-
__exportStar(require_InferTypesFromRule(), exports);
|
|
696
|
-
__exportStar(require_nullThrows(), exports);
|
|
697
|
-
__exportStar(require_RuleCreator(), exports);
|
|
698
|
-
}
|
|
699
|
-
});
|
|
700
|
-
|
|
701
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/json-schema.js
|
|
702
|
-
var require_json_schema = __commonJS({
|
|
703
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/json-schema.js"(exports) {
|
|
704
|
-
"use strict";
|
|
705
|
-
init_esm_shims();
|
|
706
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
707
|
-
}
|
|
708
|
-
});
|
|
709
|
-
|
|
710
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js
|
|
711
|
-
var require_AST = __commonJS({
|
|
712
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js"(exports) {
|
|
713
|
-
"use strict";
|
|
714
|
-
init_esm_shims();
|
|
715
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
716
|
-
}
|
|
717
|
-
});
|
|
718
|
-
|
|
719
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js
|
|
720
|
-
var require_Config = __commonJS({
|
|
721
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js"(exports) {
|
|
722
|
-
"use strict";
|
|
723
|
-
init_esm_shims();
|
|
724
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
725
|
-
}
|
|
726
|
-
});
|
|
727
|
-
|
|
728
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js
|
|
729
|
-
var require_FlatESLint = __commonJS({
|
|
730
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js"(exports) {
|
|
731
|
-
"use strict";
|
|
732
|
-
init_esm_shims();
|
|
733
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
734
|
-
exports.FlatESLint = void 0;
|
|
735
|
-
var use_at_your_own_risk_1 = __require("eslint/use-at-your-own-risk");
|
|
736
|
-
var FlatESLint = class extends use_at_your_own_risk_1.FlatESLint {
|
|
737
|
-
};
|
|
738
|
-
exports.FlatESLint = FlatESLint;
|
|
739
|
-
}
|
|
740
|
-
});
|
|
741
|
-
|
|
742
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js
|
|
743
|
-
var require_LegacyESLint = __commonJS({
|
|
744
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js"(exports) {
|
|
745
|
-
"use strict";
|
|
746
|
-
init_esm_shims();
|
|
747
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
748
|
-
exports.LegacyESLint = void 0;
|
|
749
|
-
var use_at_your_own_risk_1 = __require("eslint/use-at-your-own-risk");
|
|
750
|
-
var LegacyESLint = class extends use_at_your_own_risk_1.LegacyESLint {
|
|
751
|
-
};
|
|
752
|
-
exports.LegacyESLint = LegacyESLint;
|
|
753
|
-
}
|
|
754
|
-
});
|
|
755
|
-
|
|
756
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js
|
|
757
|
-
var require_ESLint = __commonJS({
|
|
758
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js"(exports) {
|
|
759
|
-
"use strict";
|
|
760
|
-
init_esm_shims();
|
|
761
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
762
|
-
exports.LegacyESLint = exports.ESLint = exports.FlatESLint = void 0;
|
|
763
|
-
var FlatESLint_1 = require_FlatESLint();
|
|
764
|
-
Object.defineProperty(exports, "FlatESLint", { enumerable: true, get: function() {
|
|
765
|
-
return FlatESLint_1.FlatESLint;
|
|
766
|
-
} });
|
|
767
|
-
var FlatESLint_2 = require_FlatESLint();
|
|
768
|
-
Object.defineProperty(exports, "ESLint", { enumerable: true, get: function() {
|
|
769
|
-
return FlatESLint_2.FlatESLint;
|
|
770
|
-
} });
|
|
771
|
-
var LegacyESLint_1 = require_LegacyESLint();
|
|
772
|
-
Object.defineProperty(exports, "LegacyESLint", { enumerable: true, get: function() {
|
|
773
|
-
return LegacyESLint_1.LegacyESLint;
|
|
774
|
-
} });
|
|
775
|
-
}
|
|
776
|
-
});
|
|
777
|
-
|
|
778
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js
|
|
779
|
-
var require_Linter = __commonJS({
|
|
780
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js"(exports) {
|
|
781
|
-
"use strict";
|
|
782
|
-
init_esm_shims();
|
|
783
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
784
|
-
exports.Linter = void 0;
|
|
785
|
-
var eslint_1 = __require("eslint");
|
|
786
|
-
var Linter = class extends eslint_1.Linter {
|
|
787
|
-
};
|
|
788
|
-
exports.Linter = Linter;
|
|
789
|
-
}
|
|
790
|
-
});
|
|
791
|
-
|
|
792
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js
|
|
793
|
-
var require_Parser = __commonJS({
|
|
794
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js"(exports) {
|
|
795
|
-
"use strict";
|
|
796
|
-
init_esm_shims();
|
|
797
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
798
|
-
}
|
|
799
|
-
});
|
|
800
|
-
|
|
801
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js
|
|
802
|
-
var require_ParserOptions = __commonJS({
|
|
803
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js"(exports) {
|
|
804
|
-
"use strict";
|
|
805
|
-
init_esm_shims();
|
|
806
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
807
|
-
}
|
|
808
|
-
});
|
|
809
|
-
|
|
810
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js
|
|
811
|
-
var require_Processor = __commonJS({
|
|
812
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js"(exports) {
|
|
813
|
-
"use strict";
|
|
814
|
-
init_esm_shims();
|
|
815
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
816
|
-
}
|
|
817
|
-
});
|
|
818
|
-
|
|
819
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js
|
|
820
|
-
var require_Rule = __commonJS({
|
|
821
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js"(exports) {
|
|
822
|
-
"use strict";
|
|
823
|
-
init_esm_shims();
|
|
824
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
825
|
-
}
|
|
826
|
-
});
|
|
827
|
-
|
|
828
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js
|
|
829
|
-
var require_RuleTester = __commonJS({
|
|
830
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js"(exports) {
|
|
831
|
-
"use strict";
|
|
832
|
-
init_esm_shims();
|
|
833
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
834
|
-
exports.RuleTester = void 0;
|
|
835
|
-
var eslint_1 = __require("eslint");
|
|
836
|
-
var RuleTester = class extends eslint_1.RuleTester {
|
|
837
|
-
};
|
|
838
|
-
exports.RuleTester = RuleTester;
|
|
839
|
-
}
|
|
840
|
-
});
|
|
841
|
-
|
|
842
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js
|
|
843
|
-
var require_Scope = __commonJS({
|
|
844
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js"(exports) {
|
|
845
|
-
"use strict";
|
|
846
|
-
init_esm_shims();
|
|
847
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
848
|
-
if (k2 === void 0) k2 = k;
|
|
849
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
850
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
851
|
-
desc = { enumerable: true, get: function() {
|
|
852
|
-
return m[k];
|
|
853
|
-
} };
|
|
854
|
-
}
|
|
855
|
-
Object.defineProperty(o, k2, desc);
|
|
856
|
-
} : function(o, m, k, k2) {
|
|
857
|
-
if (k2 === void 0) k2 = k;
|
|
858
|
-
o[k2] = m[k];
|
|
859
|
-
});
|
|
860
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
861
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
862
|
-
} : function(o, v) {
|
|
863
|
-
o["default"] = v;
|
|
864
|
-
});
|
|
865
|
-
var __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
|
|
866
|
-
var ownKeys = function(o) {
|
|
867
|
-
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
868
|
-
var ar = [];
|
|
869
|
-
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
870
|
-
return ar;
|
|
871
|
-
};
|
|
872
|
-
return ownKeys(o);
|
|
873
|
-
};
|
|
874
|
-
return function(mod) {
|
|
875
|
-
if (mod && mod.__esModule) return mod;
|
|
876
|
-
var result = {};
|
|
877
|
-
if (mod != null) {
|
|
878
|
-
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
879
|
-
}
|
|
880
|
-
__setModuleDefault(result, mod);
|
|
881
|
-
return result;
|
|
882
|
-
};
|
|
883
|
-
}();
|
|
884
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
885
|
-
exports.Scope = void 0;
|
|
886
|
-
var scopeManager = __importStar(require_dist2());
|
|
887
|
-
var Scope;
|
|
888
|
-
(function(Scope2) {
|
|
889
|
-
Scope2.ScopeType = scopeManager.ScopeType;
|
|
890
|
-
Scope2.DefinitionType = scopeManager.DefinitionType;
|
|
891
|
-
})(Scope || (exports.Scope = Scope = {}));
|
|
892
|
-
}
|
|
893
|
-
});
|
|
894
|
-
|
|
895
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js
|
|
896
|
-
var require_SourceCode = __commonJS({
|
|
897
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js"(exports) {
|
|
898
|
-
"use strict";
|
|
899
|
-
init_esm_shims();
|
|
900
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
901
|
-
exports.SourceCode = void 0;
|
|
902
|
-
var eslint_1 = __require("eslint");
|
|
903
|
-
var SourceCode = class extends eslint_1.SourceCode {
|
|
904
|
-
};
|
|
905
|
-
exports.SourceCode = SourceCode;
|
|
906
|
-
}
|
|
907
|
-
});
|
|
908
|
-
|
|
909
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js
|
|
910
|
-
var require_ts_eslint = __commonJS({
|
|
911
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js"(exports) {
|
|
912
|
-
"use strict";
|
|
913
|
-
init_esm_shims();
|
|
914
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
915
|
-
if (k2 === void 0) k2 = k;
|
|
916
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
917
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
918
|
-
desc = { enumerable: true, get: function() {
|
|
919
|
-
return m[k];
|
|
920
|
-
} };
|
|
921
|
-
}
|
|
922
|
-
Object.defineProperty(o, k2, desc);
|
|
923
|
-
} : function(o, m, k, k2) {
|
|
924
|
-
if (k2 === void 0) k2 = k;
|
|
925
|
-
o[k2] = m[k];
|
|
926
|
-
});
|
|
927
|
-
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
928
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
929
|
-
};
|
|
930
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
931
|
-
__exportStar(require_AST(), exports);
|
|
932
|
-
__exportStar(require_Config(), exports);
|
|
933
|
-
__exportStar(require_ESLint(), exports);
|
|
934
|
-
__exportStar(require_Linter(), exports);
|
|
935
|
-
__exportStar(require_Parser(), exports);
|
|
936
|
-
__exportStar(require_ParserOptions(), exports);
|
|
937
|
-
__exportStar(require_Processor(), exports);
|
|
938
|
-
__exportStar(require_Rule(), exports);
|
|
939
|
-
__exportStar(require_RuleTester(), exports);
|
|
940
|
-
__exportStar(require_Scope(), exports);
|
|
941
|
-
__exportStar(require_SourceCode(), exports);
|
|
942
|
-
}
|
|
943
|
-
});
|
|
944
|
-
|
|
945
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js
|
|
946
|
-
var require_isArray = __commonJS({
|
|
947
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js"(exports) {
|
|
948
|
-
"use strict";
|
|
949
|
-
init_esm_shims();
|
|
950
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
951
|
-
exports.isArray = isArray;
|
|
952
|
-
function isArray(arg) {
|
|
953
|
-
return Array.isArray(arg);
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
});
|
|
957
|
-
|
|
958
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js
|
|
959
|
-
var require_NoInfer = __commonJS({
|
|
960
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js"(exports) {
|
|
961
|
-
"use strict";
|
|
962
|
-
init_esm_shims();
|
|
963
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
964
|
-
}
|
|
965
|
-
});
|
|
966
|
-
|
|
967
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js
|
|
968
|
-
var require_ts_utils = __commonJS({
|
|
969
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js"(exports) {
|
|
970
|
-
"use strict";
|
|
971
|
-
init_esm_shims();
|
|
972
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
973
|
-
if (k2 === void 0) k2 = k;
|
|
974
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
975
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
976
|
-
desc = { enumerable: true, get: function() {
|
|
977
|
-
return m[k];
|
|
978
|
-
} };
|
|
979
|
-
}
|
|
980
|
-
Object.defineProperty(o, k2, desc);
|
|
981
|
-
} : function(o, m, k, k2) {
|
|
982
|
-
if (k2 === void 0) k2 = k;
|
|
983
|
-
o[k2] = m[k];
|
|
984
|
-
});
|
|
985
|
-
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
986
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
987
|
-
};
|
|
988
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
989
|
-
__exportStar(require_isArray(), exports);
|
|
990
|
-
__exportStar(require_NoInfer(), exports);
|
|
991
|
-
}
|
|
992
|
-
});
|
|
993
|
-
|
|
994
|
-
// node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/index.js
|
|
995
|
-
var require_dist3 = __commonJS({
|
|
996
|
-
"node_modules/.pnpm/@typescript-eslint+utils@8.23.0_eslint@9.19.0_jiti@2.4.2__typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/index.js"(exports) {
|
|
997
|
-
"use strict";
|
|
998
|
-
init_esm_shims();
|
|
999
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1000
|
-
if (k2 === void 0) k2 = k;
|
|
1001
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1002
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1003
|
-
desc = { enumerable: true, get: function() {
|
|
1004
|
-
return m[k];
|
|
1005
|
-
} };
|
|
1006
|
-
}
|
|
1007
|
-
Object.defineProperty(o, k2, desc);
|
|
1008
|
-
} : function(o, m, k, k2) {
|
|
1009
|
-
if (k2 === void 0) k2 = k;
|
|
1010
|
-
o[k2] = m[k];
|
|
1011
|
-
});
|
|
1012
|
-
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
1013
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1014
|
-
} : function(o, v) {
|
|
1015
|
-
o["default"] = v;
|
|
1016
|
-
});
|
|
1017
|
-
var __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
|
|
1018
|
-
var ownKeys = function(o) {
|
|
1019
|
-
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
1020
|
-
var ar = [];
|
|
1021
|
-
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
1022
|
-
return ar;
|
|
1023
|
-
};
|
|
1024
|
-
return ownKeys(o);
|
|
1025
|
-
};
|
|
1026
|
-
return function(mod) {
|
|
1027
|
-
if (mod && mod.__esModule) return mod;
|
|
1028
|
-
var result = {};
|
|
1029
|
-
if (mod != null) {
|
|
1030
|
-
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
1031
|
-
}
|
|
1032
|
-
__setModuleDefault(result, mod);
|
|
1033
|
-
return result;
|
|
1034
|
-
};
|
|
1035
|
-
}();
|
|
1036
|
-
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
1037
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
1038
|
-
};
|
|
1039
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1040
|
-
exports.TSUtils = exports.TSESLint = exports.JSONSchema = exports.ESLintUtils = exports.ASTUtils = void 0;
|
|
1041
|
-
exports.ASTUtils = __importStar(require_ast_utils());
|
|
1042
|
-
exports.ESLintUtils = __importStar(require_eslint_utils3());
|
|
1043
|
-
exports.JSONSchema = __importStar(require_json_schema());
|
|
1044
|
-
exports.TSESLint = __importStar(require_ts_eslint());
|
|
1045
|
-
__exportStar(require_ts_estree(), exports);
|
|
1046
|
-
exports.TSUtils = __importStar(require_ts_utils());
|
|
1047
|
-
}
|
|
1048
|
-
});
|
|
1049
|
-
|
|
1050
|
-
export {
|
|
1051
|
-
require_ast_utils,
|
|
1052
|
-
require_dist3 as require_dist
|
|
1053
|
-
};
|