oxlint 1.73.0 → 1.75.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/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.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
40
+ if (bindingPackageVersion !== "1.75.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.75.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.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
53
+ if (bindingPackageVersion !== "1.75.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.75.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);
@@ -64,7 +64,7 @@ function requireNative() {
64
64
  }
65
65
  try {
66
66
  let binding = require("@oxlint/binding-win32-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-win32-x64-gnu/package.json").version;
67
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
67
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
68
68
  return binding;
69
69
  } catch (e) {
70
70
  loadErrors.push(e);
@@ -77,7 +77,7 @@ function requireNative() {
77
77
  }
78
78
  try {
79
79
  let binding = require("@oxlint/binding-win32-x64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-x64-msvc/package.json").version;
80
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
80
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
81
81
  return binding;
82
82
  } catch (e) {
83
83
  loadErrors.push(e);
@@ -91,7 +91,7 @@ function requireNative() {
91
91
  }
92
92
  try {
93
93
  let binding = require("@oxlint/binding-win32-ia32-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-ia32-msvc/package.json").version;
94
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
94
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
95
95
  return binding;
96
96
  } catch (e) {
97
97
  loadErrors.push(e);
@@ -104,7 +104,7 @@ function requireNative() {
104
104
  }
105
105
  try {
106
106
  let binding = require("@oxlint/binding-win32-arm64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-arm64-msvc/package.json").version;
107
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
107
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
108
108
  return binding;
109
109
  } catch (e) {
110
110
  loadErrors.push(e);
@@ -118,7 +118,7 @@ function requireNative() {
118
118
  }
119
119
  try {
120
120
  let binding = require("@oxlint/binding-darwin-universal"), bindingPackageVersion = require("@oxlint/binding-darwin-universal/package.json").version;
121
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
121
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
122
122
  return binding;
123
123
  } catch (e) {
124
124
  loadErrors.push(e);
@@ -131,7 +131,7 @@ function requireNative() {
131
131
  }
132
132
  try {
133
133
  let binding = require("@oxlint/binding-darwin-x64"), bindingPackageVersion = require("@oxlint/binding-darwin-x64/package.json").version;
134
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
134
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
135
135
  return binding;
136
136
  } catch (e) {
137
137
  loadErrors.push(e);
@@ -144,7 +144,7 @@ function requireNative() {
144
144
  }
145
145
  try {
146
146
  let binding = require("@oxlint/binding-darwin-arm64"), bindingPackageVersion = require("@oxlint/binding-darwin-arm64/package.json").version;
147
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
147
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
148
148
  return binding;
149
149
  } catch (e) {
150
150
  loadErrors.push(e);
@@ -158,7 +158,7 @@ function requireNative() {
158
158
  }
159
159
  try {
160
160
  let binding = require("@oxlint/binding-freebsd-x64"), bindingPackageVersion = require("@oxlint/binding-freebsd-x64/package.json").version;
161
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
161
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
162
162
  return binding;
163
163
  } catch (e) {
164
164
  loadErrors.push(e);
@@ -171,7 +171,7 @@ function requireNative() {
171
171
  }
172
172
  try {
173
173
  let binding = require("@oxlint/binding-freebsd-arm64"), bindingPackageVersion = require("@oxlint/binding-freebsd-arm64/package.json").version;
174
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
174
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
175
175
  return binding;
176
176
  } catch (e) {
177
177
  loadErrors.push(e);
@@ -185,7 +185,7 @@ function requireNative() {
185
185
  }
186
186
  try {
187
187
  let binding = require("@oxlint/binding-linux-x64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-x64-musl/package.json").version;
188
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
188
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
189
189
  return binding;
190
190
  } catch (e) {
191
191
  loadErrors.push(e);
@@ -198,7 +198,7 @@ function requireNative() {
198
198
  }
199
199
  try {
200
200
  let binding = require("@oxlint/binding-linux-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-x64-gnu/package.json").version;
201
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
201
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
202
202
  return binding;
203
203
  } catch (e) {
204
204
  loadErrors.push(e);
@@ -212,7 +212,7 @@ function requireNative() {
212
212
  }
213
213
  try {
214
214
  let binding = require("@oxlint/binding-linux-arm64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-musl/package.json").version;
215
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
215
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
216
216
  return binding;
217
217
  } catch (e) {
218
218
  loadErrors.push(e);
@@ -225,7 +225,7 @@ function requireNative() {
225
225
  }
226
226
  try {
227
227
  let binding = require("@oxlint/binding-linux-arm64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-gnu/package.json").version;
228
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
228
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
229
229
  return binding;
230
230
  } catch (e) {
231
231
  loadErrors.push(e);
@@ -239,7 +239,7 @@ function requireNative() {
239
239
  }
240
240
  try {
241
241
  let binding = require("@oxlint/binding-linux-arm-musleabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-musleabihf/package.json").version;
242
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
242
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
243
243
  return binding;
244
244
  } catch (e) {
245
245
  loadErrors.push(e);
@@ -252,7 +252,7 @@ function requireNative() {
252
252
  }
253
253
  try {
254
254
  let binding = require("@oxlint/binding-linux-arm-gnueabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-gnueabihf/package.json").version;
255
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
255
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
256
256
  return binding;
257
257
  } catch (e) {
258
258
  loadErrors.push(e);
@@ -266,7 +266,7 @@ function requireNative() {
266
266
  }
267
267
  try {
268
268
  let binding = require("@oxlint/binding-linux-loong64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-musl/package.json").version;
269
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
269
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
270
270
  return binding;
271
271
  } catch (e) {
272
272
  loadErrors.push(e);
@@ -279,7 +279,7 @@ function requireNative() {
279
279
  }
280
280
  try {
281
281
  let binding = require("@oxlint/binding-linux-loong64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-gnu/package.json").version;
282
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
282
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
283
283
  return binding;
284
284
  } catch (e) {
285
285
  loadErrors.push(e);
@@ -293,7 +293,7 @@ function requireNative() {
293
293
  }
294
294
  try {
295
295
  let binding = require("@oxlint/binding-linux-riscv64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-musl/package.json").version;
296
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
296
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
297
297
  return binding;
298
298
  } catch (e) {
299
299
  loadErrors.push(e);
@@ -306,7 +306,7 @@ function requireNative() {
306
306
  }
307
307
  try {
308
308
  let binding = require("@oxlint/binding-linux-riscv64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-gnu/package.json").version;
309
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
309
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
310
310
  return binding;
311
311
  } catch (e) {
312
312
  loadErrors.push(e);
@@ -320,7 +320,7 @@ function requireNative() {
320
320
  }
321
321
  try {
322
322
  let binding = require("@oxlint/binding-linux-ppc64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-ppc64-gnu/package.json").version;
323
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
323
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
324
324
  return binding;
325
325
  } catch (e) {
326
326
  loadErrors.push(e);
@@ -333,7 +333,7 @@ function requireNative() {
333
333
  }
334
334
  try {
335
335
  let binding = require("@oxlint/binding-linux-s390x-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-s390x-gnu/package.json").version;
336
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
336
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
337
337
  return binding;
338
338
  } catch (e) {
339
339
  loadErrors.push(e);
@@ -347,7 +347,7 @@ function requireNative() {
347
347
  }
348
348
  try {
349
349
  let binding = require("@oxlint/binding-openharmony-arm64"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm64/package.json").version;
350
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
350
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
351
351
  return binding;
352
352
  } catch (e) {
353
353
  loadErrors.push(e);
@@ -360,7 +360,7 @@ function requireNative() {
360
360
  }
361
361
  try {
362
362
  let binding = require("@oxlint/binding-openharmony-x64"), bindingPackageVersion = require("@oxlint/binding-openharmony-x64/package.json").version;
363
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
363
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
364
364
  return binding;
365
365
  } catch (e) {
366
366
  loadErrors.push(e);
@@ -373,7 +373,7 @@ function requireNative() {
373
373
  }
374
374
  try {
375
375
  let binding = require("@oxlint/binding-openharmony-arm"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm/package.json").version;
376
- if (bindingPackageVersion !== "1.73.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.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
376
+ if (bindingPackageVersion !== "1.75.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.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
377
377
  return binding;
378
378
  } catch (e) {
379
379
  loadErrors.push(e);
package/dist/index.d.ts CHANGED
@@ -69,7 +69,7 @@ type FuncNamesConfigType = "always" | "as-needed" | "never";
69
69
  type Style = "expression" | "declaration";
70
70
  type NamedExports = "ignore" | "expression" | "declaration";
71
71
  type PairOrder = "anyOrder" | "getBeforeSet" | "setBeforeGet";
72
- type Mode = "prefer-top-level" | "prefer-inline";
72
+ type Mode = "prefer-top-level" | "prefer-inline" | "prefer-top-level-if-only-type-imports";
73
73
  /**
74
74
  * Extension rule configuration; Copy to avoid extra indirection.
75
75
  */
@@ -114,6 +114,7 @@ type AllowKind = "functions" | "arrowFunctions" | "generatorFunctions" | "method
114
114
  */
115
115
  type NoInnerDeclarationsConfig = "functions" | "both";
116
116
  type BlockScopedFunctions = "allow" | "disallow";
117
+ type Namespaces = "allow" | "disallow";
117
118
  type NoMagicNumbersNumber = number | string;
118
119
  type NoRestrictedImportsConfigEnum = string | RestrictedPath | NoRestrictedImportsConfig;
119
120
  type PossiblePaths = string | RestrictedPath;
@@ -179,6 +180,10 @@ type ForbidItem2 = string | {
179
180
  */
180
181
  message?: string;
181
182
  };
183
+ type NamedComponents = NamedComponentStyle | NamedComponentStyle[];
184
+ type NamedComponentStyle = "function-declaration" | "arrow-function" | "function-expression";
185
+ type UnnamedComponents = UnnamedComponentStyle | UnnamedComponentStyle[];
186
+ type UnnamedComponentStyle = "arrow-function" | "function-expression";
182
187
  type EnforceBooleanAttribute = "always" | "never";
183
188
  type JsxCurlyBracePresenceConfig = JsxCurlyBracePresenceMode | JsxCurlyBracePresence;
184
189
  type JsxCurlyBracePresenceMode = "always" | "never" | "ignore";
@@ -482,7 +487,10 @@ interface Oxlintrc$1 {
482
487
  */
483
488
  globals?: OxlintGlobals;
484
489
  /**
485
- * Globs to ignore during linting. These are resolved from the configuration file path.
490
+ * Globs to ignore during linting. Patterns use gitignore-style matching,
491
+ * rooted at the directory containing the configuration file.
492
+ * Files outside that directory cannot be matched; patterns containing `..`
493
+ * are rejected as a configuration error.
486
494
  */
487
495
  ignorePatterns?: string[];
488
496
  /**
@@ -923,7 +931,7 @@ interface DummyRuleMap {
923
931
  "jsdoc/empty-tags"?: RuleNoConfig | [AllowWarnDeny, EmptyTagsConfig];
924
932
  "jsdoc/implements-on-classes"?: RuleNoConfig;
925
933
  "jsdoc/no-defaults"?: RuleNoConfig | [AllowWarnDeny, NoDefaultsConfig];
926
- "jsdoc/require-param"?: DummyRule;
934
+ "jsdoc/require-param"?: RuleNoConfig | [AllowWarnDeny, RequireParamConfig];
927
935
  "jsdoc/require-param-description"?: RuleNoConfig | [AllowWarnDeny, RequireParamDescriptionConfig];
928
936
  "jsdoc/require-param-name"?: RuleNoConfig;
929
937
  "jsdoc/require-param-type"?: RuleNoConfig | [AllowWarnDeny, RequireParamTypeConfig];
@@ -1138,6 +1146,7 @@ interface DummyRuleMap {
1138
1146
  "node/no-path-concat"?: RuleNoConfig;
1139
1147
  "node/no-process-env"?: RuleNoConfig | [AllowWarnDeny, NoProcessEnvConfig];
1140
1148
  "node/no-sync"?: RuleNoConfig | [AllowWarnDeny, NoSyncConfig];
1149
+ "node/no-top-level-await"?: RuleNoConfig | [AllowWarnDeny, NoTopLevelAwaitConfig];
1141
1150
  "object-shorthand"?: RuleNoConfig | [AllowWarnDeny, ShorthandType] | [AllowWarnDeny, ShorthandType, ObjectShorthandOptions];
1142
1151
  "operator-assignment"?: RuleNoConfig | [AllowWarnDeny, AlwaysNever];
1143
1152
  "oxc/approx-constant"?: RuleNoConfig;
@@ -1168,7 +1177,7 @@ interface DummyRuleMap {
1168
1177
  "oxc/uninvoked-array-callback"?: RuleNoConfig;
1169
1178
  "prefer-arrow-callback"?: RuleNoConfig | [AllowWarnDeny, PreferArrowCallbackConfig];
1170
1179
  "prefer-const"?: RuleNoConfig | [AllowWarnDeny, PreferConstConfig];
1171
- "prefer-destructuring"?: RuleNoConfig | [AllowWarnDeny, PreferDestructuringOption] | [AllowWarnDeny, PreferDestructuringOption, PreferDestructuringRenamedPropertiesConfig];
1180
+ "prefer-destructuring"?: RuleNoConfig | [AllowWarnDeny, PreferDestructuringOption] | [AllowWarnDeny, PreferDestructuringOption, PreferDestructuringEnforcementConfig];
1172
1181
  "prefer-exponentiation-operator"?: RuleNoConfig;
1173
1182
  "prefer-named-capture-group"?: RuleNoConfig;
1174
1183
  "prefer-numeric-literals"?: RuleNoConfig;
@@ -1209,6 +1218,7 @@ interface DummyRuleMap {
1209
1218
  "react/forbid-dom-props"?: RuleNoConfig | [AllowWarnDeny, ForbidDomPropsConfig];
1210
1219
  "react/forbid-elements"?: RuleNoConfig | [AllowWarnDeny, ForbidElementsConfig];
1211
1220
  "react/forward-ref-uses-ref"?: RuleNoConfig;
1221
+ "react/function-component-definition"?: RuleNoConfig | [AllowWarnDeny, FunctionComponentDefinitionConfig];
1212
1222
  "react/hook-use-state"?: RuleNoConfig | [AllowWarnDeny, HookUseStateConfig];
1213
1223
  "react/iframe-missing-sandbox"?: RuleNoConfig;
1214
1224
  "react/jsx-boolean-value"?: RuleNoConfig | [AllowWarnDeny, EnforceBooleanAttribute] | [AllowWarnDeny, EnforceBooleanAttribute, JsxBooleanValueOptions];
@@ -1553,6 +1563,7 @@ interface DummyRuleMap {
1553
1563
  "vitest/no-test-return-statement"?: RuleNoConfig;
1554
1564
  "vitest/no-unneeded-async-expect-function"?: RuleNoConfig;
1555
1565
  "vitest/padding-around-after-all-blocks"?: RuleNoConfig;
1566
+ "vitest/padding-around-test-blocks"?: RuleNoConfig;
1556
1567
  "vitest/prefer-called-exactly-once-with"?: RuleNoConfig;
1557
1568
  "vitest/prefer-called-once"?: RuleNoConfig;
1558
1569
  "vitest/prefer-called-times"?: RuleNoConfig;
@@ -2348,6 +2359,56 @@ interface NoDefaultsConfig {
2348
2359
  */
2349
2360
  noOptionalParamNames?: boolean;
2350
2361
  }
2362
+ interface RequireParamConfig {
2363
+ /**
2364
+ * Whether to check constructor methods.
2365
+ */
2366
+ checkConstructors?: boolean;
2367
+ /**
2368
+ * Whether to check destructured parameters.
2369
+ */
2370
+ checkDestructured?: boolean;
2371
+ /**
2372
+ * Whether to check destructured parameters when you have code like
2373
+ * `function doSomething({ a, b }) { ... }`. Because there is no named
2374
+ * parameter in this example, when this option is `true` you must
2375
+ * have a `@param` tag that corresponds to `{a, b}`.
2376
+ */
2377
+ checkDestructuredRoots?: boolean;
2378
+ /**
2379
+ * Whether to check getter methods.
2380
+ */
2381
+ checkGetters?: boolean;
2382
+ /**
2383
+ * Whether to check rest properties.
2384
+ */
2385
+ checkRestProperty?: boolean;
2386
+ /**
2387
+ * Whether to check setter methods.
2388
+ */
2389
+ checkSetters?: boolean;
2390
+ /**
2391
+ * Regex pattern to match types that exempt parameters from checking.
2392
+ */
2393
+ checkTypesPattern?: string;
2394
+ /**
2395
+ * List of JSDoc tags that exempt functions from `@param` checking.
2396
+ */
2397
+ exemptedBy?: string[];
2398
+ /**
2399
+ * Set to `true` to ignore reporting when all params are missing. Defaults to `false`.
2400
+ */
2401
+ ignoreWhenAllParamsMissing?: boolean;
2402
+ /**
2403
+ * Set if you wish TypeScript interfaces to exempt checks for the existence of `@param`'s.
2404
+ * Will check for a type defining the function itself (on a variable declaration) or if there is a single destructured object with a type. Defaults to `false`.
2405
+ */
2406
+ interfaceExemptsParamsCheck?: boolean;
2407
+ /**
2408
+ * Set to `true` if you wish to expect documentation of properties on objects supplied as default values. Defaults to `false`.
2409
+ */
2410
+ useDefaultObjectProperties?: boolean;
2411
+ }
2351
2412
  interface RequireParamDescriptionConfig {
2352
2413
  /**
2353
2414
  * The description string to set by default for destructured roots. Defaults to "The root object".
@@ -3027,6 +3088,10 @@ interface NoInnerDeclarationsOptions {
3027
3088
  * Controls whether function declarations in nested blocks are allowed in strict mode (ES6+ behavior).
3028
3089
  */
3029
3090
  blockScopedFunctions?: BlockScopedFunctions;
3091
+ /**
3092
+ * Controls whether declarations directly inside TypeScript namespace or module bodies are allowed.
3093
+ */
3094
+ namespaces?: Namespaces;
3030
3095
  }
3031
3096
  interface NoInvalidRegexpConfig {
3032
3097
  /**
@@ -3880,6 +3945,14 @@ interface NoSyncConfig {
3880
3945
  */
3881
3946
  ignores?: string[];
3882
3947
  }
3948
+ interface NoTopLevelAwaitConfig {
3949
+ /**
3950
+ * If `true`, top-level `await` is allowed in files that start with a
3951
+ * hashbang (`#!`), which marks them as executable scripts rather than
3952
+ * importable modules.
3953
+ */
3954
+ ignoreBin?: boolean;
3955
+ }
3883
3956
  interface ObjectShorthandOptions {
3884
3957
  avoidExplicitReturnArrows?: boolean;
3885
3958
  avoidQuotes?: boolean;
@@ -3982,7 +4055,8 @@ interface PreferDestructuringAssignmentConfig {
3982
4055
  AssignmentExpression?: PreferDestructuringTargetOption;
3983
4056
  VariableDeclarator?: PreferDestructuringTargetOption;
3984
4057
  }
3985
- interface PreferDestructuringRenamedPropertiesConfig {
4058
+ interface PreferDestructuringEnforcementConfig {
4059
+ enforceForDeclarationWithTypeAnnotation?: boolean;
3986
4060
  enforceForRenamedProperties?: boolean;
3987
4061
  }
3988
4062
  interface PreferPromiseRejectErrors {
@@ -4348,6 +4422,10 @@ interface ForbidElementsConfig {
4348
4422
  */
4349
4423
  forbid?: ForbidItem2[];
4350
4424
  }
4425
+ interface FunctionComponentDefinitionConfig {
4426
+ namedComponents?: NamedComponents;
4427
+ unnamedComponents?: UnnamedComponents;
4428
+ }
4351
4429
  interface HookUseStateConfig {
4352
4430
  /**
4353
4431
  * When true the rule will ignore the name of the destructured value.
@@ -5794,7 +5872,13 @@ interface TripleSlashReferenceConfig {
5794
5872
  * What to enforce for `/// <reference lib="..." />` references.
5795
5873
  */
5796
5874
  lib?: AlwaysNever;
5875
+ /**
5876
+ * What to enforce for `/// <reference path="..." />` references.
5877
+ */
5797
5878
  path?: PathOption;
5879
+ /**
5880
+ * What to enforce for `/// <reference types="..." />` references.
5881
+ */
5798
5882
  types?: TypesOption;
5799
5883
  }
5800
5884
  interface UnboundMethodConfig {
@@ -6330,6 +6414,9 @@ interface NoReservedPropsConfig {
6330
6414
  vueVersion?: number;
6331
6415
  }
6332
6416
  interface Options {
6417
+ /**
6418
+ * Prop names to ignore, as regular expression patterns.
6419
+ */
6333
6420
  ignoreProps?: string[];
6334
6421
  }
6335
6422
  interface RequireDirectExport {