@alextheman/eslint-plugin 5.18.0 → 5.18.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/dist/index.cjs +249 -82
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +248 -81
- package/dist/internal/index.cjs +202 -35
- package/dist/internal/index.d.cts +4 -0
- package/dist/internal/index.d.ts +4 -0
- package/dist/internal/index.js +202 -35
- package/dist/utility/index.cjs +1 -1
- package/dist/utility/index.d.cts +2 -3
- package/dist/utility/index.d.ts +2 -3
- package/package.json +26 -25
package/dist/index.cjs
CHANGED
|
@@ -20,7 +20,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
20
20
|
}
|
|
21
21
|
return to;
|
|
22
22
|
};
|
|
23
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
24
24
|
value: mod,
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
@@ -46,6 +46,8 @@ let eslint_plugin_perfectionist = require("eslint-plugin-perfectionist");
|
|
|
46
46
|
eslint_plugin_perfectionist = __toESM(eslint_plugin_perfectionist, 1);
|
|
47
47
|
let eslint_plugin_prettier = require("eslint-plugin-prettier");
|
|
48
48
|
eslint_plugin_prettier = __toESM(eslint_plugin_prettier, 1);
|
|
49
|
+
let typescript_eslint = require("typescript-eslint");
|
|
50
|
+
typescript_eslint = __toESM(typescript_eslint, 1);
|
|
49
51
|
let _eslint_react_eslint_plugin = require("@eslint-react/eslint-plugin");
|
|
50
52
|
_eslint_react_eslint_plugin = __toESM(_eslint_react_eslint_plugin, 1);
|
|
51
53
|
let _stylistic_eslint_plugin = require("@stylistic/eslint-plugin");
|
|
@@ -58,12 +60,10 @@ let eslint_plugin_react_hooks = require("eslint-plugin-react-hooks");
|
|
|
58
60
|
eslint_plugin_react_hooks = __toESM(eslint_plugin_react_hooks, 1);
|
|
59
61
|
let eslint_plugin_package_json = require("eslint-plugin-package-json");
|
|
60
62
|
eslint_plugin_package_json = __toESM(eslint_plugin_package_json, 1);
|
|
61
|
-
let typescript_eslint = require("typescript-eslint");
|
|
62
|
-
typescript_eslint = __toESM(typescript_eslint, 1);
|
|
63
63
|
let eslint_plugin_jsdoc = require("eslint-plugin-jsdoc");
|
|
64
64
|
eslint_plugin_jsdoc = __toESM(eslint_plugin_jsdoc, 1);
|
|
65
65
|
let _alextheman_utility_node = require("@alextheman/utility/node");
|
|
66
|
-
//#region node_modules/.pnpm/globals@17.
|
|
66
|
+
//#region node_modules/.pnpm/globals@17.11.0/node_modules/globals/globals.json
|
|
67
67
|
var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
68
68
|
module.exports = {
|
|
69
69
|
"amd": {
|
|
@@ -97,17 +97,31 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
97
97
|
"audioWorklet": {
|
|
98
98
|
"AbortController": false,
|
|
99
99
|
"AbortSignal": false,
|
|
100
|
-
"AsyncDisposableStack": false,
|
|
101
100
|
"AudioWorkletGlobalScope": false,
|
|
102
101
|
"AudioWorkletProcessor": false,
|
|
103
102
|
"ByteLengthQueuingStrategy": false,
|
|
104
103
|
"CompressionStream": false,
|
|
105
104
|
"console": false,
|
|
106
105
|
"CountQueuingStrategy": false,
|
|
106
|
+
"CSSImageValue": false,
|
|
107
|
+
"CSSKeywordValue": false,
|
|
108
|
+
"CSSMathClamp": false,
|
|
109
|
+
"CSSMathInvert": false,
|
|
110
|
+
"CSSMathMax": false,
|
|
111
|
+
"CSSMathMin": false,
|
|
112
|
+
"CSSMathNegate": false,
|
|
113
|
+
"CSSMathProduct": false,
|
|
114
|
+
"CSSMathSum": false,
|
|
115
|
+
"CSSMathValue": false,
|
|
116
|
+
"CSSNumericArray": false,
|
|
117
|
+
"CSSNumericValue": false,
|
|
118
|
+
"CSSStyleValue": false,
|
|
119
|
+
"CSSUnitValue": false,
|
|
120
|
+
"CSSUnparsedValue": false,
|
|
121
|
+
"CSSVariableReferenceValue": false,
|
|
107
122
|
"currentFrame": false,
|
|
108
123
|
"currentTime": false,
|
|
109
124
|
"DecompressionStream": false,
|
|
110
|
-
"DisposableStack": false,
|
|
111
125
|
"Event": false,
|
|
112
126
|
"EventTarget": false,
|
|
113
127
|
"MessageEvent": false,
|
|
@@ -123,7 +137,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
123
137
|
"ReadableStreamDefaultReader": false,
|
|
124
138
|
"registerProcessor": false,
|
|
125
139
|
"sampleRate": false,
|
|
126
|
-
"
|
|
140
|
+
"StylePropertyMapReadOnly": false,
|
|
127
141
|
"Temporal": false,
|
|
128
142
|
"TextDecoderStream": false,
|
|
129
143
|
"TextEncoderStream": false,
|
|
@@ -154,7 +168,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
154
168
|
"AnimationEvent": false,
|
|
155
169
|
"AnimationPlaybackEvent": false,
|
|
156
170
|
"AnimationTimeline": false,
|
|
157
|
-
"AsyncDisposableStack": false,
|
|
158
171
|
"atob": false,
|
|
159
172
|
"Attr": false,
|
|
160
173
|
"Audio": false,
|
|
@@ -264,6 +277,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
264
277
|
"CSSConditionRule": false,
|
|
265
278
|
"CSSContainerRule": false,
|
|
266
279
|
"CSSCounterStyleRule": false,
|
|
280
|
+
"CSSFontFaceDescriptors": false,
|
|
267
281
|
"CSSFontFaceRule": false,
|
|
268
282
|
"CSSFontFeatureValuesRule": false,
|
|
269
283
|
"CSSFontPaletteValuesRule": false,
|
|
@@ -300,6 +314,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
300
314
|
"CSSPositionTryRule": false,
|
|
301
315
|
"CSSPositionValue": false,
|
|
302
316
|
"CSSPropertyRule": false,
|
|
317
|
+
"CSSPseudoElement": false,
|
|
303
318
|
"CSSRotate": false,
|
|
304
319
|
"CSSRule": false,
|
|
305
320
|
"CSSRuleList": false,
|
|
@@ -341,7 +356,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
341
356
|
"DevicePosture": false,
|
|
342
357
|
"DigitalCredential": false,
|
|
343
358
|
"dispatchEvent": false,
|
|
344
|
-
"DisposableStack": false,
|
|
345
359
|
"document": false,
|
|
346
360
|
"Document": false,
|
|
347
361
|
"DocumentFragment": false,
|
|
@@ -559,6 +573,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
559
573
|
"HTMLTrackElement": false,
|
|
560
574
|
"HTMLUListElement": false,
|
|
561
575
|
"HTMLUnknownElement": false,
|
|
576
|
+
"HTMLUserMediaElement": false,
|
|
562
577
|
"HTMLVideoElement": false,
|
|
563
578
|
"IDBCursor": false,
|
|
564
579
|
"IDBCursorWithValue": false,
|
|
@@ -594,6 +609,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
594
609
|
"InputDeviceInfo": false,
|
|
595
610
|
"InputEvent": false,
|
|
596
611
|
"IntegrityViolationReportBody": false,
|
|
612
|
+
"InteractionContentfulPaint": false,
|
|
597
613
|
"InterestEvent": false,
|
|
598
614
|
"IntersectionObserver": false,
|
|
599
615
|
"IntersectionObserverEntry": false,
|
|
@@ -603,6 +619,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
603
619
|
"KeyboardLayoutMap": false,
|
|
604
620
|
"KeyframeEffect": false,
|
|
605
621
|
"LanguageDetector": false,
|
|
622
|
+
"LanguageModel": false,
|
|
606
623
|
"LargestContentfulPaint": false,
|
|
607
624
|
"LaunchParams": false,
|
|
608
625
|
"launchQueue": false,
|
|
@@ -667,6 +684,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
667
684
|
"MimeType": false,
|
|
668
685
|
"MimeTypeArray": false,
|
|
669
686
|
"model": false,
|
|
687
|
+
"ModelContext": false,
|
|
670
688
|
"ModelGenericSession": false,
|
|
671
689
|
"ModelManager": false,
|
|
672
690
|
"MouseEvent": false,
|
|
@@ -866,6 +884,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
866
884
|
"PerformanceLongAnimationFrameTiming": false,
|
|
867
885
|
"PerformanceLongTaskTiming": false,
|
|
868
886
|
"PerformanceMark": false,
|
|
887
|
+
"PerformanceMarkConditional": false,
|
|
869
888
|
"PerformanceMeasure": false,
|
|
870
889
|
"PerformanceNavigation": false,
|
|
871
890
|
"PerformanceNavigationTiming": false,
|
|
@@ -875,11 +894,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
875
894
|
"PerformanceResourceTiming": false,
|
|
876
895
|
"PerformanceScriptTiming": false,
|
|
877
896
|
"PerformanceServerTiming": false,
|
|
897
|
+
"PerformanceSoftNavigation": false,
|
|
878
898
|
"PerformanceTiming": false,
|
|
879
899
|
"PerformanceTimingConfidence": false,
|
|
880
900
|
"PeriodicSyncManager": false,
|
|
881
901
|
"PeriodicWave": false,
|
|
882
902
|
"Permissions": false,
|
|
903
|
+
"PermissionsPolicy": false,
|
|
883
904
|
"PermissionStatus": false,
|
|
884
905
|
"PERSISTENT": false,
|
|
885
906
|
"personalbar": false,
|
|
@@ -949,6 +970,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
949
970
|
"RTCError": false,
|
|
950
971
|
"RTCErrorEvent": false,
|
|
951
972
|
"RTCIceCandidate": false,
|
|
973
|
+
"RTCIceCandidatePair": false,
|
|
952
974
|
"RTCIceTransport": false,
|
|
953
975
|
"RTCPeerConnection": false,
|
|
954
976
|
"RTCPeerConnectionIceErrorEvent": false,
|
|
@@ -1043,7 +1065,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1043
1065
|
"Subscriber": false,
|
|
1044
1066
|
"SubtleCrypto": false,
|
|
1045
1067
|
"Summarizer": false,
|
|
1046
|
-
"SuppressedError": false,
|
|
1047
1068
|
"SVGAElement": false,
|
|
1048
1069
|
"SVGAngle": false,
|
|
1049
1070
|
"SVGAnimatedAngle": false,
|
|
@@ -1243,14 +1264,17 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1243
1264
|
"WebGLTransformFeedback": false,
|
|
1244
1265
|
"WebGLUniformLocation": false,
|
|
1245
1266
|
"WebGLVertexArrayObject": false,
|
|
1267
|
+
"WebMCPEvent": false,
|
|
1246
1268
|
"WebSocket": false,
|
|
1247
1269
|
"WebSocketError": false,
|
|
1248
1270
|
"WebSocketStream": false,
|
|
1249
1271
|
"WebTransport": false,
|
|
1250
1272
|
"WebTransportBidirectionalStream": false,
|
|
1251
1273
|
"WebTransportDatagramDuplexStream": false,
|
|
1274
|
+
"WebTransportDatagramsWritable": false,
|
|
1252
1275
|
"WebTransportError": false,
|
|
1253
1276
|
"WebTransportReceiveStream": false,
|
|
1277
|
+
"WebTransportSendGroup": false,
|
|
1254
1278
|
"WebTransportSendStream": false,
|
|
1255
1279
|
"WGSLLanguageFeatures": false,
|
|
1256
1280
|
"WheelEvent": false,
|
|
@@ -1328,6 +1352,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1328
1352
|
"AggregateError": false,
|
|
1329
1353
|
"Array": false,
|
|
1330
1354
|
"ArrayBuffer": false,
|
|
1355
|
+
"AsyncDisposableStack": false,
|
|
1331
1356
|
"Atomics": false,
|
|
1332
1357
|
"BigInt": false,
|
|
1333
1358
|
"BigInt64Array": false,
|
|
@@ -1337,6 +1362,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1337
1362
|
"Date": false,
|
|
1338
1363
|
"decodeURI": false,
|
|
1339
1364
|
"decodeURIComponent": false,
|
|
1365
|
+
"DisposableStack": false,
|
|
1340
1366
|
"encodeURI": false,
|
|
1341
1367
|
"encodeURIComponent": false,
|
|
1342
1368
|
"Error": false,
|
|
@@ -1374,6 +1400,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1374
1400
|
"Set": false,
|
|
1375
1401
|
"SharedArrayBuffer": false,
|
|
1376
1402
|
"String": false,
|
|
1403
|
+
"SuppressedError": false,
|
|
1377
1404
|
"Symbol": false,
|
|
1378
1405
|
"SyntaxError": false,
|
|
1379
1406
|
"TypeError": false,
|
|
@@ -1393,7 +1420,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1393
1420
|
"AbortSignal": false,
|
|
1394
1421
|
"addEventListener": false,
|
|
1395
1422
|
"alert": false,
|
|
1396
|
-
"AsyncDisposableStack": false,
|
|
1397
1423
|
"atob": false,
|
|
1398
1424
|
"Blob": false,
|
|
1399
1425
|
"BroadcastChannel": false,
|
|
@@ -1417,7 +1443,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1417
1443
|
"CustomEvent": false,
|
|
1418
1444
|
"DecompressionStream": false,
|
|
1419
1445
|
"dispatchEvent": false,
|
|
1420
|
-
"DisposableStack": false,
|
|
1421
1446
|
"DOMException": false,
|
|
1422
1447
|
"ErrorEvent": false,
|
|
1423
1448
|
"Event": false,
|
|
@@ -1468,7 +1493,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1468
1493
|
"ShadowRealm": false,
|
|
1469
1494
|
"structuredClone": false,
|
|
1470
1495
|
"SubtleCrypto": false,
|
|
1471
|
-
"SuppressedError": false,
|
|
1472
1496
|
"TextDecoder": false,
|
|
1473
1497
|
"TextDecoderStream": false,
|
|
1474
1498
|
"TextEncoder": false,
|
|
@@ -1514,7 +1538,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1514
1538
|
"AbortSignal": false,
|
|
1515
1539
|
"addEventListener": false,
|
|
1516
1540
|
"alert": false,
|
|
1517
|
-
"AsyncDisposableStack": false,
|
|
1518
1541
|
"atob": false,
|
|
1519
1542
|
"Blob": false,
|
|
1520
1543
|
"BroadcastChannel": false,
|
|
@@ -1542,8 +1565,14 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1542
1565
|
"DecompressionStream": false,
|
|
1543
1566
|
"Deno": false,
|
|
1544
1567
|
"dispatchEvent": false,
|
|
1545
|
-
"DisposableStack": false,
|
|
1546
1568
|
"DOMException": false,
|
|
1569
|
+
"DOMMatrix": false,
|
|
1570
|
+
"DOMMatrixReadOnly": false,
|
|
1571
|
+
"DOMPoint": false,
|
|
1572
|
+
"DOMPointReadOnly": false,
|
|
1573
|
+
"DOMQuad": false,
|
|
1574
|
+
"DOMRect": false,
|
|
1575
|
+
"DOMRectReadOnly": false,
|
|
1547
1576
|
"ErrorEvent": false,
|
|
1548
1577
|
"Event": false,
|
|
1549
1578
|
"EventSource": false,
|
|
@@ -1595,16 +1624,22 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1595
1624
|
"GPUValidationError": false,
|
|
1596
1625
|
"Headers": false,
|
|
1597
1626
|
"ImageBitmap": false,
|
|
1627
|
+
"ImageBitmapRenderingContext": false,
|
|
1598
1628
|
"ImageData": false,
|
|
1599
1629
|
"localStorage": false,
|
|
1600
1630
|
"location": false,
|
|
1601
1631
|
"Location": false,
|
|
1632
|
+
"Lock": false,
|
|
1633
|
+
"LockManager": false,
|
|
1602
1634
|
"MessageChannel": false,
|
|
1603
1635
|
"MessageEvent": false,
|
|
1604
1636
|
"MessagePort": false,
|
|
1605
1637
|
"name": false,
|
|
1606
1638
|
"navigator": false,
|
|
1607
1639
|
"Navigator": false,
|
|
1640
|
+
"NavigatorUAData": false,
|
|
1641
|
+
"nodeBootstrap": false,
|
|
1642
|
+
"OffscreenCanvas": false,
|
|
1608
1643
|
"onbeforeunload": true,
|
|
1609
1644
|
"onerror": true,
|
|
1610
1645
|
"onload": true,
|
|
@@ -1641,7 +1676,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1641
1676
|
"Storage": false,
|
|
1642
1677
|
"structuredClone": false,
|
|
1643
1678
|
"SubtleCrypto": false,
|
|
1644
|
-
"SuppressedError": false,
|
|
1645
1679
|
"Temporal": false,
|
|
1646
1680
|
"TextDecoder": false,
|
|
1647
1681
|
"TextDecoderStream": false,
|
|
@@ -2417,6 +2451,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2417
2451
|
"AggregateError": false,
|
|
2418
2452
|
"Array": false,
|
|
2419
2453
|
"ArrayBuffer": false,
|
|
2454
|
+
"AsyncDisposableStack": false,
|
|
2420
2455
|
"Atomics": false,
|
|
2421
2456
|
"BigInt": false,
|
|
2422
2457
|
"BigInt64Array": false,
|
|
@@ -2426,6 +2461,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2426
2461
|
"Date": false,
|
|
2427
2462
|
"decodeURI": false,
|
|
2428
2463
|
"decodeURIComponent": false,
|
|
2464
|
+
"DisposableStack": false,
|
|
2429
2465
|
"encodeURI": false,
|
|
2430
2466
|
"encodeURIComponent": false,
|
|
2431
2467
|
"Error": false,
|
|
@@ -2463,6 +2499,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2463
2499
|
"Set": false,
|
|
2464
2500
|
"SharedArrayBuffer": false,
|
|
2465
2501
|
"String": false,
|
|
2502
|
+
"SuppressedError": false,
|
|
2466
2503
|
"Symbol": false,
|
|
2467
2504
|
"SyntaxError": false,
|
|
2468
2505
|
"TypeError": false,
|
|
@@ -2550,6 +2587,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2550
2587
|
"GM_addElement": false,
|
|
2551
2588
|
"GM_addStyle": false,
|
|
2552
2589
|
"GM_addValueChangeListener": false,
|
|
2590
|
+
"GM_cookie": false,
|
|
2553
2591
|
"GM_deleteValue": false,
|
|
2554
2592
|
"GM_deleteValues": false,
|
|
2555
2593
|
"GM_download": false,
|
|
@@ -2741,7 +2779,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2741
2779
|
"__filename": false,
|
|
2742
2780
|
"AbortController": false,
|
|
2743
2781
|
"AbortSignal": false,
|
|
2744
|
-
"AsyncDisposableStack": false,
|
|
2745
2782
|
"atob": false,
|
|
2746
2783
|
"Blob": false,
|
|
2747
2784
|
"BroadcastChannel": false,
|
|
@@ -2760,7 +2797,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2760
2797
|
"CryptoKey": false,
|
|
2761
2798
|
"CustomEvent": false,
|
|
2762
2799
|
"DecompressionStream": false,
|
|
2763
|
-
"DisposableStack": false,
|
|
2764
2800
|
"DOMException": false,
|
|
2765
2801
|
"ErrorEvent": false,
|
|
2766
2802
|
"Event": false,
|
|
@@ -2788,6 +2824,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2788
2824
|
"PerformanceResourceTiming": false,
|
|
2789
2825
|
"process": false,
|
|
2790
2826
|
"queueMicrotask": false,
|
|
2827
|
+
"QuotaExceededError": false,
|
|
2791
2828
|
"ReadableByteStreamController": false,
|
|
2792
2829
|
"ReadableStream": false,
|
|
2793
2830
|
"ReadableStreamBYOBReader": false,
|
|
@@ -2804,7 +2841,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2804
2841
|
"Storage": false,
|
|
2805
2842
|
"structuredClone": false,
|
|
2806
2843
|
"SubtleCrypto": false,
|
|
2807
|
-
"
|
|
2844
|
+
"Temporal": false,
|
|
2808
2845
|
"TextDecoder": false,
|
|
2809
2846
|
"TextDecoderStream": false,
|
|
2810
2847
|
"TextEncoder": false,
|
|
@@ -2823,7 +2860,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2823
2860
|
"nodeBuiltin": {
|
|
2824
2861
|
"AbortController": false,
|
|
2825
2862
|
"AbortSignal": false,
|
|
2826
|
-
"AsyncDisposableStack": false,
|
|
2827
2863
|
"atob": false,
|
|
2828
2864
|
"Blob": false,
|
|
2829
2865
|
"BroadcastChannel": false,
|
|
@@ -2842,7 +2878,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2842
2878
|
"CryptoKey": false,
|
|
2843
2879
|
"CustomEvent": false,
|
|
2844
2880
|
"DecompressionStream": false,
|
|
2845
|
-
"DisposableStack": false,
|
|
2846
2881
|
"DOMException": false,
|
|
2847
2882
|
"ErrorEvent": false,
|
|
2848
2883
|
"Event": false,
|
|
@@ -2868,6 +2903,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2868
2903
|
"PerformanceResourceTiming": false,
|
|
2869
2904
|
"process": false,
|
|
2870
2905
|
"queueMicrotask": false,
|
|
2906
|
+
"QuotaExceededError": false,
|
|
2871
2907
|
"ReadableByteStreamController": false,
|
|
2872
2908
|
"ReadableStream": false,
|
|
2873
2909
|
"ReadableStreamBYOBReader": false,
|
|
@@ -2883,7 +2919,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2883
2919
|
"Storage": false,
|
|
2884
2920
|
"structuredClone": false,
|
|
2885
2921
|
"SubtleCrypto": false,
|
|
2886
|
-
"
|
|
2922
|
+
"Temporal": false,
|
|
2887
2923
|
"TextDecoder": false,
|
|
2888
2924
|
"TextDecoderStream": false,
|
|
2889
2925
|
"TextEncoder": false,
|
|
@@ -2900,7 +2936,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2900
2936
|
"WritableStreamDefaultWriter": false
|
|
2901
2937
|
},
|
|
2902
2938
|
"paintWorklet": {
|
|
2903
|
-
"AsyncDisposableStack": false,
|
|
2904
2939
|
"ByteLengthQueuingStrategy": false,
|
|
2905
2940
|
"console": false,
|
|
2906
2941
|
"CountQueuingStrategy": false,
|
|
@@ -2932,7 +2967,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2932
2967
|
"CSSUnparsedValue": false,
|
|
2933
2968
|
"CSSVariableReferenceValue": false,
|
|
2934
2969
|
"devicePixelRatio": false,
|
|
2935
|
-
"DisposableStack": false,
|
|
2936
2970
|
"PaintRenderingContext2D": false,
|
|
2937
2971
|
"PaintSize": false,
|
|
2938
2972
|
"PaintWorkletGlobalScope": false,
|
|
@@ -2946,7 +2980,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2946
2980
|
"ReadableStreamDefaultReader": false,
|
|
2947
2981
|
"registerPaint": false,
|
|
2948
2982
|
"StylePropertyMapReadOnly": false,
|
|
2949
|
-
"SuppressedError": false,
|
|
2950
2983
|
"Temporal": false,
|
|
2951
2984
|
"TransformStream": false,
|
|
2952
2985
|
"TransformStreamDefaultController": false,
|
|
@@ -3034,6 +3067,67 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3034
3067
|
"test": false,
|
|
3035
3068
|
"throws": false
|
|
3036
3069
|
},
|
|
3070
|
+
"react-native": {
|
|
3071
|
+
"__DEV__": false,
|
|
3072
|
+
"AbortController": false,
|
|
3073
|
+
"AbortSignal": false,
|
|
3074
|
+
"alert": false,
|
|
3075
|
+
"Blob": false,
|
|
3076
|
+
"cancelAnimationFrame": false,
|
|
3077
|
+
"cancelIdleCallback": false,
|
|
3078
|
+
"CharacterData": false,
|
|
3079
|
+
"clearImmediate": false,
|
|
3080
|
+
"clearInterval": false,
|
|
3081
|
+
"clearTimeout": false,
|
|
3082
|
+
"console": false,
|
|
3083
|
+
"Document": false,
|
|
3084
|
+
"DOMRect": false,
|
|
3085
|
+
"DOMRectList": false,
|
|
3086
|
+
"DOMRectReadOnly": false,
|
|
3087
|
+
"Element": false,
|
|
3088
|
+
"Event": false,
|
|
3089
|
+
"EventCounts": false,
|
|
3090
|
+
"EventTarget": false,
|
|
3091
|
+
"fetch": false,
|
|
3092
|
+
"File": false,
|
|
3093
|
+
"FileReader": false,
|
|
3094
|
+
"FormData": false,
|
|
3095
|
+
"global": false,
|
|
3096
|
+
"Headers": false,
|
|
3097
|
+
"HTMLCollection": false,
|
|
3098
|
+
"HTMLElement": false,
|
|
3099
|
+
"navigator": false,
|
|
3100
|
+
"Node": false,
|
|
3101
|
+
"NodeList": false,
|
|
3102
|
+
"performance": false,
|
|
3103
|
+
"Performance": false,
|
|
3104
|
+
"PerformanceEntry": false,
|
|
3105
|
+
"PerformanceEventTiming": false,
|
|
3106
|
+
"PerformanceLongTaskTiming": false,
|
|
3107
|
+
"PerformanceMark": false,
|
|
3108
|
+
"PerformanceMeasure": false,
|
|
3109
|
+
"PerformanceObserver": false,
|
|
3110
|
+
"PerformanceObserverEntryList": false,
|
|
3111
|
+
"PerformanceResourceTiming": false,
|
|
3112
|
+
"process": false,
|
|
3113
|
+
"queueMicrotask": false,
|
|
3114
|
+
"Request": false,
|
|
3115
|
+
"requestAnimationFrame": false,
|
|
3116
|
+
"requestIdleCallback": false,
|
|
3117
|
+
"require": false,
|
|
3118
|
+
"Response": false,
|
|
3119
|
+
"self": false,
|
|
3120
|
+
"setImmediate": false,
|
|
3121
|
+
"setInterval": false,
|
|
3122
|
+
"setTimeout": false,
|
|
3123
|
+
"TaskAttributionTiming": false,
|
|
3124
|
+
"Text": false,
|
|
3125
|
+
"URL": false,
|
|
3126
|
+
"URLSearchParams": false,
|
|
3127
|
+
"WebSocket": false,
|
|
3128
|
+
"window": false,
|
|
3129
|
+
"XMLHttpRequest": false
|
|
3130
|
+
},
|
|
3037
3131
|
"rhino": {
|
|
3038
3132
|
"defineClass": false,
|
|
3039
3133
|
"deserialize": false,
|
|
@@ -3087,7 +3181,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3087
3181
|
"ai": false,
|
|
3088
3182
|
"AI": false,
|
|
3089
3183
|
"AICreateMonitor": false,
|
|
3090
|
-
"AsyncDisposableStack": false,
|
|
3091
3184
|
"atob": false,
|
|
3092
3185
|
"BackgroundFetchEvent": false,
|
|
3093
3186
|
"BackgroundFetchManager": false,
|
|
@@ -3124,12 +3217,35 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3124
3217
|
"crypto": false,
|
|
3125
3218
|
"Crypto": false,
|
|
3126
3219
|
"CryptoKey": false,
|
|
3220
|
+
"CSSImageValue": false,
|
|
3221
|
+
"CSSKeywordValue": false,
|
|
3222
|
+
"CSSMathClamp": false,
|
|
3223
|
+
"CSSMathInvert": false,
|
|
3224
|
+
"CSSMathMax": false,
|
|
3225
|
+
"CSSMathMin": false,
|
|
3226
|
+
"CSSMathNegate": false,
|
|
3227
|
+
"CSSMathProduct": false,
|
|
3228
|
+
"CSSMathSum": false,
|
|
3229
|
+
"CSSMathValue": false,
|
|
3230
|
+
"CSSMatrixComponent": false,
|
|
3231
|
+
"CSSNumericArray": false,
|
|
3232
|
+
"CSSNumericValue": false,
|
|
3233
|
+
"CSSPerspective": false,
|
|
3234
|
+
"CSSRotate": false,
|
|
3235
|
+
"CSSScale": false,
|
|
3236
|
+
"CSSSkew": false,
|
|
3127
3237
|
"CSSSkewX": false,
|
|
3128
3238
|
"CSSSkewY": false,
|
|
3239
|
+
"CSSStyleValue": false,
|
|
3240
|
+
"CSSTransformComponent": false,
|
|
3241
|
+
"CSSTransformValue": false,
|
|
3242
|
+
"CSSTranslate": false,
|
|
3243
|
+
"CSSUnitValue": false,
|
|
3244
|
+
"CSSUnparsedValue": false,
|
|
3245
|
+
"CSSVariableReferenceValue": false,
|
|
3129
3246
|
"CustomEvent": false,
|
|
3130
3247
|
"DecompressionStream": false,
|
|
3131
3248
|
"dispatchEvent": false,
|
|
3132
|
-
"DisposableStack": false,
|
|
3133
3249
|
"DOMException": false,
|
|
3134
3250
|
"DOMMatrix": false,
|
|
3135
3251
|
"DOMMatrixReadOnly": false,
|
|
@@ -3319,9 +3435,9 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3319
3435
|
"StorageBucketManager": false,
|
|
3320
3436
|
"StorageManager": false,
|
|
3321
3437
|
"structuredClone": false,
|
|
3438
|
+
"StylePropertyMapReadOnly": false,
|
|
3322
3439
|
"Subscriber": false,
|
|
3323
3440
|
"SubtleCrypto": false,
|
|
3324
|
-
"SuppressedError": false,
|
|
3325
3441
|
"SyncEvent": false,
|
|
3326
3442
|
"SyncManager": false,
|
|
3327
3443
|
"TaskController": false,
|
|
@@ -3370,8 +3486,10 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3370
3486
|
"WebTransport": false,
|
|
3371
3487
|
"WebTransportBidirectionalStream": false,
|
|
3372
3488
|
"WebTransportDatagramDuplexStream": false,
|
|
3489
|
+
"WebTransportDatagramsWritable": false,
|
|
3373
3490
|
"WebTransportError": false,
|
|
3374
3491
|
"WebTransportReceiveStream": false,
|
|
3492
|
+
"WebTransportSendGroup": false,
|
|
3375
3493
|
"WebTransportSendStream": false,
|
|
3376
3494
|
"WGSLLanguageFeatures": false,
|
|
3377
3495
|
"when": false,
|
|
@@ -3386,7 +3504,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3386
3504
|
"shared-node-browser": {
|
|
3387
3505
|
"AbortController": false,
|
|
3388
3506
|
"AbortSignal": false,
|
|
3389
|
-
"AsyncDisposableStack": false,
|
|
3390
3507
|
"atob": false,
|
|
3391
3508
|
"Blob": false,
|
|
3392
3509
|
"BroadcastChannel": false,
|
|
@@ -3403,7 +3520,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3403
3520
|
"CryptoKey": false,
|
|
3404
3521
|
"CustomEvent": false,
|
|
3405
3522
|
"DecompressionStream": false,
|
|
3406
|
-
"DisposableStack": false,
|
|
3407
3523
|
"DOMException": false,
|
|
3408
3524
|
"ErrorEvent": false,
|
|
3409
3525
|
"Event": false,
|
|
@@ -3427,6 +3543,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3427
3543
|
"PerformanceObserverEntryList": false,
|
|
3428
3544
|
"PerformanceResourceTiming": false,
|
|
3429
3545
|
"queueMicrotask": false,
|
|
3546
|
+
"QuotaExceededError": false,
|
|
3430
3547
|
"ReadableByteStreamController": false,
|
|
3431
3548
|
"ReadableStream": false,
|
|
3432
3549
|
"ReadableStreamBYOBReader": false,
|
|
@@ -3441,7 +3558,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3441
3558
|
"Storage": false,
|
|
3442
3559
|
"structuredClone": false,
|
|
3443
3560
|
"SubtleCrypto": false,
|
|
3444
|
-
"
|
|
3561
|
+
"Temporal": false,
|
|
3445
3562
|
"TextDecoder": false,
|
|
3446
3563
|
"TextDecoderStream": false,
|
|
3447
3564
|
"TextEncoder": false,
|
|
@@ -3461,7 +3578,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3461
3578
|
"AbortController": false,
|
|
3462
3579
|
"AbortSignal": false,
|
|
3463
3580
|
"addEventListener": false,
|
|
3464
|
-
"AsyncDisposableStack": false,
|
|
3465
3581
|
"atob": false,
|
|
3466
3582
|
"BackgroundFetchManager": false,
|
|
3467
3583
|
"BackgroundFetchRecord": false,
|
|
@@ -3490,12 +3606,35 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3490
3606
|
"crypto": false,
|
|
3491
3607
|
"Crypto": false,
|
|
3492
3608
|
"CryptoKey": false,
|
|
3609
|
+
"CSSImageValue": false,
|
|
3610
|
+
"CSSKeywordValue": false,
|
|
3611
|
+
"CSSMathClamp": false,
|
|
3612
|
+
"CSSMathInvert": false,
|
|
3613
|
+
"CSSMathMax": false,
|
|
3614
|
+
"CSSMathMin": false,
|
|
3615
|
+
"CSSMathNegate": false,
|
|
3616
|
+
"CSSMathProduct": false,
|
|
3617
|
+
"CSSMathSum": false,
|
|
3618
|
+
"CSSMathValue": false,
|
|
3619
|
+
"CSSMatrixComponent": false,
|
|
3620
|
+
"CSSNumericArray": false,
|
|
3621
|
+
"CSSNumericValue": false,
|
|
3622
|
+
"CSSPerspective": false,
|
|
3623
|
+
"CSSRotate": false,
|
|
3624
|
+
"CSSScale": false,
|
|
3625
|
+
"CSSSkew": false,
|
|
3493
3626
|
"CSSSkewX": false,
|
|
3494
3627
|
"CSSSkewY": false,
|
|
3628
|
+
"CSSStyleValue": false,
|
|
3629
|
+
"CSSTransformComponent": false,
|
|
3630
|
+
"CSSTransformValue": false,
|
|
3631
|
+
"CSSTranslate": false,
|
|
3632
|
+
"CSSUnitValue": false,
|
|
3633
|
+
"CSSUnparsedValue": false,
|
|
3634
|
+
"CSSVariableReferenceValue": false,
|
|
3495
3635
|
"CustomEvent": false,
|
|
3496
3636
|
"DecompressionStream": false,
|
|
3497
3637
|
"dispatchEvent": false,
|
|
3498
|
-
"DisposableStack": false,
|
|
3499
3638
|
"DOMException": false,
|
|
3500
3639
|
"DOMMatrix": false,
|
|
3501
3640
|
"DOMMatrixReadOnly": false,
|
|
@@ -3658,9 +3797,9 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3658
3797
|
"StorageBucketManager": false,
|
|
3659
3798
|
"StorageManager": false,
|
|
3660
3799
|
"structuredClone": false,
|
|
3800
|
+
"StylePropertyMapReadOnly": false,
|
|
3661
3801
|
"Subscriber": false,
|
|
3662
3802
|
"SubtleCrypto": false,
|
|
3663
|
-
"SuppressedError": false,
|
|
3664
3803
|
"SyncManager": false,
|
|
3665
3804
|
"TaskController": false,
|
|
3666
3805
|
"TaskPriorityChangeEvent": false,
|
|
@@ -3713,8 +3852,10 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3713
3852
|
"WebTransport": false,
|
|
3714
3853
|
"WebTransportBidirectionalStream": false,
|
|
3715
3854
|
"WebTransportDatagramDuplexStream": false,
|
|
3855
|
+
"WebTransportDatagramsWritable": false,
|
|
3716
3856
|
"WebTransportError": false,
|
|
3717
3857
|
"WebTransportReceiveStream": false,
|
|
3858
|
+
"WebTransportSendGroup": false,
|
|
3718
3859
|
"WebTransportSendStream": false,
|
|
3719
3860
|
"WGSLLanguageFeatures": false,
|
|
3720
3861
|
"when": false,
|
|
@@ -3829,7 +3970,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3829
3970
|
"ai": false,
|
|
3830
3971
|
"AI": false,
|
|
3831
3972
|
"AICreateMonitor": false,
|
|
3832
|
-
"AsyncDisposableStack": false,
|
|
3833
3973
|
"atob": false,
|
|
3834
3974
|
"AudioData": false,
|
|
3835
3975
|
"AudioDecoder": false,
|
|
@@ -3862,13 +4002,36 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3862
4002
|
"crypto": false,
|
|
3863
4003
|
"Crypto": false,
|
|
3864
4004
|
"CryptoKey": false,
|
|
4005
|
+
"CSSImageValue": false,
|
|
4006
|
+
"CSSKeywordValue": false,
|
|
4007
|
+
"CSSMathClamp": false,
|
|
4008
|
+
"CSSMathInvert": false,
|
|
4009
|
+
"CSSMathMax": false,
|
|
4010
|
+
"CSSMathMin": false,
|
|
4011
|
+
"CSSMathNegate": false,
|
|
4012
|
+
"CSSMathProduct": false,
|
|
4013
|
+
"CSSMathSum": false,
|
|
4014
|
+
"CSSMathValue": false,
|
|
4015
|
+
"CSSMatrixComponent": false,
|
|
4016
|
+
"CSSNumericArray": false,
|
|
4017
|
+
"CSSNumericValue": false,
|
|
4018
|
+
"CSSPerspective": false,
|
|
4019
|
+
"CSSRotate": false,
|
|
4020
|
+
"CSSScale": false,
|
|
4021
|
+
"CSSSkew": false,
|
|
3865
4022
|
"CSSSkewX": false,
|
|
3866
4023
|
"CSSSkewY": false,
|
|
4024
|
+
"CSSStyleValue": false,
|
|
4025
|
+
"CSSTransformComponent": false,
|
|
4026
|
+
"CSSTransformValue": false,
|
|
4027
|
+
"CSSTranslate": false,
|
|
4028
|
+
"CSSUnitValue": false,
|
|
4029
|
+
"CSSUnparsedValue": false,
|
|
4030
|
+
"CSSVariableReferenceValue": false,
|
|
3867
4031
|
"CustomEvent": false,
|
|
3868
4032
|
"DecompressionStream": false,
|
|
3869
4033
|
"DedicatedWorkerGlobalScope": false,
|
|
3870
4034
|
"dispatchEvent": false,
|
|
3871
|
-
"DisposableStack": false,
|
|
3872
4035
|
"DOMException": false,
|
|
3873
4036
|
"DOMMatrix": false,
|
|
3874
4037
|
"DOMMatrixReadOnly": false,
|
|
@@ -4038,6 +4201,8 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4038
4201
|
"RTCDataChannel": false,
|
|
4039
4202
|
"RTCEncodedAudioFrame": false,
|
|
4040
4203
|
"RTCEncodedVideoFrame": false,
|
|
4204
|
+
"RTCError": false,
|
|
4205
|
+
"RTCErrorEvent": false,
|
|
4041
4206
|
"RTCRtpScriptTransformer": false,
|
|
4042
4207
|
"RTCTransformEvent": false,
|
|
4043
4208
|
"scheduler": false,
|
|
@@ -4057,9 +4222,9 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4057
4222
|
"StorageBucketManager": false,
|
|
4058
4223
|
"StorageManager": false,
|
|
4059
4224
|
"structuredClone": false,
|
|
4225
|
+
"StylePropertyMapReadOnly": false,
|
|
4060
4226
|
"Subscriber": false,
|
|
4061
4227
|
"SubtleCrypto": false,
|
|
4062
|
-
"SuppressedError": false,
|
|
4063
4228
|
"SyncManager": false,
|
|
4064
4229
|
"TaskController": false,
|
|
4065
4230
|
"TaskPriorityChangeEvent": false,
|
|
@@ -4129,8 +4294,10 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4129
4294
|
"WebTransport": false,
|
|
4130
4295
|
"WebTransportBidirectionalStream": false,
|
|
4131
4296
|
"WebTransportDatagramDuplexStream": false,
|
|
4297
|
+
"WebTransportDatagramsWritable": false,
|
|
4132
4298
|
"WebTransportError": false,
|
|
4133
4299
|
"WebTransportReceiveStream": false,
|
|
4300
|
+
"WebTransportSendGroup": false,
|
|
4134
4301
|
"WebTransportSendStream": false,
|
|
4135
4302
|
"WGSLLanguageFeatures": false,
|
|
4136
4303
|
"when": false,
|
|
@@ -4169,7 +4336,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4169
4336
|
};
|
|
4170
4337
|
}));
|
|
4171
4338
|
//#endregion
|
|
4172
|
-
//#region node_modules/.pnpm/globals@17.
|
|
4339
|
+
//#region node_modules/.pnpm/globals@17.11.0/node_modules/globals/index.js
|
|
4173
4340
|
var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4174
4341
|
module.exports = require_globals$1();
|
|
4175
4342
|
}));
|
|
@@ -4489,6 +4656,38 @@ const generalJavaScript = [
|
|
|
4489
4656
|
//#region src/configs/external/prettierConfig.ts
|
|
4490
4657
|
const prettierConfig = { printWidth: 100 };
|
|
4491
4658
|
//#endregion
|
|
4659
|
+
//#region src/configs/helpers/reactLanguageOptions.ts
|
|
4660
|
+
const reactLanguageOptions = {
|
|
4661
|
+
ecmaVersion: 2020,
|
|
4662
|
+
globals: import_globals.default.browser,
|
|
4663
|
+
parserOptions: { ecmaFeatures: { jsx: true } }
|
|
4664
|
+
};
|
|
4665
|
+
//#endregion
|
|
4666
|
+
//#region src/configs/helpers/typeScriptLanguageOptions.ts
|
|
4667
|
+
const typeScriptLanguageOptions = {
|
|
4668
|
+
parser: typescript_eslint.default.parser,
|
|
4669
|
+
parserOptions: {
|
|
4670
|
+
ecmaVersion: "latest",
|
|
4671
|
+
projectService: true,
|
|
4672
|
+
sourceType: "module",
|
|
4673
|
+
tsconfigRootDir: process.cwd()
|
|
4674
|
+
}
|
|
4675
|
+
};
|
|
4676
|
+
//#endregion
|
|
4677
|
+
//#region src/configs/helpers/restrictedImports/personalRestrictedImports.ts
|
|
4678
|
+
const personalRestrictedImports = combineRestrictedImports(generalRestrictedImports, { paths: [...["fs", "node:fs"].map((name) => {
|
|
4679
|
+
return {
|
|
4680
|
+
message: "Please use node:fs/promises instead.",
|
|
4681
|
+
name
|
|
4682
|
+
};
|
|
4683
|
+
})] });
|
|
4684
|
+
//#endregion
|
|
4685
|
+
//#region src/configs/helpers/restrictedImports/reactRestrictedImports.ts
|
|
4686
|
+
const reactRestrictedImports = combineRestrictedImports(generalRestrictedImports, { patterns: [{
|
|
4687
|
+
message: "Please use `import Component from \"@mui/[package]/Component\"` instead. See https://mui.com/material-ui/guides/minimizing-bundle-size/ for more information.",
|
|
4688
|
+
regex: "^@mui/[^/]+$"
|
|
4689
|
+
}] });
|
|
4690
|
+
//#endregion
|
|
4492
4691
|
//#region src/configs/helpers/sorting/sortClasses.ts
|
|
4493
4692
|
const sortClasses = {
|
|
4494
4693
|
customGroups: [],
|
|
@@ -4588,14 +4787,6 @@ const sortObjects = {
|
|
|
4588
4787
|
useConfigurationIf: {}
|
|
4589
4788
|
};
|
|
4590
4789
|
//#endregion
|
|
4591
|
-
//#region src/configs/helpers/restrictedImports/personalRestrictedImports.ts
|
|
4592
|
-
const personalRestrictedImports = combineRestrictedImports(generalRestrictedImports, { paths: [...["fs", "node:fs"].map((name) => {
|
|
4593
|
-
return {
|
|
4594
|
-
message: "Please use node:fs/promises instead.",
|
|
4595
|
-
name
|
|
4596
|
-
};
|
|
4597
|
-
})] });
|
|
4598
|
-
//#endregion
|
|
4599
4790
|
//#region src/configs/helpers/sorting/sortNamedImports.ts
|
|
4600
4791
|
const sortNamedImports = {
|
|
4601
4792
|
fallbackSort: { type: "unsorted" },
|
|
@@ -4678,13 +4869,6 @@ const reactHooks = {
|
|
|
4678
4869
|
}
|
|
4679
4870
|
};
|
|
4680
4871
|
//#endregion
|
|
4681
|
-
//#region src/configs/helpers/reactLanguageOptions.ts
|
|
4682
|
-
const reactLanguageOptions = {
|
|
4683
|
-
ecmaVersion: 2020,
|
|
4684
|
-
globals: import_globals.default.browser,
|
|
4685
|
-
parserOptions: { ecmaFeatures: { jsx: true } }
|
|
4686
|
-
};
|
|
4687
|
-
//#endregion
|
|
4688
4872
|
//#region src/configs/general/react.ts
|
|
4689
4873
|
const generalReact = [eslint_plugin_jsx_a11y_x.default.configs.recommended, {
|
|
4690
4874
|
languageOptions: reactLanguageOptions,
|
|
@@ -4714,12 +4898,6 @@ const generalReact = [eslint_plugin_jsx_a11y_x.default.configs.recommended, {
|
|
|
4714
4898
|
settings: { react: { version: "detect" } }
|
|
4715
4899
|
}];
|
|
4716
4900
|
//#endregion
|
|
4717
|
-
//#region src/configs/helpers/restrictedImports/reactRestrictedImports.ts
|
|
4718
|
-
const reactRestrictedImports = combineRestrictedImports(generalRestrictedImports, { patterns: [{
|
|
4719
|
-
message: "Please use `import Component from \"@mui/[package]/Component\"` instead. See https://mui.com/material-ui/guides/minimizing-bundle-size/ for more information.",
|
|
4720
|
-
regex: "^@mui/[^/]+$"
|
|
4721
|
-
}] });
|
|
4722
|
-
//#endregion
|
|
4723
4901
|
//#region src/configs/internal/react.ts
|
|
4724
4902
|
const internalReact = [{
|
|
4725
4903
|
languageOptions: reactLanguageOptions,
|
|
@@ -4758,17 +4936,6 @@ const generalPackageJson = [eslint_plugin_package_json.default.configs.recommend
|
|
|
4758
4936
|
rules: { "package-json/scripts-name-casing": "error" }
|
|
4759
4937
|
}];
|
|
4760
4938
|
//#endregion
|
|
4761
|
-
//#region src/configs/helpers/typeScriptLanguageOptions.ts
|
|
4762
|
-
const typeScriptLanguageOptions = {
|
|
4763
|
-
parser: typescript_eslint.default.parser,
|
|
4764
|
-
parserOptions: {
|
|
4765
|
-
ecmaVersion: "latest",
|
|
4766
|
-
projectService: true,
|
|
4767
|
-
sourceType: "module",
|
|
4768
|
-
tsconfigRootDir: process.cwd()
|
|
4769
|
-
}
|
|
4770
|
-
};
|
|
4771
|
-
//#endregion
|
|
4772
4939
|
//#region src/configs/general/typeScript.ts
|
|
4773
4940
|
const generalTypeScript = [
|
|
4774
4941
|
...typescript_eslint.default.configs.recommended,
|
|
@@ -5016,6 +5183,15 @@ function internalEslintPluginRules(plugin) {
|
|
|
5016
5183
|
}];
|
|
5017
5184
|
}
|
|
5018
5185
|
//#endregion
|
|
5186
|
+
//#region src/configs/internal/eslintPlugin/utility.ts
|
|
5187
|
+
function internalEslintPluginUtility(plugin) {
|
|
5188
|
+
return [...internalEslintPluginBase(plugin), {
|
|
5189
|
+
files: ["**/*.ts"],
|
|
5190
|
+
name: "@alextheman/internal/eslint-plugin-utility",
|
|
5191
|
+
rules: { "jsdoc/require-jsdoc": ["error", requireJsdocOptions] }
|
|
5192
|
+
}];
|
|
5193
|
+
}
|
|
5194
|
+
//#endregion
|
|
5019
5195
|
//#region src/configs/internal/utility/base.ts
|
|
5020
5196
|
function internalUtilityBase(plugin) {
|
|
5021
5197
|
return [...combinedTypeScriptPackage(plugin), {
|
|
@@ -5073,15 +5249,6 @@ function combinedTypeScriptReact(plugin) {
|
|
|
5073
5249
|
];
|
|
5074
5250
|
}
|
|
5075
5251
|
//#endregion
|
|
5076
|
-
//#region src/configs/internal/eslintPlugin/utility.ts
|
|
5077
|
-
function internalEslintPluginUtility(plugin) {
|
|
5078
|
-
return [...internalEslintPluginBase(plugin), {
|
|
5079
|
-
files: ["**/*.ts"],
|
|
5080
|
-
name: "@alextheman/internal/eslint-plugin-utility",
|
|
5081
|
-
rules: { "jsdoc/require-jsdoc": ["error", requireJsdocOptions] }
|
|
5082
|
-
}];
|
|
5083
|
-
}
|
|
5084
|
-
//#endregion
|
|
5085
5252
|
//#region src/configs/internal/packageJson.ts
|
|
5086
5253
|
const internalPackageJson = [...generalPackageJson, {
|
|
5087
5254
|
files: ["**/package.json"],
|
|
@@ -5437,7 +5604,7 @@ const standardiseErrorMessagesOptionsSchema = zod.default.object({ regex: zod.de
|
|
|
5437
5604
|
function parseStandardiseErrorMessagesOptions(data) {
|
|
5438
5605
|
return standardiseErrorMessagesOptionsSchema.parse(data);
|
|
5439
5606
|
}
|
|
5440
|
-
const schema = createRuleSchemaFromZodSchema(standardiseErrorMessagesOptionsSchema);
|
|
5607
|
+
const schema$1 = createRuleSchemaFromZodSchema(standardiseErrorMessagesOptionsSchema);
|
|
5441
5608
|
const defaultErrorRegex = "^[A-Z]+(?:_[A-Z]+)*$";
|
|
5442
5609
|
function checkCurrentNode(context, node) {
|
|
5443
5610
|
const { regex: errorRegex = defaultErrorRegex } = parseStandardiseErrorMessagesOptions(context.options[0] ?? { regex: defaultErrorRegex });
|
|
@@ -5460,7 +5627,7 @@ const standardiseErrorMessages = createRule({
|
|
|
5460
5627
|
docs: { description: "Enforce a consistent standard for error messages." },
|
|
5461
5628
|
messages: { message: "Expected error message {{error}} to match {{regex}}." },
|
|
5462
5629
|
type: "suggestion",
|
|
5463
|
-
schema
|
|
5630
|
+
schema: schema$1
|
|
5464
5631
|
},
|
|
5465
5632
|
defaultOptions: [{ regex: defaultErrorRegex }],
|
|
5466
5633
|
create(context) {
|
|
@@ -5520,7 +5687,7 @@ function parseUseObjectShorthandOptions(data) {
|
|
|
5520
5687
|
const alexPlugin = {
|
|
5521
5688
|
meta: {
|
|
5522
5689
|
name: "@alextheman/eslint-plugin",
|
|
5523
|
-
version: "5.18.
|
|
5690
|
+
version: "5.18.2",
|
|
5524
5691
|
namespace: "alextheman"
|
|
5525
5692
|
},
|
|
5526
5693
|
configs: {},
|