@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.js
CHANGED
|
@@ -10,13 +10,13 @@ import importPlugin from "eslint-plugin-import-x";
|
|
|
10
10
|
import nodePlugin from "eslint-plugin-n";
|
|
11
11
|
import perfectionist from "eslint-plugin-perfectionist";
|
|
12
12
|
import prettierPlugin from "eslint-plugin-prettier";
|
|
13
|
+
import tseslint from "typescript-eslint";
|
|
13
14
|
import reactPlugin from "@eslint-react/eslint-plugin";
|
|
14
15
|
import stylistic from "@stylistic/eslint-plugin";
|
|
15
16
|
import jsxA11y from "eslint-plugin-jsx-a11y-x";
|
|
16
17
|
import reactRefresh from "eslint-plugin-react-refresh";
|
|
17
18
|
import reactHooksPlugin from "eslint-plugin-react-hooks";
|
|
18
19
|
import packageJson from "eslint-plugin-package-json";
|
|
19
|
-
import tseslint from "typescript-eslint";
|
|
20
20
|
import jsdoc from "eslint-plugin-jsdoc";
|
|
21
21
|
import { normalizeImportPath } from "@alextheman/utility/node";
|
|
22
22
|
//#region \0rolldown/runtime.js
|
|
@@ -37,12 +37,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
37
37
|
}
|
|
38
38
|
return to;
|
|
39
39
|
};
|
|
40
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
40
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
41
41
|
value: mod,
|
|
42
42
|
enumerable: true
|
|
43
43
|
}) : target, mod));
|
|
44
44
|
//#endregion
|
|
45
|
-
//#region node_modules/.pnpm/globals@17.
|
|
45
|
+
//#region node_modules/.pnpm/globals@17.11.0/node_modules/globals/globals.json
|
|
46
46
|
var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
47
47
|
module.exports = {
|
|
48
48
|
"amd": {
|
|
@@ -76,17 +76,31 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
76
76
|
"audioWorklet": {
|
|
77
77
|
"AbortController": false,
|
|
78
78
|
"AbortSignal": false,
|
|
79
|
-
"AsyncDisposableStack": false,
|
|
80
79
|
"AudioWorkletGlobalScope": false,
|
|
81
80
|
"AudioWorkletProcessor": false,
|
|
82
81
|
"ByteLengthQueuingStrategy": false,
|
|
83
82
|
"CompressionStream": false,
|
|
84
83
|
"console": false,
|
|
85
84
|
"CountQueuingStrategy": false,
|
|
85
|
+
"CSSImageValue": false,
|
|
86
|
+
"CSSKeywordValue": false,
|
|
87
|
+
"CSSMathClamp": false,
|
|
88
|
+
"CSSMathInvert": false,
|
|
89
|
+
"CSSMathMax": false,
|
|
90
|
+
"CSSMathMin": false,
|
|
91
|
+
"CSSMathNegate": false,
|
|
92
|
+
"CSSMathProduct": false,
|
|
93
|
+
"CSSMathSum": false,
|
|
94
|
+
"CSSMathValue": false,
|
|
95
|
+
"CSSNumericArray": false,
|
|
96
|
+
"CSSNumericValue": false,
|
|
97
|
+
"CSSStyleValue": false,
|
|
98
|
+
"CSSUnitValue": false,
|
|
99
|
+
"CSSUnparsedValue": false,
|
|
100
|
+
"CSSVariableReferenceValue": false,
|
|
86
101
|
"currentFrame": false,
|
|
87
102
|
"currentTime": false,
|
|
88
103
|
"DecompressionStream": false,
|
|
89
|
-
"DisposableStack": false,
|
|
90
104
|
"Event": false,
|
|
91
105
|
"EventTarget": false,
|
|
92
106
|
"MessageEvent": false,
|
|
@@ -102,7 +116,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
102
116
|
"ReadableStreamDefaultReader": false,
|
|
103
117
|
"registerProcessor": false,
|
|
104
118
|
"sampleRate": false,
|
|
105
|
-
"
|
|
119
|
+
"StylePropertyMapReadOnly": false,
|
|
106
120
|
"Temporal": false,
|
|
107
121
|
"TextDecoderStream": false,
|
|
108
122
|
"TextEncoderStream": false,
|
|
@@ -133,7 +147,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
133
147
|
"AnimationEvent": false,
|
|
134
148
|
"AnimationPlaybackEvent": false,
|
|
135
149
|
"AnimationTimeline": false,
|
|
136
|
-
"AsyncDisposableStack": false,
|
|
137
150
|
"atob": false,
|
|
138
151
|
"Attr": false,
|
|
139
152
|
"Audio": false,
|
|
@@ -243,6 +256,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
243
256
|
"CSSConditionRule": false,
|
|
244
257
|
"CSSContainerRule": false,
|
|
245
258
|
"CSSCounterStyleRule": false,
|
|
259
|
+
"CSSFontFaceDescriptors": false,
|
|
246
260
|
"CSSFontFaceRule": false,
|
|
247
261
|
"CSSFontFeatureValuesRule": false,
|
|
248
262
|
"CSSFontPaletteValuesRule": false,
|
|
@@ -279,6 +293,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
279
293
|
"CSSPositionTryRule": false,
|
|
280
294
|
"CSSPositionValue": false,
|
|
281
295
|
"CSSPropertyRule": false,
|
|
296
|
+
"CSSPseudoElement": false,
|
|
282
297
|
"CSSRotate": false,
|
|
283
298
|
"CSSRule": false,
|
|
284
299
|
"CSSRuleList": false,
|
|
@@ -320,7 +335,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
320
335
|
"DevicePosture": false,
|
|
321
336
|
"DigitalCredential": false,
|
|
322
337
|
"dispatchEvent": false,
|
|
323
|
-
"DisposableStack": false,
|
|
324
338
|
"document": false,
|
|
325
339
|
"Document": false,
|
|
326
340
|
"DocumentFragment": false,
|
|
@@ -538,6 +552,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
538
552
|
"HTMLTrackElement": false,
|
|
539
553
|
"HTMLUListElement": false,
|
|
540
554
|
"HTMLUnknownElement": false,
|
|
555
|
+
"HTMLUserMediaElement": false,
|
|
541
556
|
"HTMLVideoElement": false,
|
|
542
557
|
"IDBCursor": false,
|
|
543
558
|
"IDBCursorWithValue": false,
|
|
@@ -573,6 +588,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
573
588
|
"InputDeviceInfo": false,
|
|
574
589
|
"InputEvent": false,
|
|
575
590
|
"IntegrityViolationReportBody": false,
|
|
591
|
+
"InteractionContentfulPaint": false,
|
|
576
592
|
"InterestEvent": false,
|
|
577
593
|
"IntersectionObserver": false,
|
|
578
594
|
"IntersectionObserverEntry": false,
|
|
@@ -582,6 +598,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
582
598
|
"KeyboardLayoutMap": false,
|
|
583
599
|
"KeyframeEffect": false,
|
|
584
600
|
"LanguageDetector": false,
|
|
601
|
+
"LanguageModel": false,
|
|
585
602
|
"LargestContentfulPaint": false,
|
|
586
603
|
"LaunchParams": false,
|
|
587
604
|
"launchQueue": false,
|
|
@@ -646,6 +663,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
646
663
|
"MimeType": false,
|
|
647
664
|
"MimeTypeArray": false,
|
|
648
665
|
"model": false,
|
|
666
|
+
"ModelContext": false,
|
|
649
667
|
"ModelGenericSession": false,
|
|
650
668
|
"ModelManager": false,
|
|
651
669
|
"MouseEvent": false,
|
|
@@ -845,6 +863,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
845
863
|
"PerformanceLongAnimationFrameTiming": false,
|
|
846
864
|
"PerformanceLongTaskTiming": false,
|
|
847
865
|
"PerformanceMark": false,
|
|
866
|
+
"PerformanceMarkConditional": false,
|
|
848
867
|
"PerformanceMeasure": false,
|
|
849
868
|
"PerformanceNavigation": false,
|
|
850
869
|
"PerformanceNavigationTiming": false,
|
|
@@ -854,11 +873,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
854
873
|
"PerformanceResourceTiming": false,
|
|
855
874
|
"PerformanceScriptTiming": false,
|
|
856
875
|
"PerformanceServerTiming": false,
|
|
876
|
+
"PerformanceSoftNavigation": false,
|
|
857
877
|
"PerformanceTiming": false,
|
|
858
878
|
"PerformanceTimingConfidence": false,
|
|
859
879
|
"PeriodicSyncManager": false,
|
|
860
880
|
"PeriodicWave": false,
|
|
861
881
|
"Permissions": false,
|
|
882
|
+
"PermissionsPolicy": false,
|
|
862
883
|
"PermissionStatus": false,
|
|
863
884
|
"PERSISTENT": false,
|
|
864
885
|
"personalbar": false,
|
|
@@ -928,6 +949,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
928
949
|
"RTCError": false,
|
|
929
950
|
"RTCErrorEvent": false,
|
|
930
951
|
"RTCIceCandidate": false,
|
|
952
|
+
"RTCIceCandidatePair": false,
|
|
931
953
|
"RTCIceTransport": false,
|
|
932
954
|
"RTCPeerConnection": false,
|
|
933
955
|
"RTCPeerConnectionIceErrorEvent": false,
|
|
@@ -1022,7 +1044,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1022
1044
|
"Subscriber": false,
|
|
1023
1045
|
"SubtleCrypto": false,
|
|
1024
1046
|
"Summarizer": false,
|
|
1025
|
-
"SuppressedError": false,
|
|
1026
1047
|
"SVGAElement": false,
|
|
1027
1048
|
"SVGAngle": false,
|
|
1028
1049
|
"SVGAnimatedAngle": false,
|
|
@@ -1222,14 +1243,17 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1222
1243
|
"WebGLTransformFeedback": false,
|
|
1223
1244
|
"WebGLUniformLocation": false,
|
|
1224
1245
|
"WebGLVertexArrayObject": false,
|
|
1246
|
+
"WebMCPEvent": false,
|
|
1225
1247
|
"WebSocket": false,
|
|
1226
1248
|
"WebSocketError": false,
|
|
1227
1249
|
"WebSocketStream": false,
|
|
1228
1250
|
"WebTransport": false,
|
|
1229
1251
|
"WebTransportBidirectionalStream": false,
|
|
1230
1252
|
"WebTransportDatagramDuplexStream": false,
|
|
1253
|
+
"WebTransportDatagramsWritable": false,
|
|
1231
1254
|
"WebTransportError": false,
|
|
1232
1255
|
"WebTransportReceiveStream": false,
|
|
1256
|
+
"WebTransportSendGroup": false,
|
|
1233
1257
|
"WebTransportSendStream": false,
|
|
1234
1258
|
"WGSLLanguageFeatures": false,
|
|
1235
1259
|
"WheelEvent": false,
|
|
@@ -1307,6 +1331,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1307
1331
|
"AggregateError": false,
|
|
1308
1332
|
"Array": false,
|
|
1309
1333
|
"ArrayBuffer": false,
|
|
1334
|
+
"AsyncDisposableStack": false,
|
|
1310
1335
|
"Atomics": false,
|
|
1311
1336
|
"BigInt": false,
|
|
1312
1337
|
"BigInt64Array": false,
|
|
@@ -1316,6 +1341,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1316
1341
|
"Date": false,
|
|
1317
1342
|
"decodeURI": false,
|
|
1318
1343
|
"decodeURIComponent": false,
|
|
1344
|
+
"DisposableStack": false,
|
|
1319
1345
|
"encodeURI": false,
|
|
1320
1346
|
"encodeURIComponent": false,
|
|
1321
1347
|
"Error": false,
|
|
@@ -1353,6 +1379,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1353
1379
|
"Set": false,
|
|
1354
1380
|
"SharedArrayBuffer": false,
|
|
1355
1381
|
"String": false,
|
|
1382
|
+
"SuppressedError": false,
|
|
1356
1383
|
"Symbol": false,
|
|
1357
1384
|
"SyntaxError": false,
|
|
1358
1385
|
"TypeError": false,
|
|
@@ -1372,7 +1399,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1372
1399
|
"AbortSignal": false,
|
|
1373
1400
|
"addEventListener": false,
|
|
1374
1401
|
"alert": false,
|
|
1375
|
-
"AsyncDisposableStack": false,
|
|
1376
1402
|
"atob": false,
|
|
1377
1403
|
"Blob": false,
|
|
1378
1404
|
"BroadcastChannel": false,
|
|
@@ -1396,7 +1422,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1396
1422
|
"CustomEvent": false,
|
|
1397
1423
|
"DecompressionStream": false,
|
|
1398
1424
|
"dispatchEvent": false,
|
|
1399
|
-
"DisposableStack": false,
|
|
1400
1425
|
"DOMException": false,
|
|
1401
1426
|
"ErrorEvent": false,
|
|
1402
1427
|
"Event": false,
|
|
@@ -1447,7 +1472,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1447
1472
|
"ShadowRealm": false,
|
|
1448
1473
|
"structuredClone": false,
|
|
1449
1474
|
"SubtleCrypto": false,
|
|
1450
|
-
"SuppressedError": false,
|
|
1451
1475
|
"TextDecoder": false,
|
|
1452
1476
|
"TextDecoderStream": false,
|
|
1453
1477
|
"TextEncoder": false,
|
|
@@ -1493,7 +1517,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1493
1517
|
"AbortSignal": false,
|
|
1494
1518
|
"addEventListener": false,
|
|
1495
1519
|
"alert": false,
|
|
1496
|
-
"AsyncDisposableStack": false,
|
|
1497
1520
|
"atob": false,
|
|
1498
1521
|
"Blob": false,
|
|
1499
1522
|
"BroadcastChannel": false,
|
|
@@ -1521,8 +1544,14 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1521
1544
|
"DecompressionStream": false,
|
|
1522
1545
|
"Deno": false,
|
|
1523
1546
|
"dispatchEvent": false,
|
|
1524
|
-
"DisposableStack": false,
|
|
1525
1547
|
"DOMException": false,
|
|
1548
|
+
"DOMMatrix": false,
|
|
1549
|
+
"DOMMatrixReadOnly": false,
|
|
1550
|
+
"DOMPoint": false,
|
|
1551
|
+
"DOMPointReadOnly": false,
|
|
1552
|
+
"DOMQuad": false,
|
|
1553
|
+
"DOMRect": false,
|
|
1554
|
+
"DOMRectReadOnly": false,
|
|
1526
1555
|
"ErrorEvent": false,
|
|
1527
1556
|
"Event": false,
|
|
1528
1557
|
"EventSource": false,
|
|
@@ -1574,16 +1603,22 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1574
1603
|
"GPUValidationError": false,
|
|
1575
1604
|
"Headers": false,
|
|
1576
1605
|
"ImageBitmap": false,
|
|
1606
|
+
"ImageBitmapRenderingContext": false,
|
|
1577
1607
|
"ImageData": false,
|
|
1578
1608
|
"localStorage": false,
|
|
1579
1609
|
"location": false,
|
|
1580
1610
|
"Location": false,
|
|
1611
|
+
"Lock": false,
|
|
1612
|
+
"LockManager": false,
|
|
1581
1613
|
"MessageChannel": false,
|
|
1582
1614
|
"MessageEvent": false,
|
|
1583
1615
|
"MessagePort": false,
|
|
1584
1616
|
"name": false,
|
|
1585
1617
|
"navigator": false,
|
|
1586
1618
|
"Navigator": false,
|
|
1619
|
+
"NavigatorUAData": false,
|
|
1620
|
+
"nodeBootstrap": false,
|
|
1621
|
+
"OffscreenCanvas": false,
|
|
1587
1622
|
"onbeforeunload": true,
|
|
1588
1623
|
"onerror": true,
|
|
1589
1624
|
"onload": true,
|
|
@@ -1620,7 +1655,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1620
1655
|
"Storage": false,
|
|
1621
1656
|
"structuredClone": false,
|
|
1622
1657
|
"SubtleCrypto": false,
|
|
1623
|
-
"SuppressedError": false,
|
|
1624
1658
|
"Temporal": false,
|
|
1625
1659
|
"TextDecoder": false,
|
|
1626
1660
|
"TextDecoderStream": false,
|
|
@@ -2396,6 +2430,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2396
2430
|
"AggregateError": false,
|
|
2397
2431
|
"Array": false,
|
|
2398
2432
|
"ArrayBuffer": false,
|
|
2433
|
+
"AsyncDisposableStack": false,
|
|
2399
2434
|
"Atomics": false,
|
|
2400
2435
|
"BigInt": false,
|
|
2401
2436
|
"BigInt64Array": false,
|
|
@@ -2405,6 +2440,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2405
2440
|
"Date": false,
|
|
2406
2441
|
"decodeURI": false,
|
|
2407
2442
|
"decodeURIComponent": false,
|
|
2443
|
+
"DisposableStack": false,
|
|
2408
2444
|
"encodeURI": false,
|
|
2409
2445
|
"encodeURIComponent": false,
|
|
2410
2446
|
"Error": false,
|
|
@@ -2442,6 +2478,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2442
2478
|
"Set": false,
|
|
2443
2479
|
"SharedArrayBuffer": false,
|
|
2444
2480
|
"String": false,
|
|
2481
|
+
"SuppressedError": false,
|
|
2445
2482
|
"Symbol": false,
|
|
2446
2483
|
"SyntaxError": false,
|
|
2447
2484
|
"TypeError": false,
|
|
@@ -2529,6 +2566,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2529
2566
|
"GM_addElement": false,
|
|
2530
2567
|
"GM_addStyle": false,
|
|
2531
2568
|
"GM_addValueChangeListener": false,
|
|
2569
|
+
"GM_cookie": false,
|
|
2532
2570
|
"GM_deleteValue": false,
|
|
2533
2571
|
"GM_deleteValues": false,
|
|
2534
2572
|
"GM_download": false,
|
|
@@ -2720,7 +2758,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2720
2758
|
"__filename": false,
|
|
2721
2759
|
"AbortController": false,
|
|
2722
2760
|
"AbortSignal": false,
|
|
2723
|
-
"AsyncDisposableStack": false,
|
|
2724
2761
|
"atob": false,
|
|
2725
2762
|
"Blob": false,
|
|
2726
2763
|
"BroadcastChannel": false,
|
|
@@ -2739,7 +2776,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2739
2776
|
"CryptoKey": false,
|
|
2740
2777
|
"CustomEvent": false,
|
|
2741
2778
|
"DecompressionStream": false,
|
|
2742
|
-
"DisposableStack": false,
|
|
2743
2779
|
"DOMException": false,
|
|
2744
2780
|
"ErrorEvent": false,
|
|
2745
2781
|
"Event": false,
|
|
@@ -2767,6 +2803,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2767
2803
|
"PerformanceResourceTiming": false,
|
|
2768
2804
|
"process": false,
|
|
2769
2805
|
"queueMicrotask": false,
|
|
2806
|
+
"QuotaExceededError": false,
|
|
2770
2807
|
"ReadableByteStreamController": false,
|
|
2771
2808
|
"ReadableStream": false,
|
|
2772
2809
|
"ReadableStreamBYOBReader": false,
|
|
@@ -2783,7 +2820,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2783
2820
|
"Storage": false,
|
|
2784
2821
|
"structuredClone": false,
|
|
2785
2822
|
"SubtleCrypto": false,
|
|
2786
|
-
"
|
|
2823
|
+
"Temporal": false,
|
|
2787
2824
|
"TextDecoder": false,
|
|
2788
2825
|
"TextDecoderStream": false,
|
|
2789
2826
|
"TextEncoder": false,
|
|
@@ -2802,7 +2839,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2802
2839
|
"nodeBuiltin": {
|
|
2803
2840
|
"AbortController": false,
|
|
2804
2841
|
"AbortSignal": false,
|
|
2805
|
-
"AsyncDisposableStack": false,
|
|
2806
2842
|
"atob": false,
|
|
2807
2843
|
"Blob": false,
|
|
2808
2844
|
"BroadcastChannel": false,
|
|
@@ -2821,7 +2857,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2821
2857
|
"CryptoKey": false,
|
|
2822
2858
|
"CustomEvent": false,
|
|
2823
2859
|
"DecompressionStream": false,
|
|
2824
|
-
"DisposableStack": false,
|
|
2825
2860
|
"DOMException": false,
|
|
2826
2861
|
"ErrorEvent": false,
|
|
2827
2862
|
"Event": false,
|
|
@@ -2847,6 +2882,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2847
2882
|
"PerformanceResourceTiming": false,
|
|
2848
2883
|
"process": false,
|
|
2849
2884
|
"queueMicrotask": false,
|
|
2885
|
+
"QuotaExceededError": false,
|
|
2850
2886
|
"ReadableByteStreamController": false,
|
|
2851
2887
|
"ReadableStream": false,
|
|
2852
2888
|
"ReadableStreamBYOBReader": false,
|
|
@@ -2862,7 +2898,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2862
2898
|
"Storage": false,
|
|
2863
2899
|
"structuredClone": false,
|
|
2864
2900
|
"SubtleCrypto": false,
|
|
2865
|
-
"
|
|
2901
|
+
"Temporal": false,
|
|
2866
2902
|
"TextDecoder": false,
|
|
2867
2903
|
"TextDecoderStream": false,
|
|
2868
2904
|
"TextEncoder": false,
|
|
@@ -2879,7 +2915,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2879
2915
|
"WritableStreamDefaultWriter": false
|
|
2880
2916
|
},
|
|
2881
2917
|
"paintWorklet": {
|
|
2882
|
-
"AsyncDisposableStack": false,
|
|
2883
2918
|
"ByteLengthQueuingStrategy": false,
|
|
2884
2919
|
"console": false,
|
|
2885
2920
|
"CountQueuingStrategy": false,
|
|
@@ -2911,7 +2946,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2911
2946
|
"CSSUnparsedValue": false,
|
|
2912
2947
|
"CSSVariableReferenceValue": false,
|
|
2913
2948
|
"devicePixelRatio": false,
|
|
2914
|
-
"DisposableStack": false,
|
|
2915
2949
|
"PaintRenderingContext2D": false,
|
|
2916
2950
|
"PaintSize": false,
|
|
2917
2951
|
"PaintWorkletGlobalScope": false,
|
|
@@ -2925,7 +2959,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2925
2959
|
"ReadableStreamDefaultReader": false,
|
|
2926
2960
|
"registerPaint": false,
|
|
2927
2961
|
"StylePropertyMapReadOnly": false,
|
|
2928
|
-
"SuppressedError": false,
|
|
2929
2962
|
"Temporal": false,
|
|
2930
2963
|
"TransformStream": false,
|
|
2931
2964
|
"TransformStreamDefaultController": false,
|
|
@@ -3013,6 +3046,67 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3013
3046
|
"test": false,
|
|
3014
3047
|
"throws": false
|
|
3015
3048
|
},
|
|
3049
|
+
"react-native": {
|
|
3050
|
+
"__DEV__": false,
|
|
3051
|
+
"AbortController": false,
|
|
3052
|
+
"AbortSignal": false,
|
|
3053
|
+
"alert": false,
|
|
3054
|
+
"Blob": false,
|
|
3055
|
+
"cancelAnimationFrame": false,
|
|
3056
|
+
"cancelIdleCallback": false,
|
|
3057
|
+
"CharacterData": false,
|
|
3058
|
+
"clearImmediate": false,
|
|
3059
|
+
"clearInterval": false,
|
|
3060
|
+
"clearTimeout": false,
|
|
3061
|
+
"console": false,
|
|
3062
|
+
"Document": false,
|
|
3063
|
+
"DOMRect": false,
|
|
3064
|
+
"DOMRectList": false,
|
|
3065
|
+
"DOMRectReadOnly": false,
|
|
3066
|
+
"Element": false,
|
|
3067
|
+
"Event": false,
|
|
3068
|
+
"EventCounts": false,
|
|
3069
|
+
"EventTarget": false,
|
|
3070
|
+
"fetch": false,
|
|
3071
|
+
"File": false,
|
|
3072
|
+
"FileReader": false,
|
|
3073
|
+
"FormData": false,
|
|
3074
|
+
"global": false,
|
|
3075
|
+
"Headers": false,
|
|
3076
|
+
"HTMLCollection": false,
|
|
3077
|
+
"HTMLElement": false,
|
|
3078
|
+
"navigator": false,
|
|
3079
|
+
"Node": false,
|
|
3080
|
+
"NodeList": false,
|
|
3081
|
+
"performance": false,
|
|
3082
|
+
"Performance": false,
|
|
3083
|
+
"PerformanceEntry": false,
|
|
3084
|
+
"PerformanceEventTiming": false,
|
|
3085
|
+
"PerformanceLongTaskTiming": false,
|
|
3086
|
+
"PerformanceMark": false,
|
|
3087
|
+
"PerformanceMeasure": false,
|
|
3088
|
+
"PerformanceObserver": false,
|
|
3089
|
+
"PerformanceObserverEntryList": false,
|
|
3090
|
+
"PerformanceResourceTiming": false,
|
|
3091
|
+
"process": false,
|
|
3092
|
+
"queueMicrotask": false,
|
|
3093
|
+
"Request": false,
|
|
3094
|
+
"requestAnimationFrame": false,
|
|
3095
|
+
"requestIdleCallback": false,
|
|
3096
|
+
"require": false,
|
|
3097
|
+
"Response": false,
|
|
3098
|
+
"self": false,
|
|
3099
|
+
"setImmediate": false,
|
|
3100
|
+
"setInterval": false,
|
|
3101
|
+
"setTimeout": false,
|
|
3102
|
+
"TaskAttributionTiming": false,
|
|
3103
|
+
"Text": false,
|
|
3104
|
+
"URL": false,
|
|
3105
|
+
"URLSearchParams": false,
|
|
3106
|
+
"WebSocket": false,
|
|
3107
|
+
"window": false,
|
|
3108
|
+
"XMLHttpRequest": false
|
|
3109
|
+
},
|
|
3016
3110
|
"rhino": {
|
|
3017
3111
|
"defineClass": false,
|
|
3018
3112
|
"deserialize": false,
|
|
@@ -3066,7 +3160,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3066
3160
|
"ai": false,
|
|
3067
3161
|
"AI": false,
|
|
3068
3162
|
"AICreateMonitor": false,
|
|
3069
|
-
"AsyncDisposableStack": false,
|
|
3070
3163
|
"atob": false,
|
|
3071
3164
|
"BackgroundFetchEvent": false,
|
|
3072
3165
|
"BackgroundFetchManager": false,
|
|
@@ -3103,12 +3196,35 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3103
3196
|
"crypto": false,
|
|
3104
3197
|
"Crypto": false,
|
|
3105
3198
|
"CryptoKey": false,
|
|
3199
|
+
"CSSImageValue": false,
|
|
3200
|
+
"CSSKeywordValue": false,
|
|
3201
|
+
"CSSMathClamp": false,
|
|
3202
|
+
"CSSMathInvert": false,
|
|
3203
|
+
"CSSMathMax": false,
|
|
3204
|
+
"CSSMathMin": false,
|
|
3205
|
+
"CSSMathNegate": false,
|
|
3206
|
+
"CSSMathProduct": false,
|
|
3207
|
+
"CSSMathSum": false,
|
|
3208
|
+
"CSSMathValue": false,
|
|
3209
|
+
"CSSMatrixComponent": false,
|
|
3210
|
+
"CSSNumericArray": false,
|
|
3211
|
+
"CSSNumericValue": false,
|
|
3212
|
+
"CSSPerspective": false,
|
|
3213
|
+
"CSSRotate": false,
|
|
3214
|
+
"CSSScale": false,
|
|
3215
|
+
"CSSSkew": false,
|
|
3106
3216
|
"CSSSkewX": false,
|
|
3107
3217
|
"CSSSkewY": false,
|
|
3218
|
+
"CSSStyleValue": false,
|
|
3219
|
+
"CSSTransformComponent": false,
|
|
3220
|
+
"CSSTransformValue": false,
|
|
3221
|
+
"CSSTranslate": false,
|
|
3222
|
+
"CSSUnitValue": false,
|
|
3223
|
+
"CSSUnparsedValue": false,
|
|
3224
|
+
"CSSVariableReferenceValue": false,
|
|
3108
3225
|
"CustomEvent": false,
|
|
3109
3226
|
"DecompressionStream": false,
|
|
3110
3227
|
"dispatchEvent": false,
|
|
3111
|
-
"DisposableStack": false,
|
|
3112
3228
|
"DOMException": false,
|
|
3113
3229
|
"DOMMatrix": false,
|
|
3114
3230
|
"DOMMatrixReadOnly": false,
|
|
@@ -3298,9 +3414,9 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3298
3414
|
"StorageBucketManager": false,
|
|
3299
3415
|
"StorageManager": false,
|
|
3300
3416
|
"structuredClone": false,
|
|
3417
|
+
"StylePropertyMapReadOnly": false,
|
|
3301
3418
|
"Subscriber": false,
|
|
3302
3419
|
"SubtleCrypto": false,
|
|
3303
|
-
"SuppressedError": false,
|
|
3304
3420
|
"SyncEvent": false,
|
|
3305
3421
|
"SyncManager": false,
|
|
3306
3422
|
"TaskController": false,
|
|
@@ -3349,8 +3465,10 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3349
3465
|
"WebTransport": false,
|
|
3350
3466
|
"WebTransportBidirectionalStream": false,
|
|
3351
3467
|
"WebTransportDatagramDuplexStream": false,
|
|
3468
|
+
"WebTransportDatagramsWritable": false,
|
|
3352
3469
|
"WebTransportError": false,
|
|
3353
3470
|
"WebTransportReceiveStream": false,
|
|
3471
|
+
"WebTransportSendGroup": false,
|
|
3354
3472
|
"WebTransportSendStream": false,
|
|
3355
3473
|
"WGSLLanguageFeatures": false,
|
|
3356
3474
|
"when": false,
|
|
@@ -3365,7 +3483,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3365
3483
|
"shared-node-browser": {
|
|
3366
3484
|
"AbortController": false,
|
|
3367
3485
|
"AbortSignal": false,
|
|
3368
|
-
"AsyncDisposableStack": false,
|
|
3369
3486
|
"atob": false,
|
|
3370
3487
|
"Blob": false,
|
|
3371
3488
|
"BroadcastChannel": false,
|
|
@@ -3382,7 +3499,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3382
3499
|
"CryptoKey": false,
|
|
3383
3500
|
"CustomEvent": false,
|
|
3384
3501
|
"DecompressionStream": false,
|
|
3385
|
-
"DisposableStack": false,
|
|
3386
3502
|
"DOMException": false,
|
|
3387
3503
|
"ErrorEvent": false,
|
|
3388
3504
|
"Event": false,
|
|
@@ -3406,6 +3522,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3406
3522
|
"PerformanceObserverEntryList": false,
|
|
3407
3523
|
"PerformanceResourceTiming": false,
|
|
3408
3524
|
"queueMicrotask": false,
|
|
3525
|
+
"QuotaExceededError": false,
|
|
3409
3526
|
"ReadableByteStreamController": false,
|
|
3410
3527
|
"ReadableStream": false,
|
|
3411
3528
|
"ReadableStreamBYOBReader": false,
|
|
@@ -3420,7 +3537,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3420
3537
|
"Storage": false,
|
|
3421
3538
|
"structuredClone": false,
|
|
3422
3539
|
"SubtleCrypto": false,
|
|
3423
|
-
"
|
|
3540
|
+
"Temporal": false,
|
|
3424
3541
|
"TextDecoder": false,
|
|
3425
3542
|
"TextDecoderStream": false,
|
|
3426
3543
|
"TextEncoder": false,
|
|
@@ -3440,7 +3557,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3440
3557
|
"AbortController": false,
|
|
3441
3558
|
"AbortSignal": false,
|
|
3442
3559
|
"addEventListener": false,
|
|
3443
|
-
"AsyncDisposableStack": false,
|
|
3444
3560
|
"atob": false,
|
|
3445
3561
|
"BackgroundFetchManager": false,
|
|
3446
3562
|
"BackgroundFetchRecord": false,
|
|
@@ -3469,12 +3585,35 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3469
3585
|
"crypto": false,
|
|
3470
3586
|
"Crypto": false,
|
|
3471
3587
|
"CryptoKey": false,
|
|
3588
|
+
"CSSImageValue": false,
|
|
3589
|
+
"CSSKeywordValue": false,
|
|
3590
|
+
"CSSMathClamp": false,
|
|
3591
|
+
"CSSMathInvert": false,
|
|
3592
|
+
"CSSMathMax": false,
|
|
3593
|
+
"CSSMathMin": false,
|
|
3594
|
+
"CSSMathNegate": false,
|
|
3595
|
+
"CSSMathProduct": false,
|
|
3596
|
+
"CSSMathSum": false,
|
|
3597
|
+
"CSSMathValue": false,
|
|
3598
|
+
"CSSMatrixComponent": false,
|
|
3599
|
+
"CSSNumericArray": false,
|
|
3600
|
+
"CSSNumericValue": false,
|
|
3601
|
+
"CSSPerspective": false,
|
|
3602
|
+
"CSSRotate": false,
|
|
3603
|
+
"CSSScale": false,
|
|
3604
|
+
"CSSSkew": false,
|
|
3472
3605
|
"CSSSkewX": false,
|
|
3473
3606
|
"CSSSkewY": false,
|
|
3607
|
+
"CSSStyleValue": false,
|
|
3608
|
+
"CSSTransformComponent": false,
|
|
3609
|
+
"CSSTransformValue": false,
|
|
3610
|
+
"CSSTranslate": false,
|
|
3611
|
+
"CSSUnitValue": false,
|
|
3612
|
+
"CSSUnparsedValue": false,
|
|
3613
|
+
"CSSVariableReferenceValue": false,
|
|
3474
3614
|
"CustomEvent": false,
|
|
3475
3615
|
"DecompressionStream": false,
|
|
3476
3616
|
"dispatchEvent": false,
|
|
3477
|
-
"DisposableStack": false,
|
|
3478
3617
|
"DOMException": false,
|
|
3479
3618
|
"DOMMatrix": false,
|
|
3480
3619
|
"DOMMatrixReadOnly": false,
|
|
@@ -3637,9 +3776,9 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3637
3776
|
"StorageBucketManager": false,
|
|
3638
3777
|
"StorageManager": false,
|
|
3639
3778
|
"structuredClone": false,
|
|
3779
|
+
"StylePropertyMapReadOnly": false,
|
|
3640
3780
|
"Subscriber": false,
|
|
3641
3781
|
"SubtleCrypto": false,
|
|
3642
|
-
"SuppressedError": false,
|
|
3643
3782
|
"SyncManager": false,
|
|
3644
3783
|
"TaskController": false,
|
|
3645
3784
|
"TaskPriorityChangeEvent": false,
|
|
@@ -3692,8 +3831,10 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3692
3831
|
"WebTransport": false,
|
|
3693
3832
|
"WebTransportBidirectionalStream": false,
|
|
3694
3833
|
"WebTransportDatagramDuplexStream": false,
|
|
3834
|
+
"WebTransportDatagramsWritable": false,
|
|
3695
3835
|
"WebTransportError": false,
|
|
3696
3836
|
"WebTransportReceiveStream": false,
|
|
3837
|
+
"WebTransportSendGroup": false,
|
|
3697
3838
|
"WebTransportSendStream": false,
|
|
3698
3839
|
"WGSLLanguageFeatures": false,
|
|
3699
3840
|
"when": false,
|
|
@@ -3808,7 +3949,6 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3808
3949
|
"ai": false,
|
|
3809
3950
|
"AI": false,
|
|
3810
3951
|
"AICreateMonitor": false,
|
|
3811
|
-
"AsyncDisposableStack": false,
|
|
3812
3952
|
"atob": false,
|
|
3813
3953
|
"AudioData": false,
|
|
3814
3954
|
"AudioDecoder": false,
|
|
@@ -3841,13 +3981,36 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3841
3981
|
"crypto": false,
|
|
3842
3982
|
"Crypto": false,
|
|
3843
3983
|
"CryptoKey": false,
|
|
3984
|
+
"CSSImageValue": false,
|
|
3985
|
+
"CSSKeywordValue": false,
|
|
3986
|
+
"CSSMathClamp": false,
|
|
3987
|
+
"CSSMathInvert": false,
|
|
3988
|
+
"CSSMathMax": false,
|
|
3989
|
+
"CSSMathMin": false,
|
|
3990
|
+
"CSSMathNegate": false,
|
|
3991
|
+
"CSSMathProduct": false,
|
|
3992
|
+
"CSSMathSum": false,
|
|
3993
|
+
"CSSMathValue": false,
|
|
3994
|
+
"CSSMatrixComponent": false,
|
|
3995
|
+
"CSSNumericArray": false,
|
|
3996
|
+
"CSSNumericValue": false,
|
|
3997
|
+
"CSSPerspective": false,
|
|
3998
|
+
"CSSRotate": false,
|
|
3999
|
+
"CSSScale": false,
|
|
4000
|
+
"CSSSkew": false,
|
|
3844
4001
|
"CSSSkewX": false,
|
|
3845
4002
|
"CSSSkewY": false,
|
|
4003
|
+
"CSSStyleValue": false,
|
|
4004
|
+
"CSSTransformComponent": false,
|
|
4005
|
+
"CSSTransformValue": false,
|
|
4006
|
+
"CSSTranslate": false,
|
|
4007
|
+
"CSSUnitValue": false,
|
|
4008
|
+
"CSSUnparsedValue": false,
|
|
4009
|
+
"CSSVariableReferenceValue": false,
|
|
3846
4010
|
"CustomEvent": false,
|
|
3847
4011
|
"DecompressionStream": false,
|
|
3848
4012
|
"DedicatedWorkerGlobalScope": false,
|
|
3849
4013
|
"dispatchEvent": false,
|
|
3850
|
-
"DisposableStack": false,
|
|
3851
4014
|
"DOMException": false,
|
|
3852
4015
|
"DOMMatrix": false,
|
|
3853
4016
|
"DOMMatrixReadOnly": false,
|
|
@@ -4017,6 +4180,8 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4017
4180
|
"RTCDataChannel": false,
|
|
4018
4181
|
"RTCEncodedAudioFrame": false,
|
|
4019
4182
|
"RTCEncodedVideoFrame": false,
|
|
4183
|
+
"RTCError": false,
|
|
4184
|
+
"RTCErrorEvent": false,
|
|
4020
4185
|
"RTCRtpScriptTransformer": false,
|
|
4021
4186
|
"RTCTransformEvent": false,
|
|
4022
4187
|
"scheduler": false,
|
|
@@ -4036,9 +4201,9 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4036
4201
|
"StorageBucketManager": false,
|
|
4037
4202
|
"StorageManager": false,
|
|
4038
4203
|
"structuredClone": false,
|
|
4204
|
+
"StylePropertyMapReadOnly": false,
|
|
4039
4205
|
"Subscriber": false,
|
|
4040
4206
|
"SubtleCrypto": false,
|
|
4041
|
-
"SuppressedError": false,
|
|
4042
4207
|
"SyncManager": false,
|
|
4043
4208
|
"TaskController": false,
|
|
4044
4209
|
"TaskPriorityChangeEvent": false,
|
|
@@ -4108,8 +4273,10 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4108
4273
|
"WebTransport": false,
|
|
4109
4274
|
"WebTransportBidirectionalStream": false,
|
|
4110
4275
|
"WebTransportDatagramDuplexStream": false,
|
|
4276
|
+
"WebTransportDatagramsWritable": false,
|
|
4111
4277
|
"WebTransportError": false,
|
|
4112
4278
|
"WebTransportReceiveStream": false,
|
|
4279
|
+
"WebTransportSendGroup": false,
|
|
4113
4280
|
"WebTransportSendStream": false,
|
|
4114
4281
|
"WGSLLanguageFeatures": false,
|
|
4115
4282
|
"when": false,
|
|
@@ -4148,7 +4315,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4148
4315
|
};
|
|
4149
4316
|
}));
|
|
4150
4317
|
//#endregion
|
|
4151
|
-
//#region node_modules/.pnpm/globals@17.
|
|
4318
|
+
//#region node_modules/.pnpm/globals@17.11.0/node_modules/globals/index.js
|
|
4152
4319
|
var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4153
4320
|
module.exports = require_globals$1();
|
|
4154
4321
|
}));
|
|
@@ -4468,6 +4635,38 @@ const generalJavaScript = [
|
|
|
4468
4635
|
//#region src/configs/external/prettierConfig.ts
|
|
4469
4636
|
const prettierConfig = { printWidth: 100 };
|
|
4470
4637
|
//#endregion
|
|
4638
|
+
//#region src/configs/helpers/reactLanguageOptions.ts
|
|
4639
|
+
const reactLanguageOptions = {
|
|
4640
|
+
ecmaVersion: 2020,
|
|
4641
|
+
globals: import_globals.default.browser,
|
|
4642
|
+
parserOptions: { ecmaFeatures: { jsx: true } }
|
|
4643
|
+
};
|
|
4644
|
+
//#endregion
|
|
4645
|
+
//#region src/configs/helpers/typeScriptLanguageOptions.ts
|
|
4646
|
+
const typeScriptLanguageOptions = {
|
|
4647
|
+
parser: tseslint.parser,
|
|
4648
|
+
parserOptions: {
|
|
4649
|
+
ecmaVersion: "latest",
|
|
4650
|
+
projectService: true,
|
|
4651
|
+
sourceType: "module",
|
|
4652
|
+
tsconfigRootDir: process.cwd()
|
|
4653
|
+
}
|
|
4654
|
+
};
|
|
4655
|
+
//#endregion
|
|
4656
|
+
//#region src/configs/helpers/restrictedImports/personalRestrictedImports.ts
|
|
4657
|
+
const personalRestrictedImports = combineRestrictedImports(generalRestrictedImports, { paths: [...["fs", "node:fs"].map((name) => {
|
|
4658
|
+
return {
|
|
4659
|
+
message: "Please use node:fs/promises instead.",
|
|
4660
|
+
name
|
|
4661
|
+
};
|
|
4662
|
+
})] });
|
|
4663
|
+
//#endregion
|
|
4664
|
+
//#region src/configs/helpers/restrictedImports/reactRestrictedImports.ts
|
|
4665
|
+
const reactRestrictedImports = combineRestrictedImports(generalRestrictedImports, { patterns: [{
|
|
4666
|
+
message: "Please use `import Component from \"@mui/[package]/Component\"` instead. See https://mui.com/material-ui/guides/minimizing-bundle-size/ for more information.",
|
|
4667
|
+
regex: "^@mui/[^/]+$"
|
|
4668
|
+
}] });
|
|
4669
|
+
//#endregion
|
|
4471
4670
|
//#region src/configs/helpers/sorting/sortClasses.ts
|
|
4472
4671
|
const sortClasses = {
|
|
4473
4672
|
customGroups: [],
|
|
@@ -4567,14 +4766,6 @@ const sortObjects = {
|
|
|
4567
4766
|
useConfigurationIf: {}
|
|
4568
4767
|
};
|
|
4569
4768
|
//#endregion
|
|
4570
|
-
//#region src/configs/helpers/restrictedImports/personalRestrictedImports.ts
|
|
4571
|
-
const personalRestrictedImports = combineRestrictedImports(generalRestrictedImports, { paths: [...["fs", "node:fs"].map((name) => {
|
|
4572
|
-
return {
|
|
4573
|
-
message: "Please use node:fs/promises instead.",
|
|
4574
|
-
name
|
|
4575
|
-
};
|
|
4576
|
-
})] });
|
|
4577
|
-
//#endregion
|
|
4578
4769
|
//#region src/configs/helpers/sorting/sortNamedImports.ts
|
|
4579
4770
|
const sortNamedImports = {
|
|
4580
4771
|
fallbackSort: { type: "unsorted" },
|
|
@@ -4657,13 +4848,6 @@ const reactHooks = {
|
|
|
4657
4848
|
}
|
|
4658
4849
|
};
|
|
4659
4850
|
//#endregion
|
|
4660
|
-
//#region src/configs/helpers/reactLanguageOptions.ts
|
|
4661
|
-
const reactLanguageOptions = {
|
|
4662
|
-
ecmaVersion: 2020,
|
|
4663
|
-
globals: import_globals.default.browser,
|
|
4664
|
-
parserOptions: { ecmaFeatures: { jsx: true } }
|
|
4665
|
-
};
|
|
4666
|
-
//#endregion
|
|
4667
4851
|
//#region src/configs/general/react.ts
|
|
4668
4852
|
const generalReact = [jsxA11y.configs.recommended, {
|
|
4669
4853
|
languageOptions: reactLanguageOptions,
|
|
@@ -4693,12 +4877,6 @@ const generalReact = [jsxA11y.configs.recommended, {
|
|
|
4693
4877
|
settings: { react: { version: "detect" } }
|
|
4694
4878
|
}];
|
|
4695
4879
|
//#endregion
|
|
4696
|
-
//#region src/configs/helpers/restrictedImports/reactRestrictedImports.ts
|
|
4697
|
-
const reactRestrictedImports = combineRestrictedImports(generalRestrictedImports, { patterns: [{
|
|
4698
|
-
message: "Please use `import Component from \"@mui/[package]/Component\"` instead. See https://mui.com/material-ui/guides/minimizing-bundle-size/ for more information.",
|
|
4699
|
-
regex: "^@mui/[^/]+$"
|
|
4700
|
-
}] });
|
|
4701
|
-
//#endregion
|
|
4702
4880
|
//#region src/configs/internal/react.ts
|
|
4703
4881
|
const internalReact = [{
|
|
4704
4882
|
languageOptions: reactLanguageOptions,
|
|
@@ -4737,17 +4915,6 @@ const generalPackageJson = [packageJson.configs.recommended, {
|
|
|
4737
4915
|
rules: { "package-json/scripts-name-casing": "error" }
|
|
4738
4916
|
}];
|
|
4739
4917
|
//#endregion
|
|
4740
|
-
//#region src/configs/helpers/typeScriptLanguageOptions.ts
|
|
4741
|
-
const typeScriptLanguageOptions = {
|
|
4742
|
-
parser: tseslint.parser,
|
|
4743
|
-
parserOptions: {
|
|
4744
|
-
ecmaVersion: "latest",
|
|
4745
|
-
projectService: true,
|
|
4746
|
-
sourceType: "module",
|
|
4747
|
-
tsconfigRootDir: process.cwd()
|
|
4748
|
-
}
|
|
4749
|
-
};
|
|
4750
|
-
//#endregion
|
|
4751
4918
|
//#region src/configs/general/typeScript.ts
|
|
4752
4919
|
const generalTypeScript = [
|
|
4753
4920
|
...tseslint.configs.recommended,
|
|
@@ -4995,6 +5162,15 @@ function internalEslintPluginRules(plugin) {
|
|
|
4995
5162
|
}];
|
|
4996
5163
|
}
|
|
4997
5164
|
//#endregion
|
|
5165
|
+
//#region src/configs/internal/eslintPlugin/utility.ts
|
|
5166
|
+
function internalEslintPluginUtility(plugin) {
|
|
5167
|
+
return [...internalEslintPluginBase(plugin), {
|
|
5168
|
+
files: ["**/*.ts"],
|
|
5169
|
+
name: "@alextheman/internal/eslint-plugin-utility",
|
|
5170
|
+
rules: { "jsdoc/require-jsdoc": ["error", requireJsdocOptions] }
|
|
5171
|
+
}];
|
|
5172
|
+
}
|
|
5173
|
+
//#endregion
|
|
4998
5174
|
//#region src/configs/internal/utility/base.ts
|
|
4999
5175
|
function internalUtilityBase(plugin) {
|
|
5000
5176
|
return [...combinedTypeScriptPackage(plugin), {
|
|
@@ -5052,15 +5228,6 @@ function combinedTypeScriptReact(plugin) {
|
|
|
5052
5228
|
];
|
|
5053
5229
|
}
|
|
5054
5230
|
//#endregion
|
|
5055
|
-
//#region src/configs/internal/eslintPlugin/utility.ts
|
|
5056
|
-
function internalEslintPluginUtility(plugin) {
|
|
5057
|
-
return [...internalEslintPluginBase(plugin), {
|
|
5058
|
-
files: ["**/*.ts"],
|
|
5059
|
-
name: "@alextheman/internal/eslint-plugin-utility",
|
|
5060
|
-
rules: { "jsdoc/require-jsdoc": ["error", requireJsdocOptions] }
|
|
5061
|
-
}];
|
|
5062
|
-
}
|
|
5063
|
-
//#endregion
|
|
5064
5231
|
//#region src/configs/internal/packageJson.ts
|
|
5065
5232
|
const internalPackageJson = [...generalPackageJson, {
|
|
5066
5233
|
files: ["**/package.json"],
|
|
@@ -5416,7 +5583,7 @@ const standardiseErrorMessagesOptionsSchema = z.object({ regex: z.string() }).pa
|
|
|
5416
5583
|
function parseStandardiseErrorMessagesOptions(data) {
|
|
5417
5584
|
return standardiseErrorMessagesOptionsSchema.parse(data);
|
|
5418
5585
|
}
|
|
5419
|
-
const schema = createRuleSchemaFromZodSchema(standardiseErrorMessagesOptionsSchema);
|
|
5586
|
+
const schema$1 = createRuleSchemaFromZodSchema(standardiseErrorMessagesOptionsSchema);
|
|
5420
5587
|
const defaultErrorRegex = "^[A-Z]+(?:_[A-Z]+)*$";
|
|
5421
5588
|
function checkCurrentNode(context, node) {
|
|
5422
5589
|
const { regex: errorRegex = defaultErrorRegex } = parseStandardiseErrorMessagesOptions(context.options[0] ?? { regex: defaultErrorRegex });
|
|
@@ -5439,7 +5606,7 @@ const standardiseErrorMessages = createRule({
|
|
|
5439
5606
|
docs: { description: "Enforce a consistent standard for error messages." },
|
|
5440
5607
|
messages: { message: "Expected error message {{error}} to match {{regex}}." },
|
|
5441
5608
|
type: "suggestion",
|
|
5442
|
-
schema
|
|
5609
|
+
schema: schema$1
|
|
5443
5610
|
},
|
|
5444
5611
|
defaultOptions: [{ regex: defaultErrorRegex }],
|
|
5445
5612
|
create(context) {
|
|
@@ -5499,7 +5666,7 @@ function parseUseObjectShorthandOptions(data) {
|
|
|
5499
5666
|
const alexPlugin = {
|
|
5500
5667
|
meta: {
|
|
5501
5668
|
name: "@alextheman/eslint-plugin",
|
|
5502
|
-
version: "5.18.
|
|
5669
|
+
version: "5.18.2",
|
|
5503
5670
|
namespace: "alextheman"
|
|
5504
5671
|
},
|
|
5505
5672
|
configs: {},
|