@depup/oxlint 1.80.0-depup.0 → 1.81.0-depup.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/README.md CHANGED
@@ -13,8 +13,8 @@ npm install @depup/oxlint
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [oxlint](https://www.npmjs.com/package/oxlint) @ 1.80.0 |
17
- | Processed | 2026-08-24 |
16
+ | Original | [oxlint](https://www.npmjs.com/package/oxlint) @ 1.81.0 |
17
+ | Processed | 2026-09-01 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 0 |
20
20
 
package/changes.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "bumped": {},
3
- "timestamp": "2026-08-24T16:13:20.716Z",
3
+ "timestamp": "2026-09-01T16:33:10.397Z",
4
4
  "totalUpdated": 0
5
5
  }
@@ -19247,9 +19247,9 @@
19247
19247
  "markdownDescription": "Whether to consider `default` cases exhaustive for union types.\nWhen true, a switch statement with a `default` case is considered exhaustive\neven if not all union members are handled explicitly."
19248
19248
  },
19249
19249
  "defaultCaseCommentPattern": {
19250
- "description": "Regular expression pattern that when matched in a default case comment,\nwill suppress the exhaustiveness check.\nExample: `\"@skip-exhaustive-check\"` to allow `default: // @skip-exhaustive-check`",
19250
+ "description": "Regular expression pattern for a comment that acts as an omitted `default` case.\nThe comment must appear after the final case and the switch must not have a `default` case.\nFor union types, it suppresses the exhaustiveness check only when\n`considerDefaultExhaustiveForUnions` is enabled.\nExample: `\"^skip default$\"` to allow a switch ending in `// skip default`.",
19251
19251
  "type": "string",
19252
- "markdownDescription": "Regular expression pattern that when matched in a default case comment,\nwill suppress the exhaustiveness check.\nExample: `\"@skip-exhaustive-check\"` to allow `default: // @skip-exhaustive-check`"
19252
+ "markdownDescription": "Regular expression pattern for a comment that acts as an omitted `default` case.\nThe comment must appear after the final case and the switch must not have a `default` case.\nFor union types, it suppresses the exhaustiveness check only when\n`considerDefaultExhaustiveForUnions` is enabled.\nExample: `\"^skip default$\"` to allow a switch ending in `// skip default`."
19253
19253
  },
