oxlint 1.87.0 → 1.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configuration_schema.json +30 -1
- package/dist/bindings.js +27 -27
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +9 -2
- package/dist/lint.js +39 -52
- package/dist/plugins-dev.d.ts +6 -2
- package/dist/plugins-dev.js +2 -14
- package/dist/workspace.js +1 -2
- package/package.json +20 -20
|
@@ -9511,7 +9511,24 @@
|
|
|
9511
9511
|
"$ref": "#/definitions/RuleNoConfig"
|
|
9512
9512
|
},
|
|
9513
9513
|
"unicorn/prefer-query-selector": {
|
|
9514
|
-
"
|
|
9514
|
+
"anyOf": [
|
|
9515
|
+
{
|
|
9516
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
9517
|
+
},
|
|
9518
|
+
{
|
|
9519
|
+
"type": "array",
|
|
9520
|
+
"items": [
|
|
9521
|
+
{
|
|
9522
|
+
"$ref": "#/definitions/AllowWarnDeny"
|
|
9523
|
+
},
|
|
9524
|
+
{
|
|
9525
|
+
"$ref": "#/definitions/PreferQuerySelector"
|
|
9526
|
+
}
|
|
9527
|
+
],
|
|
9528
|
+
"maxItems": 2,
|
|
9529
|
+
"minItems": 2
|
|
9530
|
+
}
|
|
9531
|
+
]
|
|
9515
9532
|
},
|
|
9516
9533
|
"unicorn/prefer-reflect-apply": {
|
|
9517
9534
|
"$ref": "#/definitions/RuleNoConfig"
|
|
@@ -18039,6 +18056,18 @@
|
|
|
18039
18056
|
},
|
|
18040
18057
|
"additionalProperties": false
|
|
18041
18058
|
},
|
|
18059
|
+
"PreferQuerySelector": {
|
|
18060
|
+
"type": "object",
|
|
18061
|
+
"properties": {
|
|
18062
|
+
"allowWithVariables": {
|
|
18063
|
+
"description": "When set to `true`, allows using `.getElementById()` and `.getElementsByClassName()` when called with a variable or expression.\nThis avoids the need to manually compose a CSS selector string, which can be less readable.",
|
|
18064
|
+
"default": false,
|
|
18065
|
+
"type": "boolean",
|
|
18066
|
+
"markdownDescription": "When set to `true`, allows using `.getElementById()` and `.getElementsByClassName()` when called with a variable or expression.\nThis avoids the need to manually compose a CSS selector string, which can be less readable."
|
|
18067
|
+
}
|
|
18068
|
+
},
|
|
18069
|
+
"additionalProperties": false
|
|
18070
|
+
},
|
|
18042
18071
|
"PreferReadonlyConfig": {
|
|
18043
18072
|
"type": "object",
|
|
18044
18073
|
"properties": {
|
package/dist/bindings.js
CHANGED
|
@@ -37,7 +37,7 @@ function requireNative() {
|
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
39
39
|
let binding = require("@oxlint/binding-android-arm64"), bindingPackageVersion = require("@oxlint/binding-android-arm64/package.json").version;
|
|
40
|
-
if (bindingPackageVersion !== "1.
|
|
40
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
41
41
|
return binding;
|
|
42
42
|
} catch (e) {
|
|
43
43
|
loadErrors.push(e);
|
|
@@ -50,7 +50,7 @@ function requireNative() {
|
|
|
50
50
|
}
|
|
51
51
|
try {
|
|
52
52
|
let binding = require("@oxlint/binding-android-arm-eabi"), bindingPackageVersion = require("@oxlint/binding-android-arm-eabi/package.json").version;
|
|
53
|
-
if (bindingPackageVersion !== "1.
|
|
53
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
54
54
|
return binding;
|
|
55
55
|
} catch (e) {
|
|
56
56
|
loadErrors.push(e);
|
|
@@ -66,7 +66,7 @@ function requireNative() {
|
|
|
66
66
|
}
|
|
67
67
|
try {
|
|
68
68
|
let binding = require("@oxlint/binding-win32-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-win32-x64-gnu/package.json").version;
|
|
69
|
-
if (bindingPackageVersion !== "1.
|
|
69
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
70
70
|
return binding;
|
|
71
71
|
} catch (e) {
|
|
72
72
|
loadErrors.push(e);
|
|
@@ -79,7 +79,7 @@ function requireNative() {
|
|
|
79
79
|
}
|
|
80
80
|
try {
|
|
81
81
|
let binding = require("@oxlint/binding-win32-x64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-x64-msvc/package.json").version;
|
|
82
|
-
if (bindingPackageVersion !== "1.
|
|
82
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
83
83
|
return binding;
|
|
84
84
|
} catch (e) {
|
|
85
85
|
loadErrors.push(e);
|
|
@@ -93,7 +93,7 @@ function requireNative() {
|
|
|
93
93
|
}
|
|
94
94
|
try {
|
|
95
95
|
let binding = require("@oxlint/binding-win32-ia32-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-ia32-msvc/package.json").version;
|
|
96
|
-
if (bindingPackageVersion !== "1.
|
|
96
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
97
97
|
return binding;
|
|
98
98
|
} catch (e) {
|
|
99
99
|
loadErrors.push(e);
|
|
@@ -106,7 +106,7 @@ function requireNative() {
|
|
|
106
106
|
}
|
|
107
107
|
try {
|
|
108
108
|
let binding = require("@oxlint/binding-win32-arm64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-arm64-msvc/package.json").version;
|
|
109
|
-
if (bindingPackageVersion !== "1.
|
|
109
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
110
110
|
return binding;
|
|
111
111
|
} catch (e) {
|
|
112
112
|
loadErrors.push(e);
|
|
@@ -120,7 +120,7 @@ function requireNative() {
|
|
|
120
120
|
}
|
|
121
121
|
try {
|
|
122
122
|
let binding = require("@oxlint/binding-darwin-universal"), bindingPackageVersion = require("@oxlint/binding-darwin-universal/package.json").version;
|
|
123
|
-
if (bindingPackageVersion !== "1.
|
|
123
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
124
124
|
return binding;
|
|
125
125
|
} catch (e) {
|
|
126
126
|
loadErrors.push(e);
|
|
@@ -133,7 +133,7 @@ function requireNative() {
|
|
|
133
133
|
}
|
|
134
134
|
try {
|
|
135
135
|
let binding = require("@oxlint/binding-darwin-x64"), bindingPackageVersion = require("@oxlint/binding-darwin-x64/package.json").version;
|
|
136
|
-
if (bindingPackageVersion !== "1.
|
|
136
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
137
137
|
return binding;
|
|
138
138
|
} catch (e) {
|
|
139
139
|
loadErrors.push(e);
|
|
@@ -146,7 +146,7 @@ function requireNative() {
|
|
|
146
146
|
}
|
|
147
147
|
try {
|
|
148
148
|
let binding = require("@oxlint/binding-darwin-arm64"), bindingPackageVersion = require("@oxlint/binding-darwin-arm64/package.json").version;
|
|
149
|
-
if (bindingPackageVersion !== "1.
|
|
149
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
150
150
|
return binding;
|
|
151
151
|
} catch (e) {
|
|
152
152
|
loadErrors.push(e);
|
|
@@ -161,7 +161,7 @@ function requireNative() {
|
|
|
161
161
|
}
|
|
162
162
|
try {
|
|
163
163
|
let binding = require("@oxlint/binding-freebsd-x64"), bindingPackageVersion = require("@oxlint/binding-freebsd-x64/package.json").version;
|
|
164
|
-
if (bindingPackageVersion !== "1.
|
|
164
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
165
165
|
return binding;
|
|
166
166
|
} catch (e) {
|
|
167
167
|
loadErrors.push(e);
|
|
@@ -174,7 +174,7 @@ function requireNative() {
|
|
|
174
174
|
}
|
|
175
175
|
try {
|
|
176
176
|
let binding = require("@oxlint/binding-freebsd-arm64"), bindingPackageVersion = require("@oxlint/binding-freebsd-arm64/package.json").version;
|
|
177
|
-
if (bindingPackageVersion !== "1.
|
|
177
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
178
178
|
return binding;
|
|
179
179
|
} catch (e) {
|
|
180
180
|
loadErrors.push(e);
|
|
@@ -190,7 +190,7 @@ function requireNative() {
|
|
|
190
190
|
}
|
|
191
191
|
try {
|
|
192
192
|
let binding = require("@oxlint/binding-linux-x64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-x64-musl/package.json").version;
|
|
193
|
-
if (bindingPackageVersion !== "1.
|
|
193
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
194
194
|
return binding;
|
|
195
195
|
} catch (e) {
|
|
196
196
|
loadErrors.push(e);
|
|
@@ -203,7 +203,7 @@ function requireNative() {
|
|
|
203
203
|
}
|
|
204
204
|
try {
|
|
205
205
|
let binding = require("@oxlint/binding-linux-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-x64-gnu/package.json").version;
|
|
206
|
-
if (bindingPackageVersion !== "1.
|
|
206
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
207
207
|
return binding;
|
|
208
208
|
} catch (e) {
|
|
209
209
|
loadErrors.push(e);
|
|
@@ -218,7 +218,7 @@ function requireNative() {
|
|
|
218
218
|
}
|
|
219
219
|
try {
|
|
220
220
|
let binding = require("@oxlint/binding-linux-arm64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-musl/package.json").version;
|
|
221
|
-
if (bindingPackageVersion !== "1.
|
|
221
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
222
222
|
return binding;
|
|
223
223
|
} catch (e) {
|
|
224
224
|
loadErrors.push(e);
|
|
@@ -231,7 +231,7 @@ function requireNative() {
|
|
|
231
231
|
}
|
|
232
232
|
try {
|
|
233
233
|
let binding = require("@oxlint/binding-linux-arm64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-gnu/package.json").version;
|
|
234
|
-
if (bindingPackageVersion !== "1.
|
|
234
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
235
235
|
return binding;
|
|
236
236
|
} catch (e) {
|
|
237
237
|
loadErrors.push(e);
|
|
@@ -246,7 +246,7 @@ function requireNative() {
|
|
|
246
246
|
}
|
|
247
247
|
try {
|
|
248
248
|
let binding = require("@oxlint/binding-linux-arm-musleabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-musleabihf/package.json").version;
|
|
249
|
-
if (bindingPackageVersion !== "1.
|
|
249
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
250
250
|
return binding;
|
|
251
251
|
} catch (e) {
|
|
252
252
|
loadErrors.push(e);
|
|
@@ -259,7 +259,7 @@ function requireNative() {
|
|
|
259
259
|
}
|
|
260
260
|
try {
|
|
261
261
|
let binding = require("@oxlint/binding-linux-arm-gnueabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-gnueabihf/package.json").version;
|
|
262
|
-
if (bindingPackageVersion !== "1.
|
|
262
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
263
263
|
return binding;
|
|
264
264
|
} catch (e) {
|
|
265
265
|
loadErrors.push(e);
|
|
@@ -274,7 +274,7 @@ function requireNative() {
|
|
|
274
274
|
}
|
|
275
275
|
try {
|
|
276
276
|
let binding = require("@oxlint/binding-linux-loong64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-musl/package.json").version;
|
|
277
|
-
if (bindingPackageVersion !== "1.
|
|
277
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
278
278
|
return binding;
|
|
279
279
|
} catch (e) {
|
|
280
280
|
loadErrors.push(e);
|
|
@@ -287,7 +287,7 @@ function requireNative() {
|
|
|
287
287
|
}
|
|
288
288
|
try {
|
|
289
289
|
let binding = require("@oxlint/binding-linux-loong64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-gnu/package.json").version;
|
|
290
|
-
if (bindingPackageVersion !== "1.
|
|
290
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
291
291
|
return binding;
|
|
292
292
|
} catch (e) {
|
|
293
293
|
loadErrors.push(e);
|
|
@@ -302,7 +302,7 @@ function requireNative() {
|
|
|
302
302
|
}
|
|
303
303
|
try {
|
|
304
304
|
let binding = require("@oxlint/binding-linux-riscv64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-musl/package.json").version;
|
|
305
|
-
if (bindingPackageVersion !== "1.
|
|
305
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
306
306
|
return binding;
|
|
307
307
|
} catch (e) {
|
|
308
308
|
loadErrors.push(e);
|
|
@@ -315,7 +315,7 @@ function requireNative() {
|
|
|
315
315
|
}
|
|
316
316
|
try {
|
|
317
317
|
let binding = require("@oxlint/binding-linux-riscv64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-gnu/package.json").version;
|
|
318
|
-
if (bindingPackageVersion !== "1.
|
|
318
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
319
319
|
return binding;
|
|
320
320
|
} catch (e) {
|
|
321
321
|
loadErrors.push(e);
|
|
@@ -329,7 +329,7 @@ function requireNative() {
|
|
|
329
329
|
}
|
|
330
330
|
try {
|
|
331
331
|
let binding = require("@oxlint/binding-linux-ppc64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-ppc64-gnu/package.json").version;
|
|
332
|
-
if (bindingPackageVersion !== "1.
|
|
332
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
333
333
|
return binding;
|
|
334
334
|
} catch (e) {
|
|
335
335
|
loadErrors.push(e);
|
|
@@ -342,7 +342,7 @@ function requireNative() {
|
|
|
342
342
|
}
|
|
343
343
|
try {
|
|
344
344
|
let binding = require("@oxlint/binding-linux-s390x-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-s390x-gnu/package.json").version;
|
|
345
|
-
if (bindingPackageVersion !== "1.
|
|
345
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
346
346
|
return binding;
|
|
347
347
|
} catch (e) {
|
|
348
348
|
loadErrors.push(e);
|
|
@@ -357,7 +357,7 @@ function requireNative() {
|
|
|
357
357
|
}
|
|
358
358
|
try {
|
|
359
359
|
let binding = require("@oxlint/binding-openharmony-arm64"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm64/package.json").version;
|
|
360
|
-
if (bindingPackageVersion !== "1.
|
|
360
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
361
361
|
return binding;
|
|
362
362
|
} catch (e) {
|
|
363
363
|
loadErrors.push(e);
|
|
@@ -370,7 +370,7 @@ function requireNative() {
|
|
|
370
370
|
}
|
|
371
371
|
try {
|
|
372
372
|
let binding = require("@oxlint/binding-openharmony-x64"), bindingPackageVersion = require("@oxlint/binding-openharmony-x64/package.json").version;
|
|
373
|
-
if (bindingPackageVersion !== "1.
|
|
373
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
374
374
|
return binding;
|
|
375
375
|
} catch (e) {
|
|
376
376
|
loadErrors.push(e);
|
|
@@ -383,7 +383,7 @@ function requireNative() {
|
|
|
383
383
|
}
|
|
384
384
|
try {
|
|
385
385
|
let binding = require("@oxlint/binding-openharmony-arm"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm/package.json").version;
|
|
386
|
-
if (bindingPackageVersion !== "1.
|
|
386
|
+
if (bindingPackageVersion !== "1.88.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
387
387
|
return binding;
|
|
388
388
|
} catch (e) {
|
|
389
389
|
loadErrors.push(e);
|
|
@@ -450,7 +450,7 @@ if (forceWasi || (nativeBinding = requireNative()), !nativeBinding || forceWasi)
|
|
|
450
450
|
if (candidateError = __napiWasiResolveCandidate("@oxlint/binding-wasm32-wasi", !0, void 0), candidateFailed = candidateError !== null, !candidateFailed) {
|
|
451
451
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
452
452
|
let bindingPackageVersion = require("@oxlint/binding-wasm32-wasi/package.json").version;
|
|
453
|
-
if (bindingPackageVersion !== "1.
|
|
453
|
+
if (bindingPackageVersion !== "1.88.0") throw Error(`WASI binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
454
454
|
}
|
|
455
455
|
wasiBinding = require("@oxlint/binding-wasm32-wasi"), nativeBinding = wasiBinding, wasiBindingLoaded = !0;
|
|
456
456
|
}
|
package/dist/cli.js
CHANGED
|
@@ -80,6 +80,6 @@ function loadJsConfigsWrapper(paths) {
|
|
|
80
80
|
return resolvedConfigLoader === null ? import("./js_config.js").then(({ loadJsConfigs, loadVitePlusConfigs }) => (resolvedConfigLoader = process.env.VP_VERSION ? loadVitePlusConfigs : loadJsConfigs, resolvedConfigLoader(paths))) : resolvedConfigLoader(paths);
|
|
81
81
|
}
|
|
82
82
|
const args = process.argv.slice(2);
|
|
83
|
-
process.stdout.isTTY || (process.stdin._handle?.setBlocking?.(!0), process.stdout._handle?.setBlocking?.(!0)), args.includes("--lsp") && (process.stdout.write = process.stderr.write.bind(process.stderr)), await lint(args, loadPluginWrapper, setupRuleConfigsWrapper, lintFileWrapper, createWorkspaceWrapper, destroyWorkspaceWrapper, loadJsConfigsWrapper) || (process.exitCode = 1);
|
|
83
|
+
process.stdout.isTTY || (process.stdin._handle?.setBlocking?.(!0), process.stdout._handle?.setBlocking?.(!0)), process.stderr.isTTY || process.stderr._handle?.setBlocking?.(!0), args.includes("--lsp") && (process.stdout.write = process.stderr.write.bind(process.stderr)), await lint(args, loadPluginWrapper, setupRuleConfigsWrapper, lintFileWrapper, createWorkspaceWrapper, destroyWorkspaceWrapper, loadJsConfigsWrapper) || (process.exitCode = 1);
|
|
84
84
|
//#endregion
|
|
85
85
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1557,7 +1557,7 @@ interface DummyRuleMap {
|
|
|
1557
1557
|
"unicorn/prefer-object-from-entries"?: RuleNoConfig | [AllowWarnDeny, PreferObjectFromEntriesConfig];
|
|
1558
1558
|
"unicorn/prefer-optional-catch-binding"?: RuleNoConfig;
|
|
1559
1559
|
"unicorn/prefer-prototype-methods"?: RuleNoConfig;
|
|
1560
|
-
"unicorn/prefer-query-selector"?: RuleNoConfig;
|
|
1560
|
+
"unicorn/prefer-query-selector"?: RuleNoConfig | [AllowWarnDeny, PreferQuerySelector];
|
|
1561
1561
|
"unicorn/prefer-reflect-apply"?: RuleNoConfig;
|
|
1562
1562
|
"unicorn/prefer-regexp-test"?: RuleNoConfig;
|
|
1563
1563
|
"unicorn/prefer-response-static-json"?: RuleNoConfig;
|
|
@@ -1707,7 +1707,7 @@ interface DummyRuleMap {
|
|
|
1707
1707
|
"vue/valid-define-props"?: RuleNoConfig;
|
|
1708
1708
|
"vue/valid-next-tick"?: RuleNoConfig;
|
|
1709
1709
|
yoda?: RuleNoConfig | [AllowWarnDeny, AllowYoda] | [AllowWarnDeny, AllowYoda, YodaOptions];
|
|
1710
|
-
[k: string]: DummyRule | RuleNoConfig | [AllowWarnDeny, AccessorPairsConfig] | [AllowWarnDeny, ArrayCallbackReturn] | [AllowWarnDeny, Mode2] | [AllowWarnDeny, Mode2, ArrowBodyStyleConfig] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, OptionsJsonEnum] | [AllowWarnDeny, ClassMethodsUseThisConfig] | [AllowWarnDeny, ComplexityConfigEnum] | [AllowWarnDeny, CurlyType] | [AllowWarnDeny, CurlyType, CurlyConsistent] | [AllowWarnDeny, DefaultCaseConfig] | [AllowWarnDeny, CompareType] | [AllowWarnDeny, CompareType, EqeqeqOptions] | [AllowWarnDeny, FuncNameMatchingMode] | [AllowWarnDeny, FuncNameMatchingMode, FuncNameMatchingConfig] | [AllowWarnDeny, FuncNameMatchingMode] | [AllowWarnDeny, FuncNameMatchingConfig] | [AllowWarnDeny, FuncNamesConfigType] | [AllowWarnDeny, FuncNamesConfigType, FuncNamesGeneratorsConfig] | [AllowWarnDeny, Style] | [AllowWarnDeny, Style, FuncStyleConfig] | [AllowWarnDeny, GetterReturn] | [AllowWarnDeny, PairOrder] | [AllowWarnDeny, PairOrder, GroupedAccessorPairsConfig] | [AllowWarnDeny, ...string[]] | [AllowWarnDeny, IdLengthConfig] | [AllowWarnDeny, string] | [AllowWarnDeny, string, IdMatchOptions] | [AllowWarnDeny, Mode] | [AllowWarnDeny, ExtensionRule] | [AllowWarnDeny, ExtensionRule, ImportExtensionsObject] | [AllowWarnDeny, ExtensionRule] | [AllowWarnDeny, ImportExtensionsObject] | [AllowWarnDeny, AbsoluteFirst] | [AllowWarnDeny, MaxDependenciesConfigJson] | [AllowWarnDeny, Namespace] | [AllowWarnDeny, NewlineAfterImport] | [AllowWarnDeny, NoAbsolutePath] | [AllowWarnDeny, NoAnonymousDefaultExport] | [AllowWarnDeny, NoCommonjs] | [AllowWarnDeny, NoCycle] | [AllowWarnDeny, NoDuplicates] | [AllowWarnDeny, NoDynamicRequire] | [AllowWarnDeny, NoNamespaceConfig] | [AllowWarnDeny, NoNodejsModulesConfig] | [AllowWarnDeny, NoUnassignedImportConfig] | [AllowWarnDeny, PreferDefaultExport] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, InitDeclarationsConfig] | [AllowWarnDeny, ConsistentTestItConfig] | [AllowWarnDeny, ExpectExpectConfig] | [AllowWarnDeny, MaxExpectsConfig] | [AllowWarnDeny, MaxNestedDescribeConfig] | [AllowWarnDeny, NoDeprecatedFunctionsConfig] | [AllowWarnDeny, NoHooksConfig] | [AllowWarnDeny, NoLargeSnapshotsConfig] | [AllowWarnDeny, NoRestrictedTestMethodsConfig] | [AllowWarnDeny, NoRestrictedMatchersConfig] | [AllowWarnDeny, NoStandaloneExpectConfig] | [AllowWarnDeny, PreferEndingWithAnExpectConfig] | [AllowWarnDeny, PreferExpectAssertionsConfig] | [AllowWarnDeny, PreferImportingJestGlobalsConfig] | [AllowWarnDeny, PreferLowercaseTitleConfig] | [AllowWarnDeny, SnapshotHintMode] | [AllowWarnDeny, RequireHookConfig] | [AllowWarnDeny, RequireTopLevelDescribeConfig] | [AllowWarnDeny, ValidExpectConfig] | [AllowWarnDeny, CheckTagNamesConfig] | [AllowWarnDeny, EmptyTagsConfig] | [AllowWarnDeny, NoBlankBlocks] | [AllowWarnDeny, NoDefaultsConfig] | [AllowWarnDeny, RequireParamConfig] | [AllowWarnDeny, RequireParamDescriptionConfig] | [AllowWarnDeny, RequireParamTypeConfig] | [AllowWarnDeny, RequireReturnsConfig] | [AllowWarnDeny, RequireYieldsConfig] | [AllowWarnDeny, AltTextConfigSchema] | [AllowWarnDeny, AnchorAmbiguousTextConfig] | [AllowWarnDeny, AnchorHasContentConfig] | [AllowWarnDeny, AnchorIsValidConfig] | [AllowWarnDeny, AriaRoleConfig] | [AllowWarnDeny, AutocompleteValidConfig] | [AllowWarnDeny, ControlHasAssociatedLabelConfig] | [AllowWarnDeny, HeadingHasContentConfig] | [AllowWarnDeny, ImgRedundantAltConfig] | [AllowWarnDeny, InteractiveSupportsFocusConfig] | [AllowWarnDeny, LabelHasAssociatedControlConfig] | [AllowWarnDeny, MediaHasCaptionConfig] | [AllowWarnDeny, MouseEventsHaveKeyEventsConfig] | [AllowWarnDeny, NoAutofocus] | [AllowWarnDeny, NoDistractingElementsConfig] | [AllowWarnDeny, NoInteractiveElementToNoninteractiveRoleConfig] | [AllowWarnDeny, NoNoninteractiveElementInteractionsConfig] | [AllowWarnDeny, NoNoninteractiveElementToInteractiveRoleConfig] | [AllowWarnDeny, NoNoninteractiveTabindexConfig] | [AllowWarnDeny, NoRedundantRolesConfig] | [AllowWarnDeny, NoStaticElementInteractionsConfig] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, LogicalAssignmentOperatorsConfig] | [AllowWarnDeny, MaxClassesPerFileConfigEnum] | [AllowWarnDeny, MaxDepthConfigEnum] | [AllowWarnDeny, MaxLinesConfigEnum] | [AllowWarnDeny, MaxLinesPerFunctionConfigEnum] | [AllowWarnDeny, MaxNestedCallbacksConfigEnum] | [AllowWarnDeny, MaxParamsConfigEnum] | [AllowWarnDeny, MaxStatementsConfigEnum] | [AllowWarnDeny, NewCapConfig] | [AllowWarnDeny, NoBitwiseConfig] | [AllowWarnDeny, NoCondAssignConfig] | [AllowWarnDeny, NoConsoleConfig] | [AllowWarnDeny, NoConstantBinaryExpressionConfig] | [AllowWarnDeny, NoConstantCondition] | [AllowWarnDeny, NoDuplicateImports] | [AllowWarnDeny, NoElseReturn] | [AllowWarnDeny, NoEmpty] | [AllowWarnDeny, NoEmptyFunctionConfig] | [AllowWarnDeny, NoEmptyPattern] | [AllowWarnDeny, NoEval] | [AllowWarnDeny, NoExtendNativeConfig] | [AllowWarnDeny, NoExtraBooleanCast] | [AllowWarnDeny, NoFallthroughConfig] | [AllowWarnDeny, NoGlobalAssignConfig] | [AllowWarnDeny, NoImplicitCoercionConfig] | [AllowWarnDeny, NoImplicitGlobalsConfig] | [AllowWarnDeny, NoInlineCommentsConfig] | [AllowWarnDeny, NoInnerDeclarationsConfig] | [AllowWarnDeny, NoInnerDeclarationsConfig, NoInnerDeclarationsOptions] | [AllowWarnDeny, NoInvalidRegexpConfig] | [AllowWarnDeny, NoIrregularWhitespaceConfig] | [AllowWarnDeny, NoLabels] | [AllowWarnDeny, NoMagicNumbersConfig] | [AllowWarnDeny, NoMisleadingCharacterClass] | [AllowWarnDeny, NoMultiAssign] | [AllowWarnDeny, NoParamReassignConfig] | [AllowWarnDeny, NoPlusplus] | [AllowWarnDeny, NoPromiseExecutorReturnConfig] | [AllowWarnDeny, NoRedeclare] | [AllowWarnDeny, NoRestrictedExportsConfig] | [AllowWarnDeny, ...NoRestrictedGlobalsConfigEnum[]] | [AllowWarnDeny, ...NoRestrictedImportsConfigEnum[]] | [AllowWarnDeny, ...PropertyDetails[]] | [AllowWarnDeny, NoReturnAssignMode] | [AllowWarnDeny, NoSelfAssign] | [AllowWarnDeny, NoSequences] | [AllowWarnDeny, NoShadowConfig] | [AllowWarnDeny, NoShadowRestrictedNamesConfig] | [AllowWarnDeny, NoUndef] | [AllowWarnDeny, NoUnderscoreDangleConfig] | [AllowWarnDeny, NoUnmodifiedLoopCondition] | [AllowWarnDeny, NoUnneededTernary] | [AllowWarnDeny, NoUnreachableLoopConfig] | [AllowWarnDeny, NoUnsafeNegation] | [AllowWarnDeny, NoUnsafeOptionalChaining] | [AllowWarnDeny, NoUnusedExpressionsConfig] | [AllowWarnDeny, NoUnusedVarsConfig] | [AllowWarnDeny, NoUseBeforeDefineConfigJson] | [AllowWarnDeny, NoUselessComputedKey] | [AllowWarnDeny, NoUselessEscapeConfig] | [AllowWarnDeny, NoUselessRenameConfig] | [AllowWarnDeny, NoVoid] | [AllowWarnDeny, NoWarningCommentsConfig] | [AllowWarnDeny, CallbackReturn] | [AllowWarnDeny, ExportsStyleMode] | [AllowWarnDeny, ExportsStyleMode, ExportsStyleOptions] | [AllowWarnDeny, HandleCallbackErrConfig] | [AllowWarnDeny, NoMixedRequiresConfig] | [AllowWarnDeny, NoProcessEnvConfig] | [AllowWarnDeny, NoSyncConfig] | [AllowWarnDeny, NoTopLevelAwaitConfig] | [AllowWarnDeny, ShorthandType] | [AllowWarnDeny, ShorthandType, ObjectShorthandOptions] | [AllowWarnDeny, OneVar] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, NoAsyncEndpointHandlersConfig] | [AllowWarnDeny, NoBarrelFile] | [AllowWarnDeny, NoMapSpreadConfig] | [AllowWarnDeny, NoOptionalChainingConfig] | [AllowWarnDeny, NoRestSpreadPropertiesOptions] | [AllowWarnDeny, PreferArrowCallbackConfig] | [AllowWarnDeny, PreferConstConfig] | [AllowWarnDeny, PreferDestructuringOption] | [AllowWarnDeny, PreferDestructuringOption, PreferDestructuringEnforcementConfig] | [AllowWarnDeny, PreferPromiseRejectErrors] | [AllowWarnDeny, PreferRegexLiteralsConfig] | [AllowWarnDeny, PreserveCaughtErrorOptions] | [AllowWarnDeny, AlwaysReturnConfig] | [AllowWarnDeny, CatchOrReturnConfig] | [AllowWarnDeny, NoCallbackInPromiseConfig] | [AllowWarnDeny, NoPromiseInCallbackConfig] | [AllowWarnDeny, NoReturnWrap] | [AllowWarnDeny, ParamNamesConfig] | [AllowWarnDeny, PreferAwaitToThenConfig] | [AllowWarnDeny, SpecOnlyConfig] | [AllowWarnDeny, RadixType] | [AllowWarnDeny, ReactPerfConfig] | [AllowWarnDeny, ButtonHasType] | [AllowWarnDeny, CheckedRequiresOnchangeOrReadonly] | [AllowWarnDeny, DisplayNameConfig] | [AllowWarnDeny, ExhaustiveDepsConfig] | [AllowWarnDeny, ForbidComponentPropsConfig] | [AllowWarnDeny, ForbidDomPropsConfig] | [AllowWarnDeny, ForbidElementsConfig] | [AllowWarnDeny, FunctionComponentDefinitionConfig] | [AllowWarnDeny, HookUseStateConfig] | [AllowWarnDeny, EnforceBooleanAttribute] | [AllowWarnDeny, EnforceBooleanAttribute, JsxBooleanValueOptions] | [AllowWarnDeny, JsxCurlyBracePresenceConfig] | [AllowWarnDeny, JsxFilenameExtensionConfig] | [AllowWarnDeny, FragmentMode] | [AllowWarnDeny, JsxHandlerNamesConfig] | [AllowWarnDeny, JsxKeyConfig] | [AllowWarnDeny, JsxMaxDepthConfig] | [AllowWarnDeny, JsxNoLiteralsConfig] | [AllowWarnDeny, JsxNoScriptUrlComponent[]] | [AllowWarnDeny, JsxNoScriptUrlComponent[], JsxNoScriptUrlOptions] | [AllowWarnDeny, JsxNoScriptUrlOptions] | [AllowWarnDeny, JsxNoTargetBlank] | [AllowWarnDeny, JsxNoUselessFragment] | [AllowWarnDeny, JsxPascalCaseConfig] | [AllowWarnDeny, JsxPropsNoSpreadingConfig] | [AllowWarnDeny, AllowedOrDisallowInFunc] | [AllowWarnDeny, NoMultiCompConfig] | [AllowWarnDeny, NoStringRefs] | [AllowWarnDeny, NoUnknownPropertyConfig] | [AllowWarnDeny, NoUnsafeConfig] | [AllowWarnDeny, NoUnstableNestedComponentsConfig] | [AllowWarnDeny, OnlyExportComponentsConfig] | [AllowWarnDeny, PreferFunctionComponent] | [AllowWarnDeny, SelfClosingComp] | [AllowWarnDeny, StylePropObjectConfig] | [AllowWarnDeny, RequireUnicodeRegexpConfig] | [AllowWarnDeny, SortImportsOptions] | [AllowWarnDeny, SortOrder] | [AllowWarnDeny, SortOrder, SortKeysOptions] | [AllowWarnDeny, SortVars] | [AllowWarnDeny, ArrayTypeConfig] | [AllowWarnDeny, BanTsCommentConfig] | [AllowWarnDeny, ClassLiteralPropertyStyleOption] | [AllowWarnDeny, PreferGenericType] | [AllowWarnDeny, ConsistentIndexedObjectStyleConfig] | [AllowWarnDeny, ConsistentReturnConfig] | [AllowWarnDeny, ConsistentTypeAssertionsConfig] | [AllowWarnDeny, ConsistentTypeDefinitionsConfig] | [AllowWarnDeny, ConsistentTypeExportsConfig] | [AllowWarnDeny, ConsistentTypeImportsConfig] | [AllowWarnDeny, DotNotationConfig] | [AllowWarnDeny, ExplicitFunctionReturnTypeConfig] | [AllowWarnDeny, ExplicitMemberAccessibilityConfig] | [AllowWarnDeny, ExplicitModuleBoundaryTypesConfig] | [AllowWarnDeny, MethodSignatureStyleConfig] | [AllowWarnDeny, NoBaseToStringConfig] | [AllowWarnDeny, NoConfusingVoidExpressionConfig] | [AllowWarnDeny, NoDeprecatedConfig] | [AllowWarnDeny, NoDuplicateTypeConstituentsConfig] | [AllowWarnDeny, NoEmptyInterface] | [AllowWarnDeny, NoEmptyObjectTypeConfig] | [AllowWarnDeny, NoExplicitAny] | [AllowWarnDeny, NoExtraneousClass] | [AllowWarnDeny, NoFloatingPromisesConfig] | [AllowWarnDeny, NoInferrableTypes] | [AllowWarnDeny, NoInvalidVoidTypeConfig] | [AllowWarnDeny, NoMeaninglessVoidOperatorConfig] | [AllowWarnDeny, NoMisusedPromisesConfig] | [AllowWarnDeny, NoMisusedSpreadConfig] | [AllowWarnDeny, NoNamespace] | [AllowWarnDeny, NoRequireImportsConfig] | [AllowWarnDeny, NoRestrictedTypesConfig] | [AllowWarnDeny, NoThisAliasConfig] | [AllowWarnDeny, NoUnnecessaryBooleanLiteralCompareConfig] | [AllowWarnDeny, NoUnnecessaryConditionConfig] | [AllowWarnDeny, NoUnnecessaryTypeAssertionConfig] | [AllowWarnDeny, NoUnsafeMemberAccessConfig] | [AllowWarnDeny, OnlyThrowErrorConfig] | [AllowWarnDeny, ParameterPropertiesConfig] | [AllowWarnDeny, PreferLiteralEnumMember] | [AllowWarnDeny, PreferNullishCoalescingConfig] | [AllowWarnDeny, PreferOptionalChainConfig] | [AllowWarnDeny, PreferPromiseRejectErrorsConfig] | [AllowWarnDeny, PreferReadonlyConfig] | [AllowWarnDeny, PreferReadonlyParameterTypesConfig] | [AllowWarnDeny, PreferStringStartsEndsWithConfig] | [AllowWarnDeny, PromiseFunctionAsyncConfig] | [AllowWarnDeny, RequireArraySortCompareConfig] | [AllowWarnDeny, RestrictPlusOperandsConfig] | [AllowWarnDeny, RestrictTemplateExpressionsConfig] | [AllowWarnDeny, ReturnAwaitOption] | [AllowWarnDeny, StrictBooleanExpressionsConfig] | [AllowWarnDeny, StrictVoidReturnConfig] | [AllowWarnDeny, SwitchExhaustivenessCheckConfig] | [AllowWarnDeny, TripleSlashReferenceConfig] | [AllowWarnDeny, UnboundMethodConfig] | [AllowWarnDeny, UnifiedSignaturesOptions] | [AllowWarnDeny, BomOptionType] | [AllowWarnDeny, CatchErrorNameConfig] | [AllowWarnDeny, ConsistentFunctionScoping] | [AllowWarnDeny, ExplicitLengthCheck] | [AllowWarnDeny, ExplicitTimerDelayMode] | [AllowWarnDeny, ImportStyleConfig] | [AllowWarnDeny, MaxNestedCalls] | [AllowWarnDeny, NoArrayReduce] | [AllowWarnDeny, NoArrayReverse] | [AllowWarnDeny, NoArraySort] | [AllowWarnDeny, NoInstanceofBuiltinsConfig] | [AllowWarnDeny, NoNull] | [AllowWarnDeny, NoTypeofUndefined] | [AllowWarnDeny, NoUselessPromiseResolveRejectOptions] | [AllowWarnDeny, NoUselessUndefined] | [AllowWarnDeny, NumericSeparatorsStyleConfig] | [AllowWarnDeny, PreferAtConfig] | [AllowWarnDeny, PreferExportFrom] | [AllowWarnDeny, PreferNumberPropertiesConfig] | [AllowWarnDeny, PreferObjectFromEntriesConfig] | [AllowWarnDeny, PreferSingleCallConfig] | [AllowWarnDeny, PreferStructuredCloneConfig] | [AllowWarnDeny, PreferTernaryOption] | [AllowWarnDeny, RelativeUrlStyleConfig] | [AllowWarnDeny, SwitchCaseBracesConfig] | [AllowWarnDeny, TextEncodingIdentifierCase] | [AllowWarnDeny, UseIsnan] | [AllowWarnDeny, ValidTypeof] | [AllowWarnDeny, ConsistentEachForJson] | [AllowWarnDeny, ConsistentTestFilenameConfig] | [AllowWarnDeny, ConsistentVitestConfig] | [AllowWarnDeny, PreferImportInMockConfig] | [AllowWarnDeny, RequireMockTypeParametersConfig] | [AllowWarnDeny, CaseType] | [AllowWarnDeny, DeclarationStyle] | [AllowWarnDeny, DeclarationStyle2] | [AllowWarnDeny, DefinePropsDestructuring] | [AllowWarnDeny, MaxProps] | [AllowWarnDeny, NextTickOption] | [AllowWarnDeny, NoAsyncInComputedPropertiesConfig] | [AllowWarnDeny, NoDeprecatedModelDefinitionConfig] | [AllowWarnDeny, NoDupeKeysConfig] | [AllowWarnDeny, NoReservedComponentNames] | [AllowWarnDeny, NoReservedKeysConfig] | [AllowWarnDeny, NoReservedPropsConfig] | [AllowWarnDeny, CaseType2] | [AllowWarnDeny, CaseType2, Options] | [AllowWarnDeny, RequireDirectExport] | [AllowWarnDeny, ReturnInComputedPropertyConfig] | [AllowWarnDeny, AllowYoda] | [AllowWarnDeny, AllowYoda, YodaOptions] | undefined;
|
|
1710
|
+
[k: string]: DummyRule | RuleNoConfig | [AllowWarnDeny, AccessorPairsConfig] | [AllowWarnDeny, ArrayCallbackReturn] | [AllowWarnDeny, Mode2] | [AllowWarnDeny, Mode2, ArrowBodyStyleConfig] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, OptionsJsonEnum] | [AllowWarnDeny, ClassMethodsUseThisConfig] | [AllowWarnDeny, ComplexityConfigEnum] | [AllowWarnDeny, CurlyType] | [AllowWarnDeny, CurlyType, CurlyConsistent] | [AllowWarnDeny, DefaultCaseConfig] | [AllowWarnDeny, CompareType] | [AllowWarnDeny, CompareType, EqeqeqOptions] | [AllowWarnDeny, FuncNameMatchingMode] | [AllowWarnDeny, FuncNameMatchingMode, FuncNameMatchingConfig] | [AllowWarnDeny, FuncNameMatchingMode] | [AllowWarnDeny, FuncNameMatchingConfig] | [AllowWarnDeny, FuncNamesConfigType] | [AllowWarnDeny, FuncNamesConfigType, FuncNamesGeneratorsConfig] | [AllowWarnDeny, Style] | [AllowWarnDeny, Style, FuncStyleConfig] | [AllowWarnDeny, GetterReturn] | [AllowWarnDeny, PairOrder] | [AllowWarnDeny, PairOrder, GroupedAccessorPairsConfig] | [AllowWarnDeny, ...string[]] | [AllowWarnDeny, IdLengthConfig] | [AllowWarnDeny, string] | [AllowWarnDeny, string, IdMatchOptions] | [AllowWarnDeny, Mode] | [AllowWarnDeny, ExtensionRule] | [AllowWarnDeny, ExtensionRule, ImportExtensionsObject] | [AllowWarnDeny, ExtensionRule] | [AllowWarnDeny, ImportExtensionsObject] | [AllowWarnDeny, AbsoluteFirst] | [AllowWarnDeny, MaxDependenciesConfigJson] | [AllowWarnDeny, Namespace] | [AllowWarnDeny, NewlineAfterImport] | [AllowWarnDeny, NoAbsolutePath] | [AllowWarnDeny, NoAnonymousDefaultExport] | [AllowWarnDeny, NoCommonjs] | [AllowWarnDeny, NoCycle] | [AllowWarnDeny, NoDuplicates] | [AllowWarnDeny, NoDynamicRequire] | [AllowWarnDeny, NoNamespaceConfig] | [AllowWarnDeny, NoNodejsModulesConfig] | [AllowWarnDeny, NoUnassignedImportConfig] | [AllowWarnDeny, PreferDefaultExport] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, InitDeclarationsConfig] | [AllowWarnDeny, ConsistentTestItConfig] | [AllowWarnDeny, ExpectExpectConfig] | [AllowWarnDeny, MaxExpectsConfig] | [AllowWarnDeny, MaxNestedDescribeConfig] | [AllowWarnDeny, NoDeprecatedFunctionsConfig] | [AllowWarnDeny, NoHooksConfig] | [AllowWarnDeny, NoLargeSnapshotsConfig] | [AllowWarnDeny, NoRestrictedTestMethodsConfig] | [AllowWarnDeny, NoRestrictedMatchersConfig] | [AllowWarnDeny, NoStandaloneExpectConfig] | [AllowWarnDeny, PreferEndingWithAnExpectConfig] | [AllowWarnDeny, PreferExpectAssertionsConfig] | [AllowWarnDeny, PreferImportingJestGlobalsConfig] | [AllowWarnDeny, PreferLowercaseTitleConfig] | [AllowWarnDeny, SnapshotHintMode] | [AllowWarnDeny, RequireHookConfig] | [AllowWarnDeny, RequireTopLevelDescribeConfig] | [AllowWarnDeny, ValidExpectConfig] | [AllowWarnDeny, CheckTagNamesConfig] | [AllowWarnDeny, EmptyTagsConfig] | [AllowWarnDeny, NoBlankBlocks] | [AllowWarnDeny, NoDefaultsConfig] | [AllowWarnDeny, RequireParamConfig] | [AllowWarnDeny, RequireParamDescriptionConfig] | [AllowWarnDeny, RequireParamTypeConfig] | [AllowWarnDeny, RequireReturnsConfig] | [AllowWarnDeny, RequireYieldsConfig] | [AllowWarnDeny, AltTextConfigSchema] | [AllowWarnDeny, AnchorAmbiguousTextConfig] | [AllowWarnDeny, AnchorHasContentConfig] | [AllowWarnDeny, AnchorIsValidConfig] | [AllowWarnDeny, AriaRoleConfig] | [AllowWarnDeny, AutocompleteValidConfig] | [AllowWarnDeny, ControlHasAssociatedLabelConfig] | [AllowWarnDeny, HeadingHasContentConfig] | [AllowWarnDeny, ImgRedundantAltConfig] | [AllowWarnDeny, InteractiveSupportsFocusConfig] | [AllowWarnDeny, LabelHasAssociatedControlConfig] | [AllowWarnDeny, MediaHasCaptionConfig] | [AllowWarnDeny, MouseEventsHaveKeyEventsConfig] | [AllowWarnDeny, NoAutofocus] | [AllowWarnDeny, NoDistractingElementsConfig] | [AllowWarnDeny, NoInteractiveElementToNoninteractiveRoleConfig] | [AllowWarnDeny, NoNoninteractiveElementInteractionsConfig] | [AllowWarnDeny, NoNoninteractiveElementToInteractiveRoleConfig] | [AllowWarnDeny, NoNoninteractiveTabindexConfig] | [AllowWarnDeny, NoRedundantRolesConfig] | [AllowWarnDeny, NoStaticElementInteractionsConfig] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, LogicalAssignmentOperatorsConfig] | [AllowWarnDeny, MaxClassesPerFileConfigEnum] | [AllowWarnDeny, MaxDepthConfigEnum] | [AllowWarnDeny, MaxLinesConfigEnum] | [AllowWarnDeny, MaxLinesPerFunctionConfigEnum] | [AllowWarnDeny, MaxNestedCallbacksConfigEnum] | [AllowWarnDeny, MaxParamsConfigEnum] | [AllowWarnDeny, MaxStatementsConfigEnum] | [AllowWarnDeny, NewCapConfig] | [AllowWarnDeny, NoBitwiseConfig] | [AllowWarnDeny, NoCondAssignConfig] | [AllowWarnDeny, NoConsoleConfig] | [AllowWarnDeny, NoConstantBinaryExpressionConfig] | [AllowWarnDeny, NoConstantCondition] | [AllowWarnDeny, NoDuplicateImports] | [AllowWarnDeny, NoElseReturn] | [AllowWarnDeny, NoEmpty] | [AllowWarnDeny, NoEmptyFunctionConfig] | [AllowWarnDeny, NoEmptyPattern] | [AllowWarnDeny, NoEval] | [AllowWarnDeny, NoExtendNativeConfig] | [AllowWarnDeny, NoExtraBooleanCast] | [AllowWarnDeny, NoFallthroughConfig] | [AllowWarnDeny, NoGlobalAssignConfig] | [AllowWarnDeny, NoImplicitCoercionConfig] | [AllowWarnDeny, NoImplicitGlobalsConfig] | [AllowWarnDeny, NoInlineCommentsConfig] | [AllowWarnDeny, NoInnerDeclarationsConfig] | [AllowWarnDeny, NoInnerDeclarationsConfig, NoInnerDeclarationsOptions] | [AllowWarnDeny, NoInvalidRegexpConfig] | [AllowWarnDeny, NoIrregularWhitespaceConfig] | [AllowWarnDeny, NoLabels] | [AllowWarnDeny, NoMagicNumbersConfig] | [AllowWarnDeny, NoMisleadingCharacterClass] | [AllowWarnDeny, NoMultiAssign] | [AllowWarnDeny, NoParamReassignConfig] | [AllowWarnDeny, NoPlusplus] | [AllowWarnDeny, NoPromiseExecutorReturnConfig] | [AllowWarnDeny, NoRedeclare] | [AllowWarnDeny, NoRestrictedExportsConfig] | [AllowWarnDeny, ...NoRestrictedGlobalsConfigEnum[]] | [AllowWarnDeny, ...NoRestrictedImportsConfigEnum[]] | [AllowWarnDeny, ...PropertyDetails[]] | [AllowWarnDeny, NoReturnAssignMode] | [AllowWarnDeny, NoSelfAssign] | [AllowWarnDeny, NoSequences] | [AllowWarnDeny, NoShadowConfig] | [AllowWarnDeny, NoShadowRestrictedNamesConfig] | [AllowWarnDeny, NoUndef] | [AllowWarnDeny, NoUnderscoreDangleConfig] | [AllowWarnDeny, NoUnmodifiedLoopCondition] | [AllowWarnDeny, NoUnneededTernary] | [AllowWarnDeny, NoUnreachableLoopConfig] | [AllowWarnDeny, NoUnsafeNegation] | [AllowWarnDeny, NoUnsafeOptionalChaining] | [AllowWarnDeny, NoUnusedExpressionsConfig] | [AllowWarnDeny, NoUnusedVarsConfig] | [AllowWarnDeny, NoUseBeforeDefineConfigJson] | [AllowWarnDeny, NoUselessComputedKey] | [AllowWarnDeny, NoUselessEscapeConfig] | [AllowWarnDeny, NoUselessRenameConfig] | [AllowWarnDeny, NoVoid] | [AllowWarnDeny, NoWarningCommentsConfig] | [AllowWarnDeny, CallbackReturn] | [AllowWarnDeny, ExportsStyleMode] | [AllowWarnDeny, ExportsStyleMode, ExportsStyleOptions] | [AllowWarnDeny, HandleCallbackErrConfig] | [AllowWarnDeny, NoMixedRequiresConfig] | [AllowWarnDeny, NoProcessEnvConfig] | [AllowWarnDeny, NoSyncConfig] | [AllowWarnDeny, NoTopLevelAwaitConfig] | [AllowWarnDeny, ShorthandType] | [AllowWarnDeny, ShorthandType, ObjectShorthandOptions] | [AllowWarnDeny, OneVar] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, NoAsyncEndpointHandlersConfig] | [AllowWarnDeny, NoBarrelFile] | [AllowWarnDeny, NoMapSpreadConfig] | [AllowWarnDeny, NoOptionalChainingConfig] | [AllowWarnDeny, NoRestSpreadPropertiesOptions] | [AllowWarnDeny, PreferArrowCallbackConfig] | [AllowWarnDeny, PreferConstConfig] | [AllowWarnDeny, PreferDestructuringOption] | [AllowWarnDeny, PreferDestructuringOption, PreferDestructuringEnforcementConfig] | [AllowWarnDeny, PreferPromiseRejectErrors] | [AllowWarnDeny, PreferRegexLiteralsConfig] | [AllowWarnDeny, PreserveCaughtErrorOptions] | [AllowWarnDeny, AlwaysReturnConfig] | [AllowWarnDeny, CatchOrReturnConfig] | [AllowWarnDeny, NoCallbackInPromiseConfig] | [AllowWarnDeny, NoPromiseInCallbackConfig] | [AllowWarnDeny, NoReturnWrap] | [AllowWarnDeny, ParamNamesConfig] | [AllowWarnDeny, PreferAwaitToThenConfig] | [AllowWarnDeny, SpecOnlyConfig] | [AllowWarnDeny, RadixType] | [AllowWarnDeny, ReactPerfConfig] | [AllowWarnDeny, ButtonHasType] | [AllowWarnDeny, CheckedRequiresOnchangeOrReadonly] | [AllowWarnDeny, DisplayNameConfig] | [AllowWarnDeny, ExhaustiveDepsConfig] | [AllowWarnDeny, ForbidComponentPropsConfig] | [AllowWarnDeny, ForbidDomPropsConfig] | [AllowWarnDeny, ForbidElementsConfig] | [AllowWarnDeny, FunctionComponentDefinitionConfig] | [AllowWarnDeny, HookUseStateConfig] | [AllowWarnDeny, EnforceBooleanAttribute] | [AllowWarnDeny, EnforceBooleanAttribute, JsxBooleanValueOptions] | [AllowWarnDeny, JsxCurlyBracePresenceConfig] | [AllowWarnDeny, JsxFilenameExtensionConfig] | [AllowWarnDeny, FragmentMode] | [AllowWarnDeny, JsxHandlerNamesConfig] | [AllowWarnDeny, JsxKeyConfig] | [AllowWarnDeny, JsxMaxDepthConfig] | [AllowWarnDeny, JsxNoLiteralsConfig] | [AllowWarnDeny, JsxNoScriptUrlComponent[]] | [AllowWarnDeny, JsxNoScriptUrlComponent[], JsxNoScriptUrlOptions] | [AllowWarnDeny, JsxNoScriptUrlOptions] | [AllowWarnDeny, JsxNoTargetBlank] | [AllowWarnDeny, JsxNoUselessFragment] | [AllowWarnDeny, JsxPascalCaseConfig] | [AllowWarnDeny, JsxPropsNoSpreadingConfig] | [AllowWarnDeny, AllowedOrDisallowInFunc] | [AllowWarnDeny, NoMultiCompConfig] | [AllowWarnDeny, NoStringRefs] | [AllowWarnDeny, NoUnknownPropertyConfig] | [AllowWarnDeny, NoUnsafeConfig] | [AllowWarnDeny, NoUnstableNestedComponentsConfig] | [AllowWarnDeny, OnlyExportComponentsConfig] | [AllowWarnDeny, PreferFunctionComponent] | [AllowWarnDeny, SelfClosingComp] | [AllowWarnDeny, StylePropObjectConfig] | [AllowWarnDeny, RequireUnicodeRegexpConfig] | [AllowWarnDeny, SortImportsOptions] | [AllowWarnDeny, SortOrder] | [AllowWarnDeny, SortOrder, SortKeysOptions] | [AllowWarnDeny, SortVars] | [AllowWarnDeny, ArrayTypeConfig] | [AllowWarnDeny, BanTsCommentConfig] | [AllowWarnDeny, ClassLiteralPropertyStyleOption] | [AllowWarnDeny, PreferGenericType] | [AllowWarnDeny, ConsistentIndexedObjectStyleConfig] | [AllowWarnDeny, ConsistentReturnConfig] | [AllowWarnDeny, ConsistentTypeAssertionsConfig] | [AllowWarnDeny, ConsistentTypeDefinitionsConfig] | [AllowWarnDeny, ConsistentTypeExportsConfig] | [AllowWarnDeny, ConsistentTypeImportsConfig] | [AllowWarnDeny, DotNotationConfig] | [AllowWarnDeny, ExplicitFunctionReturnTypeConfig] | [AllowWarnDeny, ExplicitMemberAccessibilityConfig] | [AllowWarnDeny, ExplicitModuleBoundaryTypesConfig] | [AllowWarnDeny, MethodSignatureStyleConfig] | [AllowWarnDeny, NoBaseToStringConfig] | [AllowWarnDeny, NoConfusingVoidExpressionConfig] | [AllowWarnDeny, NoDeprecatedConfig] | [AllowWarnDeny, NoDuplicateTypeConstituentsConfig] | [AllowWarnDeny, NoEmptyInterface] | [AllowWarnDeny, NoEmptyObjectTypeConfig] | [AllowWarnDeny, NoExplicitAny] | [AllowWarnDeny, NoExtraneousClass] | [AllowWarnDeny, NoFloatingPromisesConfig] | [AllowWarnDeny, NoInferrableTypes] | [AllowWarnDeny, NoInvalidVoidTypeConfig] | [AllowWarnDeny, NoMeaninglessVoidOperatorConfig] | [AllowWarnDeny, NoMisusedPromisesConfig] | [AllowWarnDeny, NoMisusedSpreadConfig] | [AllowWarnDeny, NoNamespace] | [AllowWarnDeny, NoRequireImportsConfig] | [AllowWarnDeny, NoRestrictedTypesConfig] | [AllowWarnDeny, NoThisAliasConfig] | [AllowWarnDeny, NoUnnecessaryBooleanLiteralCompareConfig] | [AllowWarnDeny, NoUnnecessaryConditionConfig] | [AllowWarnDeny, NoUnnecessaryTypeAssertionConfig] | [AllowWarnDeny, NoUnsafeMemberAccessConfig] | [AllowWarnDeny, OnlyThrowErrorConfig] | [AllowWarnDeny, ParameterPropertiesConfig] | [AllowWarnDeny, PreferLiteralEnumMember] | [AllowWarnDeny, PreferNullishCoalescingConfig] | [AllowWarnDeny, PreferOptionalChainConfig] | [AllowWarnDeny, PreferPromiseRejectErrorsConfig] | [AllowWarnDeny, PreferReadonlyConfig] | [AllowWarnDeny, PreferReadonlyParameterTypesConfig] | [AllowWarnDeny, PreferStringStartsEndsWithConfig] | [AllowWarnDeny, PromiseFunctionAsyncConfig] | [AllowWarnDeny, RequireArraySortCompareConfig] | [AllowWarnDeny, RestrictPlusOperandsConfig] | [AllowWarnDeny, RestrictTemplateExpressionsConfig] | [AllowWarnDeny, ReturnAwaitOption] | [AllowWarnDeny, StrictBooleanExpressionsConfig] | [AllowWarnDeny, StrictVoidReturnConfig] | [AllowWarnDeny, SwitchExhaustivenessCheckConfig] | [AllowWarnDeny, TripleSlashReferenceConfig] | [AllowWarnDeny, UnboundMethodConfig] | [AllowWarnDeny, UnifiedSignaturesOptions] | [AllowWarnDeny, BomOptionType] | [AllowWarnDeny, CatchErrorNameConfig] | [AllowWarnDeny, ConsistentFunctionScoping] | [AllowWarnDeny, ExplicitLengthCheck] | [AllowWarnDeny, ExplicitTimerDelayMode] | [AllowWarnDeny, ImportStyleConfig] | [AllowWarnDeny, MaxNestedCalls] | [AllowWarnDeny, NoArrayReduce] | [AllowWarnDeny, NoArrayReverse] | [AllowWarnDeny, NoArraySort] | [AllowWarnDeny, NoInstanceofBuiltinsConfig] | [AllowWarnDeny, NoNull] | [AllowWarnDeny, NoTypeofUndefined] | [AllowWarnDeny, NoUselessPromiseResolveRejectOptions] | [AllowWarnDeny, NoUselessUndefined] | [AllowWarnDeny, NumericSeparatorsStyleConfig] | [AllowWarnDeny, PreferAtConfig] | [AllowWarnDeny, PreferExportFrom] | [AllowWarnDeny, PreferNumberPropertiesConfig] | [AllowWarnDeny, PreferObjectFromEntriesConfig] | [AllowWarnDeny, PreferQuerySelector] | [AllowWarnDeny, PreferSingleCallConfig] | [AllowWarnDeny, PreferStructuredCloneConfig] | [AllowWarnDeny, PreferTernaryOption] | [AllowWarnDeny, RelativeUrlStyleConfig] | [AllowWarnDeny, SwitchCaseBracesConfig] | [AllowWarnDeny, TextEncodingIdentifierCase] | [AllowWarnDeny, UseIsnan] | [AllowWarnDeny, ValidTypeof] | [AllowWarnDeny, ConsistentEachForJson] | [AllowWarnDeny, ConsistentTestFilenameConfig] | [AllowWarnDeny, ConsistentVitestConfig] | [AllowWarnDeny, PreferImportInMockConfig] | [AllowWarnDeny, RequireMockTypeParametersConfig] | [AllowWarnDeny, CaseType] | [AllowWarnDeny, DeclarationStyle] | [AllowWarnDeny, DeclarationStyle2] | [AllowWarnDeny, DefinePropsDestructuring] | [AllowWarnDeny, MaxProps] | [AllowWarnDeny, NextTickOption] | [AllowWarnDeny, NoAsyncInComputedPropertiesConfig] | [AllowWarnDeny, NoDeprecatedModelDefinitionConfig] | [AllowWarnDeny, NoDupeKeysConfig] | [AllowWarnDeny, NoReservedComponentNames] | [AllowWarnDeny, NoReservedKeysConfig] | [AllowWarnDeny, NoReservedPropsConfig] | [AllowWarnDeny, CaseType2] | [AllowWarnDeny, CaseType2, Options] | [AllowWarnDeny, RequireDirectExport] | [AllowWarnDeny, ReturnInComputedPropertyConfig] | [AllowWarnDeny, AllowYoda] | [AllowWarnDeny, AllowYoda, YodaOptions] | undefined;
|
|
1711
1711
|
}
|
|
1712
1712
|
interface AccessorPairsConfig {
|
|
1713
1713
|
/**
|
|
@@ -6558,6 +6558,13 @@ interface PreferObjectFromEntriesConfig {
|
|
|
6558
6558
|
*/
|
|
6559
6559
|
functions?: string[];
|
|
6560
6560
|
}
|
|
6561
|
+
interface PreferQuerySelector {
|
|
6562
|
+
/**
|
|
6563
|
+
* When set to `true`, allows using `.getElementById()` and `.getElementsByClassName()` when called with a variable or expression.
|
|
6564
|
+
* This avoids the need to manually compose a CSS selector string, which can be less readable.
|
|
6565
|
+
*/
|
|
6566
|
+
allowWithVariables?: boolean;
|
|
6567
|
+
}
|
|
6561
6568
|
interface PreferSingleCallConfig {
|
|
6562
6569
|
/**
|
|
6563
6570
|
* Methods to ignore.
|
package/dist/lint.js
CHANGED
|
@@ -738,7 +738,7 @@ function initCommentsBuffer() {
|
|
|
738
738
|
return;
|
|
739
739
|
}
|
|
740
740
|
let arrayBuffer = buffer.buffer, absolutePos = buffer.byteOffset + commentsPos;
|
|
741
|
-
if (commentsUint8 = new Uint8Array(arrayBuffer, absolutePos, commentsLen *
|
|
741
|
+
if (commentsUint8 = new Uint8Array(arrayBuffer, absolutePos, commentsLen * 24), commentsInt32 = new Int32Array(arrayBuffer, absolutePos, commentsLen * 6), cachedComments.length < commentsLen) {
|
|
742
742
|
do
|
|
743
743
|
cachedComments.push(new Comment());
|
|
744
744
|
while (cachedComments.length < commentsLen);
|
|
@@ -771,10 +771,10 @@ function getComment(index) {
|
|
|
771
771
|
* @returns `Comment` object if newly deserialized, or `null` if already deserialized
|
|
772
772
|
*/
|
|
773
773
|
function deserializeCommentIfNeeded(index) {
|
|
774
|
-
let pos = index
|
|
774
|
+
let pos = index * 24, flagPos = pos + 20;
|
|
775
775
|
if (commentsUint8[flagPos] !== 0) return null;
|
|
776
776
|
commentsUint8[flagPos] = 1;
|
|
777
|
-
let comment = cachedComments[index], kind = commentsUint8[pos +
|
|
777
|
+
let comment = cachedComments[index], kind = commentsUint8[pos + 17], isBlock = kind !== 0 && kind < 3, pos32 = pos >> 2, start = commentsInt32[pos32], end = commentsInt32[pos32 + 1];
|
|
778
778
|
return comment.type = isBlock ? "Block" : "Line", comment.value = sourceText.slice(start + (kind < 3 ? 2 : kind), end - (isBlock << 1)), comment.range[0] = comment.start = start, comment.range[1] = comment.end = end, comment;
|
|
779
779
|
}
|
|
780
780
|
/**
|
|
@@ -5557,12 +5557,12 @@ let tokensAndComments = null, previousTokensAndComments = [], tokensAndCommentsI
|
|
|
5557
5557
|
*
|
|
5558
5558
|
* Creates a buffer containing tokens and comments interleaved in ascending order of `start`.
|
|
5559
5559
|
*
|
|
5560
|
-
*
|
|
5560
|
+
* Tokens and comments use their own strides, with `start` as the first `u32`.
|
|
5561
5561
|
*
|
|
5562
5562
|
* `tokensAndCommentsInt32` contains 16-byte entries with the layout:
|
|
5563
5563
|
* `{ start: u32, index: u32, type: u32, 4 bytes padding }`.
|
|
5564
5564
|
*
|
|
5565
|
-
* `index` is the index of the token/comment within its original buffer
|
|
5565
|
+
* `index` is the index of the token/comment within its original buffer.
|
|
5566
5566
|
*/
|
|
5567
5567
|
function initTokensAndCommentsBuffer() {
|
|
5568
5568
|
tokensInt32 === null && initTokensBuffer(), commentsInt32 === null && initCommentsBuffer(), tokensAndCommentsLen = tokensLen + commentsLen;
|
|
@@ -5583,7 +5583,7 @@ function mergeTokensAndComments(tokensInt32, commentsInt32) {
|
|
|
5583
5583
|
fillMergedEntries(0, tokensInt32, mergedPos32, tokenIndex, tokensLen);
|
|
5584
5584
|
return;
|
|
5585
5585
|
}
|
|
5586
|
-
commentStart = commentsInt32[commentIndex
|
|
5586
|
+
commentStart = commentsInt32[commentIndex * 6];
|
|
5587
5587
|
}
|
|
5588
5588
|
for (;;) {
|
|
5589
5589
|
do {
|
|
@@ -5598,7 +5598,7 @@ function mergeTokensAndComments(tokensInt32, commentsInt32) {
|
|
|
5598
5598
|
fillMergedEntries(0, tokensInt32, mergedPos32, tokenIndex, tokensLen);
|
|
5599
5599
|
return;
|
|
5600
5600
|
}
|
|
5601
|
-
commentStart = commentsInt32[commentIndex
|
|
5601
|
+
commentStart = commentsInt32[commentIndex * 6];
|
|
5602
5602
|
} while (commentStart < tokenStart);
|
|
5603
5603
|
}
|
|
5604
5604
|
}
|
|
@@ -5613,8 +5613,8 @@ function writeMergedEntry(type, mergedPos32, originalIndex, start) {
|
|
|
5613
5613
|
* Used for fast paths and for appending remaining items after the merge loop.
|
|
5614
5614
|
*/
|
|
5615
5615
|
function fillMergedEntries(type, srcInt32, mergedPos32, srcIndex, srcLen) {
|
|
5616
|
-
let srcPos32 = srcIndex
|
|
5617
|
-
for (; srcIndex < srcLen; srcIndex++) tokensAndCommentsInt32[mergedPos32] = srcInt32[srcPos32], tokensAndCommentsInt32[mergedPos32 + 1] = srcIndex, tokensAndCommentsInt32[mergedPos32 + 2] = type, mergedPos32 += 4, srcPos32 +=
|
|
5616
|
+
let srcSize32 = type === 0 ? 4 : 6, srcPos32 = srcIndex * srcSize32;
|
|
5617
|
+
for (; srcIndex < srcLen; srcIndex++) tokensAndCommentsInt32[mergedPos32] = srcInt32[srcPos32], tokensAndCommentsInt32[mergedPos32 + 1] = srcIndex, tokensAndCommentsInt32[mergedPos32 + 2] = type, mergedPos32 += 4, srcPos32 += srcSize32;
|
|
5618
5618
|
}
|
|
5619
5619
|
/**
|
|
5620
5620
|
* Get token or comment from the merged buffer at `index`.
|
|
@@ -5635,8 +5635,8 @@ function getTokenOrComment(index) {
|
|
|
5635
5635
|
* @returns The `end` offset of the token/comment in source text
|
|
5636
5636
|
*/
|
|
5637
5637
|
function getTokenOrCommentEnd(entryIndex) {
|
|
5638
|
-
let pos32 = entryIndex << 2,
|
|
5639
|
-
return tokensAndCommentsInt32[pos32 + 2] === 0 ? tokensInt32[
|
|
5638
|
+
let pos32 = entryIndex << 2, originalIndex = tokensAndCommentsInt32[pos32 + 1];
|
|
5639
|
+
return tokensAndCommentsInt32[pos32 + 2] === 0 ? tokensInt32[(originalIndex << 2) + 1] : commentsInt32[originalIndex * 6 + 1];
|
|
5640
5640
|
}
|
|
5641
5641
|
/**
|
|
5642
5642
|
* Get all tokens and comments in source order.
|
|
@@ -5747,12 +5747,12 @@ function getCommentsInside(node) {
|
|
|
5747
5747
|
let { range } = node, rangeStart = range[0], rangeEnd = range[1], sliceStart = 0;
|
|
5748
5748
|
for (let endIndex = commentsLen; sliceStart < endIndex;) {
|
|
5749
5749
|
let mid = sliceStart + endIndex >> 1;
|
|
5750
|
-
commentsInt32[mid
|
|
5750
|
+
commentsInt32[mid * 6] < rangeStart ? sliceStart = mid + 1 : endIndex = mid;
|
|
5751
5751
|
}
|
|
5752
5752
|
let sliceEnd = sliceStart;
|
|
5753
5753
|
for (let endIndex = commentsLen; sliceEnd < endIndex;) {
|
|
5754
5754
|
let mid = sliceEnd + endIndex >> 1;
|
|
5755
|
-
commentsInt32[mid
|
|
5755
|
+
commentsInt32[mid * 6] < rangeEnd ? sliceEnd = mid + 1 : endIndex = mid;
|
|
5756
5756
|
}
|
|
5757
5757
|
for (let i = sliceStart; i < sliceEnd; i++) getComment(i);
|
|
5758
5758
|
return cachedComments.slice(sliceStart, sliceEnd);
|
|
@@ -5768,9 +5768,9 @@ function commentsExistBetween(nodeOrToken1, nodeOrToken2) {
|
|
|
5768
5768
|
let betweenRangeStart = nodeOrToken1.range[1], firstCommentBetween = 0;
|
|
5769
5769
|
for (let endIndex = commentsLen; firstCommentBetween < endIndex;) {
|
|
5770
5770
|
let mid = firstCommentBetween + endIndex >> 1;
|
|
5771
|
-
commentsInt32[mid
|
|
5771
|
+
commentsInt32[mid * 6] < betweenRangeStart ? firstCommentBetween = mid + 1 : endIndex = mid;
|
|
5772
5772
|
}
|
|
5773
|
-
return firstCommentBetween < commentsLen && commentsInt32[
|
|
5773
|
+
return firstCommentBetween < commentsLen && commentsInt32[firstCommentBetween * 6 + 1] <= nodeOrToken2.range[0];
|
|
5774
5774
|
}
|
|
5775
5775
|
/**
|
|
5776
5776
|
* Retrieve the JSDoc comment for a given node.
|
|
@@ -11550,11 +11550,8 @@ var require_eslint_visitor_keys = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11550
11550
|
let typeParameter = node.typeParameter, scope = this.#referencer.currentScope();
|
|
11551
11551
|
if (scope.type === scope_1.ScopeType.functionType || scope.type === scope_1.ScopeType.mappedType) {
|
|
11552
11552
|
let currentScope = scope.upper;
|
|
11553
|
-
for (; currentScope;)
|
|
11554
|
-
|
|
11555
|
-
currentScope = currentScope.upper;
|
|
11556
|
-
continue;
|
|
11557
|
-
}
|
|
11553
|
+
for (; currentScope;) if (currentScope.type === scope_1.ScopeType.functionType || currentScope.type === scope_1.ScopeType.mappedType) currentScope = currentScope.upper;
|
|
11554
|
+
else {
|
|
11558
11555
|
if (currentScope.type === scope_1.ScopeType.conditionalType) {
|
|
11559
11556
|
scope = currentScope;
|
|
11560
11557
|
break;
|
|
@@ -11806,11 +11803,8 @@ var require_eslint_visitor_keys = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11806
11803
|
let scope = this.scopeManager.currentScope;
|
|
11807
11804
|
for (; scope;) {
|
|
11808
11805
|
let variable = scope.set.get(name);
|
|
11809
|
-
if (!variable)
|
|
11810
|
-
|
|
11811
|
-
continue;
|
|
11812
|
-
}
|
|
11813
|
-
return scope.referenceValue(variable.identifiers[0]), !0;
|
|
11806
|
+
if (!variable) scope = scope.upper;
|
|
11807
|
+
else return scope.referenceValue(variable.identifiers[0]), !0;
|
|
11814
11808
|
}
|
|
11815
11809
|
return !1;
|
|
11816
11810
|
}
|
|
@@ -14282,7 +14276,7 @@ function resetSettings() {
|
|
|
14282
14276
|
}
|
|
14283
14277
|
//#endregion
|
|
14284
14278
|
//#region package.json
|
|
14285
|
-
var version = "1.
|
|
14279
|
+
var version = "1.88.0";
|
|
14286
14280
|
//#endregion
|
|
14287
14281
|
//#region src-js/plugins/context.ts
|
|
14288
14282
|
const ObjectFreeze$1 = Object.freeze, ObjectCreate = Object.create, ObjectAssign = Object.assign, ObjectPreventExtensions = Object.preventExtensions;
|
|
@@ -17197,7 +17191,7 @@ var require_uri_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
17197
17191
|
} },
|
|
17198
17192
|
additionalProperties: !1
|
|
17199
17193
|
};
|
|
17200
|
-
})),
|
|
17194
|
+
})), require_ajv = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17201
17195
|
var compileSchema = require_compile(), resolve = require_resolve(), Cache = require_cache(), SchemaObject = require_schema_obj(), stableStringify = require_fast_json_stable_stringify(), formats = require_formats(), rules = require_rules(), $dataMetaSchema = require_data$1(), util = require_util();
|
|
17202
17196
|
module.exports = Ajv, Ajv.prototype.validate = validate, Ajv.prototype.compile = compile, Ajv.prototype.addSchema = addSchema, Ajv.prototype.addMetaSchema = addMetaSchema, Ajv.prototype.validateSchema = validateSchema, Ajv.prototype.getSchema = getSchema, Ajv.prototype.removeSchema = removeSchema, Ajv.prototype.addFormat = addFormat, Ajv.prototype.errorsText = errorsText, Ajv.prototype._addSchema = _addSchema, Ajv.prototype._compile = _compile, Ajv.prototype.compileAsync = require_async();
|
|
17203
17197
|
var customKeyword = require_keyword();
|
|
@@ -17490,7 +17484,7 @@ var require_uri_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
17490
17484
|
}
|
|
17491
17485
|
}
|
|
17492
17486
|
function noop() {}
|
|
17493
|
-
}))
|
|
17487
|
+
})), json_schema_draft_04_default = {
|
|
17494
17488
|
id: "http://json-schema.org/draft-04/schema#",
|
|
17495
17489
|
$schema: "http://json-schema.org/draft-04/schema#",
|
|
17496
17490
|
description: "Core schema meta-schema",
|
|
@@ -17611,9 +17605,7 @@ var require_uri_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
17611
17605
|
exclusiveMinimum: ["minimum"]
|
|
17612
17606
|
},
|
|
17613
17607
|
default: {}
|
|
17614
|
-
};
|
|
17615
|
-
//#endregion
|
|
17616
|
-
//#region src-js/plugins/workspace.ts
|
|
17608
|
+
}, import_ajv = /* @__PURE__ */ __toESM(require_ajv(), 1);
|
|
17617
17609
|
function switchWorkspace(workspaceUri) {
|
|
17618
17610
|
if (currentWorkspaceUri === workspaceUri) return;
|
|
17619
17611
|
let workspace = workspaces.get(workspaceUri);
|
|
@@ -17987,7 +17979,7 @@ function conformHookFn(hookFn, hookName) {
|
|
|
17987
17979
|
return hookFn;
|
|
17988
17980
|
}
|
|
17989
17981
|
//#endregion
|
|
17990
|
-
//#region ../../node_modules/.pnpm/eslint@10.
|
|
17982
|
+
//#region ../../node_modules/.pnpm/eslint@10.12.0/node_modules/eslint/lib/shared/assert.js
|
|
17991
17983
|
/**
|
|
17992
17984
|
* @fileoverview Assertion utilities equivalent to the Node.js node:asserts module.
|
|
17993
17985
|
* @author Josh Goldberg
|
|
@@ -20030,11 +20022,7 @@ var require_assert = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
20030
20022
|
}
|
|
20031
20023
|
for (; stack.length > 0;) {
|
|
20032
20024
|
if (record = stack.at(-1), segment = record[0], index = record[1], index === 0) {
|
|
20033
|
-
if (visited.has(segment)) {
|
|
20034
|
-
stack.pop();
|
|
20035
|
-
continue;
|
|
20036
|
-
}
|
|
20037
|
-
if (segment !== startSegment && segment.prevSegments.length > 0 && !segment.prevSegments.every(isVisited)) {
|
|
20025
|
+
if (visited.has(segment) || segment !== startSegment && segment.prevSegments.length > 0 && !segment.prevSegments.every(isVisited)) {
|
|
20038
20026
|
stack.pop();
|
|
20039
20027
|
continue;
|
|
20040
20028
|
}
|
|
@@ -23651,24 +23639,23 @@ function addVisitorToCompiled(visitor, timing) {
|
|
|
23651
23639
|
let visitProp = visitPropsCache[visitPropsCacheNextIndex++];
|
|
23652
23640
|
visitProp.fn = timing === void 0 ? visitFn : wrapTimedFunction(visitFn, timing), visitProp.specificity = specificity, visitProp.selectorStr = name;
|
|
23653
23641
|
let typeId = NODE_TYPE_IDS_MAP.get(name);
|
|
23654
|
-
if (typeId !== void 0)
|
|
23655
|
-
|
|
23656
|
-
|
|
23657
|
-
|
|
23658
|
-
|
|
23659
|
-
|
|
23660
|
-
|
|
23661
|
-
|
|
23662
|
-
|
|
23663
|
-
|
|
23664
|
-
|
|
23665
|
-
|
|
23642
|
+
if (typeId !== void 0) visitProp.specificity |= 1, typeId < 27 ? addLeafVisitFn(typeId, visitProp) : typeId < 165 ? addNonLeafVisitFn(typeId, visitProp, isExit) : addCfgVisitFn(typeId, visitProp, isExit);
|
|
23643
|
+
else {
|
|
23644
|
+
if (name !== "*") {
|
|
23645
|
+
let selector = parseSelector(name);
|
|
23646
|
+
visitProp.specificity |= selector.specificity, selector.isComplex && (visitProp.fn = wrapVisitFnWithSelectorMatch(visitFn, selector.esquerySelector), timing !== void 0 && (visitProp.fn = wrapTimedFunction(visitProp.fn, timing)));
|
|
23647
|
+
let { typeIds } = selector;
|
|
23648
|
+
if (typeIds !== null) {
|
|
23649
|
+
for (let i = 0, len = typeIds.length; i < len; i++) {
|
|
23650
|
+
let typeId = typeIds[i];
|
|
23651
|
+
typeId < 27 ? addLeafVisitFn(typeId, visitProp) : addNonLeafVisitFn(typeId, visitProp, isExit);
|
|
23652
|
+
}
|
|
23653
|
+
continue;
|
|
23666
23654
|
}
|
|
23667
|
-
continue;
|
|
23668
23655
|
}
|
|
23656
|
+
for (typeId = 0; typeId < 27; typeId++) addLeafVisitFn(typeId, visitProp);
|
|
23657
|
+
for (; typeId < 165; typeId++) addNonLeafVisitFn(typeId, visitProp, isExit);
|
|
23669
23658
|
}
|
|
23670
|
-
for (typeId = 0; typeId < 27; typeId++) addLeafVisitFn(typeId, visitProp);
|
|
23671
|
-
for (; typeId < 165; typeId++) addNonLeafVisitFn(typeId, visitProp, isExit);
|
|
23672
23659
|
}
|
|
23673
23660
|
}
|
|
23674
23661
|
/**
|
package/dist/plugins-dev.d.ts
CHANGED
|
@@ -3434,7 +3434,10 @@ declare function isSpaceBetweenTokens(first: NodeOrToken, second: NodeOrToken):
|
|
|
3434
3434
|
* Note: Source text is limited to 1 GiB max, so number of tokens cannot exceed 2^30.
|
|
3435
3435
|
* This makes it safe to use `>> 1` for division by 2 below (which is faster than `>>> 1`).
|
|
3436
3436
|
*
|
|
3437
|
-
*
|
|
3437
|
+
* This function is inlined into call sites by `inline_search` TSDown plugin.
|
|
3438
|
+
* All call sites must have `TOKEN_SIZE32_SHIFT` const in scope.
|
|
3439
|
+
*
|
|
3440
|
+
* @param int32 - `Int32Array` buffer (tokens or tokensAndComments)
|
|
3438
3441
|
* @param offset - Source offset to search for
|
|
3439
3442
|
* @param startIndex - Starting entry index for the search
|
|
3440
3443
|
* @param length - Total number of entries in the buffer
|
|
@@ -4307,4 +4310,5 @@ export declare namespace RuleTester {
|
|
|
4307
4310
|
type Error = _Error;
|
|
4308
4311
|
type ErrorSuggestion = _ErrorSuggestion;
|
|
4309
4312
|
}
|
|
4310
|
-
//#endregion
|
|
4313
|
+
//#endregion
|
|
4314
|
+
export {};
|
package/dist/plugins-dev.js
CHANGED
|
@@ -401,11 +401,7 @@ function runFixes(diagnostics, code) {
|
|
|
401
401
|
* @throws {AssertionError} If `message` / `messageId` is not correct
|
|
402
402
|
*/
|
|
403
403
|
function assertInvalidTestCaseMessageIsCorrect(diagnostic, error, messages) {
|
|
404
|
-
|
|
405
|
-
assert(!ObjectHasOwn(error, "messageId"), "Error should not specify both `message` and a `messageId`"), assert(!ObjectHasOwn(error, "data"), "Error should not specify both `data` and `message`"), assertMessageMatches(diagnostic.message, error.message);
|
|
406
|
-
return;
|
|
407
|
-
}
|
|
408
|
-
assert(ObjectHasOwn(error, "messageId"), "Test error must specify either a `messageId` or `message`"), assertMessageIdIsCorrect(diagnostic.messageId, diagnostic.message, error.messageId, error.data, messages, "");
|
|
404
|
+
ObjectHasOwn(error, "message") ? (assert(!ObjectHasOwn(error, "messageId"), "Error should not specify both `message` and a `messageId`"), assert(!ObjectHasOwn(error, "data"), "Error should not specify both `data` and `message`"), assertMessageMatches(diagnostic.message, error.message)) : (assert(ObjectHasOwn(error, "messageId"), "Test error must specify either a `messageId` or `message`"), assertMessageIdIsCorrect(diagnostic.messageId, diagnostic.message, error.messageId, error.data, messages, ""));
|
|
409
405
|
}
|
|
410
406
|
/**
|
|
411
407
|
* Assert that a `messageId` used by the rule under test is correct, and validate `data` (if provided).
|
|
@@ -471,15 +467,7 @@ function assertSuggestionsAreCorrect(diagnostic, error, messages, test) {
|
|
|
471
467
|
* @throws {AssertionError} If suggestion message does not match
|
|
472
468
|
*/
|
|
473
469
|
function assertSuggestionMessageIsCorrect(actual, expected, messages, prefix) {
|
|
474
|
-
|
|
475
|
-
assert(!ObjectHasOwn(expected, "messageId"), `${prefix}: Test should not specify both \`desc\` and \`messageId\``), assert(!ObjectHasOwn(expected, "data"), `${prefix}: Test should not specify both \`desc\` and \`data\``), assert.strictEqual(actual.message, expected.desc, `${prefix}: \`desc\` should be "${expected.desc}" but got "${actual.message}" instead`);
|
|
476
|
-
return;
|
|
477
|
-
}
|
|
478
|
-
if (ObjectHasOwn(expected, "messageId")) {
|
|
479
|
-
assertMessageIdIsCorrect(actual.messageId, actual.message, expected.messageId, expected.data, messages, `${prefix}: `);
|
|
480
|
-
return;
|
|
481
|
-
}
|
|
482
|
-
ObjectHasOwn(expected, "data") && assert.fail(`${prefix}: Test must specify \`messageId\` if \`data\` is used`), assert.fail(`${prefix}: Test must specify either \`messageId\` or \`desc\``);
|
|
470
|
+
ObjectHasOwn(expected, "desc") ? (assert(!ObjectHasOwn(expected, "messageId"), `${prefix}: Test should not specify both \`desc\` and \`messageId\``), assert(!ObjectHasOwn(expected, "data"), `${prefix}: Test should not specify both \`desc\` and \`data\``), assert.strictEqual(actual.message, expected.desc, `${prefix}: \`desc\` should be "${expected.desc}" but got "${actual.message}" instead`)) : ObjectHasOwn(expected, "messageId") ? assertMessageIdIsCorrect(actual.messageId, actual.message, expected.messageId, expected.data, messages, `${prefix}: `) : (ObjectHasOwn(expected, "data") && assert.fail(`${prefix}: Test must specify \`messageId\` if \`data\` is used`), assert.fail(`${prefix}: Test must specify either \`messageId\` or \`desc\``));
|
|
483
471
|
}
|
|
484
472
|
/**
|
|
485
473
|
* Assert that the number of errors reported for test case is as expected.
|
package/dist/workspace.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { createWorkspace, currentWorkspace, currentWorkspaceUri, destroyWorkspace, setCurrentWorkspace, workspaces };
|
|
1
|
+
export { t as createWorkspace, n as currentWorkspace, r as currentWorkspaceUri, i as destroyWorkspace, a as setCurrentWorkspace, o as workspaces } from "./workspace2.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxlint",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.88.0",
|
|
4
4
|
"description": "Linter for the JavaScript Oxidation Compiler",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -87,24 +87,24 @@
|
|
|
87
87
|
},
|
|
88
88
|
"preferUnplugged": true,
|
|
89
89
|
"optionalDependencies": {
|
|
90
|
-
"@oxlint/binding-darwin-arm64": "1.
|
|
91
|
-
"@oxlint/binding-android-arm64": "1.
|
|
92
|
-
"@oxlint/binding-win32-arm64-msvc": "1.
|
|
93
|
-
"@oxlint/binding-linux-arm64-gnu": "1.
|
|
94
|
-
"@oxlint/binding-linux-arm64-musl": "1.
|
|
95
|
-
"@oxlint/binding-openharmony-arm64": "1.
|
|
96
|
-
"@oxlint/binding-android-arm-eabi": "1.
|
|
97
|
-
"@oxlint/binding-linux-arm-gnueabihf": "1.
|
|
98
|
-
"@oxlint/binding-linux-arm-musleabihf": "1.
|
|
99
|
-
"@oxlint/binding-win32-ia32-msvc": "1.
|
|
100
|
-
"@oxlint/binding-linux-ppc64-gnu": "1.
|
|
101
|
-
"@oxlint/binding-linux-riscv64-gnu": "1.
|
|
102
|
-
"@oxlint/binding-linux-riscv64-musl": "1.
|
|
103
|
-
"@oxlint/binding-linux-s390x-gnu": "1.
|
|
104
|
-
"@oxlint/binding-darwin-x64": "1.
|
|
105
|
-
"@oxlint/binding-win32-x64-msvc": "1.
|
|
106
|
-
"@oxlint/binding-freebsd-x64": "1.
|
|
107
|
-
"@oxlint/binding-linux-x64-gnu": "1.
|
|
108
|
-
"@oxlint/binding-linux-x64-musl": "1.
|
|
90
|
+
"@oxlint/binding-darwin-arm64": "1.88.0",
|
|
91
|
+
"@oxlint/binding-android-arm64": "1.88.0",
|
|
92
|
+
"@oxlint/binding-win32-arm64-msvc": "1.88.0",
|
|
93
|
+
"@oxlint/binding-linux-arm64-gnu": "1.88.0",
|
|
94
|
+
"@oxlint/binding-linux-arm64-musl": "1.88.0",
|
|
95
|
+
"@oxlint/binding-openharmony-arm64": "1.88.0",
|
|
96
|
+
"@oxlint/binding-android-arm-eabi": "1.88.0",
|
|
97
|
+
"@oxlint/binding-linux-arm-gnueabihf": "1.88.0",
|
|
98
|
+
"@oxlint/binding-linux-arm-musleabihf": "1.88.0",
|
|
99
|
+
"@oxlint/binding-win32-ia32-msvc": "1.88.0",
|
|
100
|
+
"@oxlint/binding-linux-ppc64-gnu": "1.88.0",
|
|
101
|
+
"@oxlint/binding-linux-riscv64-gnu": "1.88.0",
|
|
102
|
+
"@oxlint/binding-linux-riscv64-musl": "1.88.0",
|
|
103
|
+
"@oxlint/binding-linux-s390x-gnu": "1.88.0",
|
|
104
|
+
"@oxlint/binding-darwin-x64": "1.88.0",
|
|
105
|
+
"@oxlint/binding-win32-x64-msvc": "1.88.0",
|
|
106
|
+
"@oxlint/binding-freebsd-x64": "1.88.0",
|
|
107
|
+
"@oxlint/binding-linux-x64-gnu": "1.88.0",
|
|
108
|
+
"@oxlint/binding-linux-x64-musl": "1.88.0"
|
|
109
109
|
}
|
|
110
110
|
}
|