@jsse/eslint-config 0.1.12 → 0.1.14
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/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +29 -11
- package/dist/index.d.cts +338 -240
- package/dist/index.d.ts +338 -240
- package/dist/index.js +29 -11
- package/package.json +26 -26
package/dist/index.js
CHANGED
|
@@ -24,9 +24,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
mod
|
|
25
25
|
));
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/globals@15.
|
|
27
|
+
// node_modules/.pnpm/globals@15.2.0/node_modules/globals/globals.json
|
|
28
28
|
var require_globals = __commonJS({
|
|
29
|
-
"node_modules/.pnpm/globals@15.
|
|
29
|
+
"node_modules/.pnpm/globals@15.2.0/node_modules/globals/globals.json"(exports, module) {
|
|
30
30
|
module.exports = {
|
|
31
31
|
builtin: {
|
|
32
32
|
AggregateError: false,
|
|
@@ -384,7 +384,9 @@ var require_globals = __commonJS({
|
|
|
384
384
|
AudioScheduledSourceNode: false,
|
|
385
385
|
AudioSinkInfo: false,
|
|
386
386
|
AudioWorklet: false,
|
|
387
|
+
AudioWorkletGlobalScope: false,
|
|
387
388
|
AudioWorkletNode: false,
|
|
389
|
+
AudioWorkletProcessor: false,
|
|
388
390
|
AuthenticatorAssertionResponse: false,
|
|
389
391
|
AuthenticatorAttestationResponse: false,
|
|
390
392
|
AuthenticatorResponse: false,
|
|
@@ -513,6 +515,8 @@ var require_globals = __commonJS({
|
|
|
513
515
|
CSSUnitValue: false,
|
|
514
516
|
CSSUnparsedValue: false,
|
|
515
517
|
CSSVariableReferenceValue: false,
|
|
518
|
+
currentFrame: false,
|
|
519
|
+
currentTime: false,
|
|
516
520
|
CustomElementRegistry: false,
|
|
517
521
|
customElements: false,
|
|
518
522
|
CustomEvent: false,
|
|
@@ -950,6 +954,7 @@ var require_globals = __commonJS({
|
|
|
950
954
|
onpagehide: true,
|
|
951
955
|
onpagereveal: true,
|
|
952
956
|
onpageshow: true,
|
|
957
|
+
onpageswap: true,
|
|
953
958
|
onpaste: true,
|
|
954
959
|
onpause: true,
|
|
955
960
|
onplay: true,
|
|
@@ -1006,6 +1011,7 @@ var require_globals = __commonJS({
|
|
|
1006
1011
|
outerWidth: false,
|
|
1007
1012
|
OverconstrainedError: false,
|
|
1008
1013
|
PageRevealEvent: false,
|
|
1014
|
+
PageSwapEvent: false,
|
|
1009
1015
|
PageTransitionEvent: false,
|
|
1010
1016
|
pageXOffset: false,
|
|
1011
1017
|
pageYOffset: false,
|
|
@@ -1078,6 +1084,7 @@ var require_globals = __commonJS({
|
|
|
1078
1084
|
ReadableStreamBYOBRequest: false,
|
|
1079
1085
|
ReadableStreamDefaultController: false,
|
|
1080
1086
|
ReadableStreamDefaultReader: false,
|
|
1087
|
+
registerProcessor: false,
|
|
1081
1088
|
RelativeOrientationSensor: false,
|
|
1082
1089
|
RemotePlayback: false,
|
|
1083
1090
|
removeEventListener: false,
|
|
@@ -1115,6 +1122,7 @@ var require_globals = __commonJS({
|
|
|
1115
1122
|
RTCSessionDescription: false,
|
|
1116
1123
|
RTCStatsReport: false,
|
|
1117
1124
|
RTCTrackEvent: false,
|
|
1125
|
+
sampleRate: false,
|
|
1118
1126
|
scheduler: false,
|
|
1119
1127
|
Scheduler: false,
|
|
1120
1128
|
Scheduling: false,
|
|
@@ -1370,6 +1378,8 @@ var require_globals = __commonJS({
|
|
|
1370
1378
|
WebGLUniformLocation: false,
|
|
1371
1379
|
WebGLVertexArrayObject: false,
|
|
1372
1380
|
WebSocket: false,
|
|
1381
|
+
WebSocketError: false,
|
|
1382
|
+
WebSocketStream: false,
|
|
1373
1383
|
WebTransport: false,
|
|
1374
1384
|
WebTransportBidirectionalStream: false,
|
|
1375
1385
|
WebTransportDatagramDuplexStream: false,
|
|
@@ -1384,6 +1394,7 @@ var require_globals = __commonJS({
|
|
|
1384
1394
|
WindowControlsOverlayGeometryChangeEvent: false,
|
|
1385
1395
|
Worker: false,
|
|
1386
1396
|
Worklet: false,
|
|
1397
|
+
WorkletGlobalScope: false,
|
|
1387
1398
|
WritableStream: false,
|
|
1388
1399
|
WritableStreamDefaultController: false,
|
|
1389
1400
|
WritableStreamDefaultWriter: false,
|
|
@@ -1700,6 +1711,8 @@ var require_globals = __commonJS({
|
|
|
1700
1711
|
webkitResolveLocalFileSystemSyncURL: false,
|
|
1701
1712
|
webkitResolveLocalFileSystemURL: false,
|
|
1702
1713
|
WebSocket: false,
|
|
1714
|
+
WebSocketError: false,
|
|
1715
|
+
WebSocketStream: false,
|
|
1703
1716
|
WebTransport: false,
|
|
1704
1717
|
WebTransportBidirectionalStream: false,
|
|
1705
1718
|
WebTransportDatagramDuplexStream: false,
|
|
@@ -1747,6 +1760,7 @@ var require_globals = __commonJS({
|
|
|
1747
1760
|
FormData: false,
|
|
1748
1761
|
global: false,
|
|
1749
1762
|
Headers: false,
|
|
1763
|
+
Iterator: false,
|
|
1750
1764
|
MessageChannel: false,
|
|
1751
1765
|
MessageEvent: false,
|
|
1752
1766
|
MessagePort: false,
|
|
@@ -1786,6 +1800,7 @@ var require_globals = __commonJS({
|
|
|
1786
1800
|
URL: false,
|
|
1787
1801
|
URLSearchParams: false,
|
|
1788
1802
|
WebAssembly: false,
|
|
1803
|
+
WebSocket: false,
|
|
1789
1804
|
WritableStream: false,
|
|
1790
1805
|
WritableStreamDefaultController: false,
|
|
1791
1806
|
WritableStreamDefaultWriter: false
|
|
@@ -1818,6 +1833,7 @@ var require_globals = __commonJS({
|
|
|
1818
1833
|
FormData: false,
|
|
1819
1834
|
global: false,
|
|
1820
1835
|
Headers: false,
|
|
1836
|
+
Iterator: false,
|
|
1821
1837
|
MessageChannel: false,
|
|
1822
1838
|
MessageEvent: false,
|
|
1823
1839
|
MessagePort: false,
|
|
@@ -1855,6 +1871,7 @@ var require_globals = __commonJS({
|
|
|
1855
1871
|
URL: false,
|
|
1856
1872
|
URLSearchParams: false,
|
|
1857
1873
|
WebAssembly: false,
|
|
1874
|
+
WebSocket: false,
|
|
1858
1875
|
WritableStream: false,
|
|
1859
1876
|
WritableStreamDefaultController: false,
|
|
1860
1877
|
WritableStreamDefaultWriter: false
|
|
@@ -2386,6 +2403,7 @@ var require_globals = __commonJS({
|
|
|
2386
2403
|
File: false,
|
|
2387
2404
|
FormData: false,
|
|
2388
2405
|
Headers: false,
|
|
2406
|
+
Iterator: false,
|
|
2389
2407
|
MessageChannel: false,
|
|
2390
2408
|
MessageEvent: false,
|
|
2391
2409
|
MessagePort: false,
|
|
@@ -2421,6 +2439,7 @@ var require_globals = __commonJS({
|
|
|
2421
2439
|
URL: false,
|
|
2422
2440
|
URLSearchParams: false,
|
|
2423
2441
|
WebAssembly: false,
|
|
2442
|
+
WebSocket: false,
|
|
2424
2443
|
WritableStream: false,
|
|
2425
2444
|
WritableStreamDefaultController: false,
|
|
2426
2445
|
WritableStreamDefaultWriter: false
|
|
@@ -2493,9 +2512,9 @@ var require_globals = __commonJS({
|
|
|
2493
2512
|
}
|
|
2494
2513
|
});
|
|
2495
2514
|
|
|
2496
|
-
// node_modules/.pnpm/globals@15.
|
|
2515
|
+
// node_modules/.pnpm/globals@15.2.0/node_modules/globals/index.js
|
|
2497
2516
|
var require_globals2 = __commonJS({
|
|
2498
|
-
"node_modules/.pnpm/globals@15.
|
|
2517
|
+
"node_modules/.pnpm/globals@15.2.0/node_modules/globals/index.js"(exports, module) {
|
|
2499
2518
|
"use strict";
|
|
2500
2519
|
module.exports = require_globals();
|
|
2501
2520
|
}
|
|
@@ -11841,14 +11860,13 @@ async function jsse(options = {}, ...userConfigs) {
|
|
|
11841
11860
|
);
|
|
11842
11861
|
}
|
|
11843
11862
|
});
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
[rule]: "off"
|
|
11863
|
+
combinedConfigs.forEach((config) => {
|
|
11864
|
+
Object.keys(config.rules ?? {}).forEach((rule) => {
|
|
11865
|
+
if (off.includes(rule) && config.rules) {
|
|
11866
|
+
config.rules[rule] = "off";
|
|
11849
11867
|
}
|
|
11850
|
-
})
|
|
11851
|
-
);
|
|
11868
|
+
});
|
|
11869
|
+
});
|
|
11852
11870
|
}
|
|
11853
11871
|
if (normalizedOptions.rootId !== "jsse") {
|
|
11854
11872
|
combinedConfigs.forEach((config) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsse/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.14",
|
|
5
5
|
"packageManager": "pnpm@8.15.4",
|
|
6
6
|
"description": "jsse eslint config",
|
|
7
7
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
@@ -61,32 +61,32 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@eslint/js": "~8.57.0",
|
|
64
|
-
"@stylistic/eslint-plugin": "1.
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
66
|
-
"@typescript-eslint/parser": "^7.
|
|
64
|
+
"@stylistic/eslint-plugin": "2.1.0",
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
|
66
|
+
"@typescript-eslint/parser": "^7.8.0",
|
|
67
67
|
"eslint-config-flat-gitignore": "^0.1.5",
|
|
68
68
|
"eslint-define-config": "^2.1.0",
|
|
69
|
-
"eslint-plugin-antfu": "^2.
|
|
69
|
+
"eslint-plugin-antfu": "^2.2.0",
|
|
70
70
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
71
71
|
"eslint-plugin-import-x": "^0.5.0",
|
|
72
|
-
"eslint-plugin-jsdoc": "^48.2.
|
|
72
|
+
"eslint-plugin-jsdoc": "^48.2.4",
|
|
73
73
|
"eslint-plugin-jsonc": "^2.15.1",
|
|
74
|
-
"eslint-plugin-markdown": "^
|
|
75
|
-
"eslint-plugin-n": "^17.
|
|
74
|
+
"eslint-plugin-markdown": "^5.0.0",
|
|
75
|
+
"eslint-plugin-n": "^17.6.0",
|
|
76
76
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
77
|
-
"eslint-plugin-perfectionist": "^2.
|
|
77
|
+
"eslint-plugin-perfectionist": "^2.10.0",
|
|
78
78
|
"eslint-plugin-react": "~7.34.1",
|
|
79
|
-
"eslint-plugin-react-hooks": "~4.6.
|
|
80
|
-
"eslint-plugin-react-refresh": "~0.4.
|
|
79
|
+
"eslint-plugin-react-hooks": "~4.6.2",
|
|
80
|
+
"eslint-plugin-react-refresh": "~0.4.7",
|
|
81
81
|
"eslint-plugin-tailwindcss": "^3.15.1",
|
|
82
82
|
"eslint-plugin-toml": "^0.11.0",
|
|
83
|
-
"eslint-plugin-unicorn": "^
|
|
84
|
-
"eslint-plugin-unused-imports": "^3.
|
|
85
|
-
"eslint-plugin-vitest": "0.5.
|
|
83
|
+
"eslint-plugin-unicorn": "^53.0.0",
|
|
84
|
+
"eslint-plugin-unused-imports": "^3.2.0",
|
|
85
|
+
"eslint-plugin-vitest": "0.5.4",
|
|
86
86
|
"eslint-plugin-yml": "^1.14.0",
|
|
87
87
|
"jsonc-eslint-parser": "^2.4.0",
|
|
88
88
|
"toml-eslint-parser": "^0.9.3",
|
|
89
|
-
"typescript-eslint": "^7.
|
|
89
|
+
"typescript-eslint": "^7.8.0",
|
|
90
90
|
"yaml-eslint-parser": "^1.2.2"
|
|
91
91
|
},
|
|
92
92
|
"optionalDependencies": {
|
|
@@ -95,27 +95,27 @@
|
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@antfu/ni": "^0.21.12",
|
|
97
97
|
"@jsse/prettier-config": "^0.1.0",
|
|
98
|
-
"@types/eslint": "^8.56.
|
|
98
|
+
"@types/eslint": "^8.56.10",
|
|
99
99
|
"@types/eslint__js": "~8.42.3",
|
|
100
100
|
"@types/fs-extra": "^11.0.4",
|
|
101
|
-
"@types/node": "^20.12.
|
|
102
|
-
"bumpp": "^9.4.
|
|
101
|
+
"@types/node": "^20.12.11",
|
|
102
|
+
"bumpp": "^9.4.1",
|
|
103
103
|
"cac": "^6.7.14",
|
|
104
104
|
"eslint": "^8.57.0",
|
|
105
|
-
"eslint-flat-config-utils": "^0.2.
|
|
106
|
-
"eslint-typegen": "^0.2.
|
|
107
|
-
"execa": "~
|
|
105
|
+
"eslint-flat-config-utils": "^0.2.4",
|
|
106
|
+
"eslint-typegen": "^0.2.4",
|
|
107
|
+
"execa": "~9.0.2",
|
|
108
108
|
"fast-glob": "^3.3.2",
|
|
109
109
|
"fs-extra": "^11.2.0",
|
|
110
|
-
"globals": "^15.
|
|
110
|
+
"globals": "^15.2.0",
|
|
111
111
|
"local-pkg": "^0.5.0",
|
|
112
112
|
"prettier": "^3.2.5",
|
|
113
|
-
"react": "~18.
|
|
114
|
-
"rimraf": "^5.0.
|
|
113
|
+
"react": "~18.3.1",
|
|
114
|
+
"rimraf": "^5.0.6",
|
|
115
115
|
"tsup": "^8.0.2",
|
|
116
|
-
"tsx": "^4.
|
|
116
|
+
"tsx": "^4.9.4",
|
|
117
117
|
"typescript": "~5.4.5",
|
|
118
|
-
"vitest": "^1.
|
|
118
|
+
"vitest": "^1.6.0"
|
|
119
119
|
},
|
|
120
120
|
"prettier": "@jsse/prettier-config",
|
|
121
121
|
"scripts": {
|