19254
19254
  "requireDefaultForNonUnion": {
19255
19255
  "description": "Whether to require default cases on switches over union types that are not exhaustive.\nWhen true, switches with non-exhaustive union types must have a default case.",
package/dist/bindings.js CHANGED
@@ -38,7 +38,7 @@ function requireNative() {
38
38
  }
39
39
  try {
40
40
  let binding = require("@oxlint/binding-android-arm64"), bindingPackageVersion = require("@oxlint/binding-android-arm64/package.json").version;
41
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
41
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
42
42
  return binding;
43
43
  } catch (e) {
44
44
  loadErrors.push(e);
@@ -51,7 +51,7 @@ function requireNative() {
51
51
  }
52
52
  try {
53
53
  let binding = require("@oxlint/binding-android-arm-eabi"), bindingPackageVersion = require("@oxlint/binding-android-arm-eabi/package.json").version;
54
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
54
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
55
55
  return binding;
56
56
  } catch (e) {
57
57
  loadErrors.push(e);
@@ -67,7 +67,7 @@ function requireNative() {
67
67
  }
68
68
  try {
69
69
  let binding = require("@oxlint/binding-win32-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-win32-x64-gnu/package.json").version;
70
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
70
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
71
71
  return binding;
72
72
  } catch (e) {
73
73
  loadErrors.push(e);
@@ -80,7 +80,7 @@ function requireNative() {
80
80
  }
81
81
  try {
82
82
  let binding = require("@oxlint/binding-win32-x64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-x64-msvc/package.json").version;
83
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
83
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
84
84
  return binding;
85
85
  } catch (e) {
86
86
  loadErrors.push(e);
@@ -94,7 +94,7 @@ function requireNative() {
94
94
  }
95
95
  try {
96
96
  let binding = require("@oxlint/binding-win32-ia32-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-ia32-msvc/package.json").version;
97
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
97
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
98
98
  return binding;
99
99
  } catch (e) {
100
100
  loadErrors.push(e);
@@ -107,7 +107,7 @@ function requireNative() {
107
107
  }
108
108
  try {
109
109
  let binding = require("@oxlint/binding-win32-arm64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-arm64-msvc/package.json").version;
110
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
110
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
111
111
  return binding;
112
112
  } catch (e) {
113
113
  loadErrors.push(e);
@@ -121,7 +121,7 @@ function requireNative() {
121
121
  }
122
122
  try {
123
123
  let binding = require("@oxlint/binding-darwin-universal"), bindingPackageVersion = require("@oxlint/binding-darwin-universal/package.json").version;
124
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
124
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
125
125
  return binding;
126
126
  } catch (e) {
127
127
  loadErrors.push(e);
@@ -134,7 +134,7 @@ function requireNative() {
134
134
  }
135
135
  try {
136
136
  let binding = require("@oxlint/binding-darwin-x64"), bindingPackageVersion = require("@oxlint/binding-darwin-x64/package.json").version;
137
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
137
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
138
138
  return binding;
139
139
  } catch (e) {
140
140
  loadErrors.push(e);
@@ -147,7 +147,7 @@ function requireNative() {
147
147
  }
148
148
  try {
149
149
  let binding = require("@oxlint/binding-darwin-arm64"), bindingPackageVersion = require("@oxlint/binding-darwin-arm64/package.json").version;
150
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
150
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
151
151
  return binding;
152
152
  } catch (e) {
153
153
  loadErrors.push(e);
@@ -162,7 +162,7 @@ function requireNative() {
162
162
  }
163
163
  try {
164
164
  let binding = require("@oxlint/binding-freebsd-x64"), bindingPackageVersion = require("@oxlint/binding-freebsd-x64/package.json").version;
165
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
165
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
166
166
  return binding;
167
167
  } catch (e) {
168
168
  loadErrors.push(e);
@@ -175,7 +175,7 @@ function requireNative() {
175
175
  }
176
176
  try {
177
177
  let binding = require("@oxlint/binding-freebsd-arm64"), bindingPackageVersion = require("@oxlint/binding-freebsd-arm64/package.json").version;
178
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
178
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
179
179
  return binding;
180
180
  } catch (e) {
181
181
  loadErrors.push(e);
@@ -191,7 +191,7 @@ function requireNative() {
191
191
  }
192
192
  try {
193
193
  let binding = require("@oxlint/binding-linux-x64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-x64-musl/package.json").version;
194
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
194
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
195
195
  return binding;
196
196
  } catch (e) {
197
197
  loadErrors.push(e);
@@ -204,7 +204,7 @@ function requireNative() {
204
204
  }
205
205
  try {
206
206
  let binding = require("@oxlint/binding-linux-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-x64-gnu/package.json").version;
207
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
207
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
208
208
  return binding;
209
209
  } catch (e) {
210
210
  loadErrors.push(e);
@@ -219,7 +219,7 @@ function requireNative() {
219
219
  }
220
220
  try {
221
221
  let binding = require("@oxlint/binding-linux-arm64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-musl/package.json").version;
222
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
222
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
223
223
  return binding;
224
224
  } catch (e) {
225
225
  loadErrors.push(e);
@@ -232,7 +232,7 @@ function requireNative() {
232
232
  }
233
233
  try {
234
234
  let binding = require("@oxlint/binding-linux-arm64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-gnu/package.json").version;
235
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
235
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
236
236
  return binding;
237
237
  } catch (e) {
238
238
  loadErrors.push(e);
@@ -247,7 +247,7 @@ function requireNative() {
247
247
  }
248
248
  try {
249
249
  let binding = require("@oxlint/binding-linux-arm-musleabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-musleabihf/package.json").version;
250
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
250
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
251
251
  return binding;
252
252
  } catch (e) {
253
253
  loadErrors.push(e);
@@ -260,7 +260,7 @@ function requireNative() {
260
260
  }
261
261
  try {
262
262
  let binding = require("@oxlint/binding-linux-arm-gnueabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-gnueabihf/package.json").version;
263
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
263
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
264
264
  return binding;
265
265
  } catch (e) {
266
266
  loadErrors.push(e);
@@ -275,7 +275,7 @@ function requireNative() {
275
275
  }
276
276
  try {
277
277
  let binding = require("@oxlint/binding-linux-loong64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-musl/package.json").version;
278
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
278
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
279
279
  return binding;
280
280
  } catch (e) {
281
281
  loadErrors.push(e);
@@ -288,7 +288,7 @@ function requireNative() {
288
288
  }
289
289
  try {
290
290
  let binding = require("@oxlint/binding-linux-loong64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-gnu/package.json").version;
291
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
291
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
292
292
  return binding;
293
293
  } catch (e) {
294
294
  loadErrors.push(e);
@@ -303,7 +303,7 @@ function requireNative() {
303
303
  }
304
304
  try {
305
305
  let binding = require("@oxlint/binding-linux-riscv64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-musl/package.json").version;
306
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
306
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
307
307
  return binding;
308
308
  } catch (e) {
309
309
  loadErrors.push(e);
@@ -316,7 +316,7 @@ function requireNative() {
316
316
  }
317
317
  try {
318
318
  let binding = require("@oxlint/binding-linux-riscv64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-gnu/package.json").version;
319
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
319
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
320
320
  return binding;
321
321
  } catch (e) {
322
322
  loadErrors.push(e);
@@ -330,7 +330,7 @@ function requireNative() {
330
330
  }
331
331
  try {
332
332
  let binding = require("@oxlint/binding-linux-ppc64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-ppc64-gnu/package.json").version;
333
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
333
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
334
334
  return binding;
335
335
  } catch (e) {
336
336
  loadErrors.push(e);
@@ -343,7 +343,7 @@ function requireNative() {
343
343
  }
344
344
  try {
345
345
  let binding = require("@oxlint/binding-linux-s390x-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-s390x-gnu/package.json").version;
346
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
346
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
347
347
  return binding;
348
348
  } catch (e) {
349
349
  loadErrors.push(e);
@@ -358,7 +358,7 @@ function requireNative() {
358
358
  }
359
359
  try {
360
360
  let binding = require("@oxlint/binding-openharmony-arm64"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm64/package.json").version;
361
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
361
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
362
362
  return binding;
363
363
  } catch (e) {
364
364
  loadErrors.push(e);
@@ -371,7 +371,7 @@ function requireNative() {
371
371
  }
372
372
  try {
373
373
  let binding = require("@oxlint/binding-openharmony-x64"), bindingPackageVersion = require("@oxlint/binding-openharmony-x64/package.json").version;
374
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
374
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
375
375
  return binding;
376
376
  } catch (e) {
377
377
  loadErrors.push(e);
@@ -384,7 +384,7 @@ function requireNative() {
384
384
  }
385
385
  try {
386
386
  let binding = require("@oxlint/binding-openharmony-arm"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm/package.json").version;
387
- if (bindingPackageVersion !== "1.80.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.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
387
+ if (bindingPackageVersion !== "1.81.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.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
388
388
  return binding;
389
389
  } catch (e) {
390
390
  loadErrors.push(e);
@@ -451,7 +451,7 @@ if (forceWasi || (nativeBinding = requireNative()), !nativeBinding || forceWasi)
451
451
  if (candidateError = __napiWasiResolveCandidate("@oxlint/binding-wasm32-wasi", !0, void 0), candidateFailed = candidateError !== null, !candidateFailed) {
452
452
  if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
453
453
  let bindingPackageVersion = require("@oxlint/binding-wasm32-wasi/package.json").version;
454
- if (bindingPackageVersion !== "1.80.0") throw Error(`WASI binding package version mismatch, expected 1.80.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
454
+ if (bindingPackageVersion !== "1.81.0") throw Error(`WASI binding package version mismatch, expected 1.81.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
455
455
  }
456
456
  wasiBinding = require("@oxlint/binding-wasm32-wasi"), nativeBinding = wasiBinding, wasiBindingLoaded = !0;
457
457
  }
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  */
7
7
  //#region src-js/package/config.generated.d.ts
8
8
  type AllowWarnDeny = ("allow" | "off" | "warn" | "error" | "deny") | number;
9
- type GlobalValue = ("readonly" | "writable" | "off") | undefined;
9
+ type GlobalValue = "readonly" | "writable" | "off";
10
10
  type ExternalPluginEntry = string | {
11
11
  /**
12
12
  * Custom name/alias for the plugin.
@@ -75,7 +75,7 @@ type Mode = "prefer-top-level" | "prefer-inline" | "prefer-top-level-if-only-typ
75
75
  */
76
76
  type ExtensionRule = "always" | "never" | "ignorePackages";
77
77
  type ImportExtensionsObject = ImportExtensionsConfig | {
78
- [k: string]: ExtensionRule;
78
+ [k: string]: ExtensionRule | undefined;
79
79
  };
80
80
  /**
81
81
  * Action to take for path group overrides.
@@ -276,7 +276,7 @@ type ChecksVoidReturn = boolean | ChecksVoidReturnOptions;
276
276
  * - A string - ban with custom message
277
277
  * - An object with `message` and optional `fixWith` and `suggest`
278
278
  */
279
- type BanConfigValue = (True | string | {
279
+ type BanConfigValue = True | string | {
280
280
  /**
281
281
  * Replacement type for automatic fixing. Applied directly with `--fix`.
282
282
  */
@@ -289,7 +289,7 @@ type BanConfigValue = (True | string | {
289
289
  * Suggested replacement types for manual review. Shown as editor suggestions.
290
290
  */
291
291
  suggest?: string[];
292
- }) | undefined;
292
+ };
293
293
  type True = true;
294
294
  /**
295
295
  * Represents the different ways `allowConstantLoopConditions` can be specified in JSON.
@@ -315,7 +315,7 @@ type TypesOption = "always" | "never" | "prefer-import";
315
315
  type BomOptionType = "always" | "never";
316
316
  type NonZero = "greater-than" | "not-equal";
317
317
  type ExplicitTimerDelayMode = "always" | "never";
318
- type ModuleStylesOverride = (false | {
318
+ type ModuleStylesOverride = false | {
319
319
  /**
320
320
  * Whether default imports or whole-module `require()` assignments are allowed for this module.
321
321
  *
@@ -352,7 +352,7 @@ type ModuleStylesOverride = (false | {
352
352
  * ```
353
353
  */
354
354
  unassigned?: boolean;
355
- }) | undefined;
355
+ };
356
356
  type NoInstanceofBuiltinsStrategy = "strict" | "loose";
357
357
  type PreferTernaryOption = "always" | "only-single-line";
358
358
  type RelativeUrlStyleConfig = "never" | "always";
@@ -368,14 +368,14 @@ type CaseType2 = "camelCase" | "snake_case";
368
368
  type AllowYoda = "never" | "always";
369
369
  type OxlintOverrides = OxlintOverride[];
370
370
  type JestVersionSchema = number | string;
371
- type TagNamePreference = (string | {
371
+ type TagNamePreference = string | {
372
372
  message: string;
373
373
  replacement: string;
374
374
  [k: string]: unknown | undefined;
375
375
  } | {
376
376
  message: string;
377
377
  [k: string]: unknown | undefined;
378
- } | boolean) | undefined;
378
+ } | boolean;
379
379
  type OneOrManyFor_String = string | string[];
380
380
  type CustomComponent = string | {
381
381
  attribute: string;
@@ -1706,7 +1706,7 @@ interface DummyRuleMap {
1706
1706
  "vue/valid-define-props"?: RuleNoConfig;
1707
1707
  "vue/valid-next-tick"?: RuleNoConfig;
1708
1708
  yoda?: RuleNoConfig | [AllowWarnDeny, AllowYoda] | [AllowWarnDeny, AllowYoda, YodaOptions];
1709
- [k: string]: DummyRule | undefined;
1709
+ [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, 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
1710
  }
1711
1711
  interface AccessorPairsConfig {
1712
1712
  /**
@@ -1985,7 +1985,7 @@ interface ImportExtensionsConfig {
1985
1985
  * Per-extension rules.
1986
1986
  */
1987
1987
  pattern?: {
1988
- [k: string]: ExtensionRule;
1988
+ [k: string]: ExtensionRule | undefined;
1989
1989
  };
1990
1990
  }
1991
1991
  interface PathGroupOverrideConfig {
@@ -2320,10 +2320,10 @@ interface NoLargeSnapshotsConfig {
2320
2320
  maxSize?: number;
2321
2321
  }
2322
2322
  interface NoRestrictedTestMethodsConfig {
2323
- [k: string]: (string | null) | undefined;
2323
+ [k: string]: string | null | undefined;
2324
2324
  }
2325
2325
  interface NoRestrictedMatchersConfig {
2326
- [k: string]: (string | null) | undefined;
2326
+ [k: string]: string | null | undefined;
2327
2327
  }
2328
2328
  interface NoStandaloneExpectConfig {
2329
2329
  /**
@@ -6113,9 +6113,11 @@ interface SwitchExhaustivenessCheckConfig {
6113
6113
  */
6114
6114
  considerDefaultExhaustiveForUnions?: boolean;
6115
6115
  /**
6116
- * Regular expression pattern that when matched in a default case comment,
6117
- * will suppress the exhaustiveness check.
6118
- * Example: `"@skip-exhaustive-check"` to allow `default: // @skip-exhaustive-check`
6116
+ * Regular expression pattern for a comment that acts as an omitted `default` case.
6117
+ * The comment must appear after the final case and the switch must not have a `default` case.
6118
+ * For union types, it suppresses the exhaustiveness check only when
6119
+ * `considerDefaultExhaustiveForUnions` is enabled.
6120
+ * Example: `"^skip default$"` to allow a switch ending in `// skip default`.
6119
6121
  */
6120
6122
  defaultCaseCommentPattern?: string;
6121
6123
  /**
package/dist/lint.js CHANGED
@@ -14286,7 +14286,7 @@ function resetSettings() {
14286
14286
  }
14287
14287
  //#endregion
14288
14288
  //#region package.json
14289
- var version = "1.80.0";
14289
+ var version = "1.81.0";
14290
14290
  //#endregion
14291
14291
  //#region src-js/plugins/context.ts
14292
14292
  const ObjectFreeze$1 = Object.freeze, ObjectCreate = Object.create, ObjectAssign = Object.assign, ObjectPreventExtensions = Object.preventExtensions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depup/oxlint",
3
- "version": "1.80.0-depup.0",
3
+ "version": "1.81.0-depup.0",
4
4
  "description": "Linter for the JavaScript Oxidation Compiler (with updated dependencies)",
5
5
  "keywords": [
6
6
  "oxlint",
@@ -25,7 +25,7 @@
25
25
  "directory": "npm/oxlint"
26
26
  },
27
27
  "funding": {
28
- "url": "https://github.com/sponsors/Boshen"
28
+ "url": "https://github.com/sponsors/oxc-project"
29
29
  },
30
30
  "bin": {
31
31
  "oxlint": "bin/oxlint"
@@ -93,32 +93,32 @@
93
93
  },
94
94
  "preferUnplugged": true,
95
95
  "optionalDependencies": {
96
- "@oxlint/binding-darwin-arm64": "1.80.0",
97
- "@oxlint/binding-android-arm64": "1.80.0",
98
- "@oxlint/binding-win32-arm64-msvc": "1.80.0",
99
- "@oxlint/binding-linux-arm64-gnu": "1.80.0",
100
- "@oxlint/binding-linux-arm64-musl": "1.80.0",
101
- "@oxlint/binding-openharmony-arm64": "1.80.0",
102
- "@oxlint/binding-android-arm-eabi": "1.80.0",
103
- "@oxlint/binding-linux-arm-gnueabihf": "1.80.0",
104
- "@oxlint/binding-linux-arm-musleabihf": "1.80.0",
105
- "@oxlint/binding-win32-ia32-msvc": "1.80.0",
106
- "@oxlint/binding-linux-ppc64-gnu": "1.80.0",
107
- "@oxlint/binding-linux-riscv64-gnu": "1.80.0",
108
- "@oxlint/binding-linux-riscv64-musl": "1.80.0",
109
- "@oxlint/binding-linux-s390x-gnu": "1.80.0",
110
- "@oxlint/binding-darwin-x64": "1.80.0",
111
- "@oxlint/binding-win32-x64-msvc": "1.80.0",
112
- "@oxlint/binding-freebsd-x64": "1.80.0",
113
- "@oxlint/binding-linux-x64-gnu": "1.80.0",
114
- "@oxlint/binding-linux-x64-musl": "1.80.0"
96
+ "@oxlint/binding-darwin-arm64": "1.81.0",
97
+ "@oxlint/binding-android-arm64": "1.81.0",
98
+ "@oxlint/binding-win32-arm64-msvc": "1.81.0",
99
+ "@oxlint/binding-linux-arm64-gnu": "1.81.0",
100
+ "@oxlint/binding-linux-arm64-musl": "1.81.0",
101
+ "@oxlint/binding-openharmony-arm64": "1.81.0",
102
+ "@oxlint/binding-android-arm-eabi": "1.81.0",
103
+ "@oxlint/binding-linux-arm-gnueabihf": "1.81.0",
104
+ "@oxlint/binding-linux-arm-musleabihf": "1.81.0",
105
+ "@oxlint/binding-win32-ia32-msvc": "1.81.0",
106
+ "@oxlint/binding-linux-ppc64-gnu": "1.81.0",
107
+ "@oxlint/binding-linux-riscv64-gnu": "1.81.0",
108
+ "@oxlint/binding-linux-riscv64-musl": "1.81.0",
109
+ "@oxlint/binding-linux-s390x-gnu": "1.81.0",
110
+ "@oxlint/binding-darwin-x64": "1.81.0",
111
+ "@oxlint/binding-win32-x64-msvc": "1.81.0",
112
+ "@oxlint/binding-freebsd-x64": "1.81.0",
113
+ "@oxlint/binding-linux-x64-gnu": "1.81.0",
114
+ "@oxlint/binding-linux-x64-musl": "1.81.0"
115
115
  },
116
116
  "depup": {
117
117
  "changes": {},
118
118
  "depsUpdated": 0,
119
119
  "originalPackage": "oxlint",
120
- "originalVersion": "1.80.0",
121
- "processedAt": "2026-08-24T16:13:22.909Z",
120
+ "originalVersion": "1.81.0",
121
+ "processedAt": "2026-09-01T16:33:13.606Z",
122
122
  "smokeTest": "passed"
123
123
  }
124
124
  }