oxlint 1.65.0 → 1.67.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.
@@ -304,6 +304,9 @@
304
304
  "id-length": {
305
305
  "$ref": "#/definitions/DummyRule"
306
306
  },
307
+ "id-match": {
308
+ "$ref": "#/definitions/DummyRule"
309
+ },
307
310
  "import/consistent-type-specifier-style": {
308
311
  "$ref": "#/definitions/DummyRule"
309
312
  },
@@ -334,6 +337,9 @@
334
337
  "import/namespace": {
335
338
  "$ref": "#/definitions/DummyRule"
336
339
  },
340
+ "import/newline-after-import": {
341
+ "$ref": "#/definitions/DummyRule"
342
+ },
337
343
  "import/no-absolute-path": {
338
344
  "$ref": "#/definitions/DummyRule"
339
345
  },
@@ -973,6 +979,9 @@
973
979
  "no-implicit-globals": {
974
980
  "$ref": "#/definitions/DummyRule"
975
981
  },
982
+ "no-implied-eval": {
983
+ "$ref": "#/definitions/DummyRule"
984
+ },
976
985
  "no-import-assign": {
977
986
  "$ref": "#/definitions/DummyRule"
978
987
  },
@@ -1210,6 +1219,9 @@
1210
1219
  "no-with": {
1211
1220
  "$ref": "#/definitions/DummyRule"
1212
1221
  },
1222
+ "node/callback-return": {
1223
+ "$ref": "#/definitions/DummyRule"
1224
+ },
1213
1225
  "node/global-require": {
1214
1226
  "$ref": "#/definitions/DummyRule"
1215
1227
  },
@@ -1531,6 +1543,9 @@
1531
1543
  "react/no-namespace": {
1532
1544
  "$ref": "#/definitions/DummyRule"
1533
1545
  },
1546
+ "react/no-object-type-as-default-prop": {
1547
+ "$ref": "#/definitions/DummyRule"
1548
+ },
1534
1549
  "react/no-react-children": {
1535
1550
  "$ref": "#/definitions/DummyRule"
1536
1551
  },
@@ -1558,6 +1573,9 @@
1558
1573
  "react/no-unsafe": {
1559
1574
  "$ref": "#/definitions/DummyRule"
1560
1575
  },
1576
+ "react/no-unstable-nested-components": {
1577
+ "$ref": "#/definitions/DummyRule"
1578
+ },
1561
1579
  "react/no-will-update-set-state": {
1562
1580
  "$ref": "#/definitions/DummyRule"
1563
1581
  },
@@ -1981,6 +1999,9 @@
1981
1999
  "unicorn/filename-case": {
1982
2000
  "$ref": "#/definitions/DummyRule"
1983
2001
  },
2002
+ "unicorn/import-style": {
2003
+ "$ref": "#/definitions/DummyRule"
2004
+ },
1984
2005
  "unicorn/new-for-builtins": {
1985
2006
  "$ref": "#/definitions/DummyRule"
1986
2007
  },
@@ -2428,6 +2449,9 @@
2428
2449
  "vitest/no-unneeded-async-expect-function": {
2429
2450
  "$ref": "#/definitions/DummyRule"
2430
2451
  },
2452
+ "vitest/padding-around-after-all-blocks": {
2453
+ "$ref": "#/definitions/DummyRule"
2454
+ },
2431
2455
  "vitest/prefer-called-exactly-once-with": {
2432
2456
  "$ref": "#/definitions/DummyRule"
2433
2457
  },
@@ -2569,6 +2593,9 @@
2569
2593
  "vue/no-arrow-functions-in-watch": {
2570
2594
  "$ref": "#/definitions/DummyRule"
2571
2595
  },
2596
+ "vue/no-computed-properties-in-data": {
2597
+ "$ref": "#/definitions/DummyRule"
2598
+ },
2572
2599
  "vue/no-deprecated-data-object-declaration": {
2573
2600
  "$ref": "#/definitions/DummyRule"
2574
2601
  },
@@ -2584,12 +2611,18 @@
2584
2611
  "vue/no-deprecated-model-definition": {
2585
2612
  "$ref": "#/definitions/DummyRule"
2586
2613
  },
2614
+ "vue/no-deprecated-props-default-this": {
2615
+ "$ref": "#/definitions/DummyRule"
2616
+ },
2587
2617
  "vue/no-deprecated-vue-config-keycodes": {
2588
2618
  "$ref": "#/definitions/DummyRule"
2589
2619
  },
2590
2620
  "vue/no-export-in-script-setup": {
2591
2621
  "$ref": "#/definitions/DummyRule"
2592
2622
  },
2623
+ "vue/no-expose-after-await": {
2624
+ "$ref": "#/definitions/DummyRule"
2625
+ },
2593
2626
  "vue/no-import-compiler-macros": {
2594
2627
  "$ref": "#/definitions/DummyRule"
2595
2628
  },
@@ -2602,27 +2635,48 @@
2602
2635
  "vue/no-required-prop-with-default": {
2603
2636
  "$ref": "#/definitions/DummyRule"
2604
2637
  },
2638
+ "vue/no-shared-component-data": {
2639
+ "$ref": "#/definitions/DummyRule"
2640
+ },
2605
2641
  "vue/no-this-in-before-route-enter": {
2606
2642
  "$ref": "#/definitions/DummyRule"
2607
2643
  },
2644
+ "vue/no-watch-after-await": {
2645
+ "$ref": "#/definitions/DummyRule"
2646
+ },
2608
2647
  "vue/prefer-import-from-vue": {
2609
2648
  "$ref": "#/definitions/DummyRule"
2610
2649
  },
2611
2650
  "vue/require-default-export": {
2612
2651
  "$ref": "#/definitions/DummyRule"
2613
2652
  },
2653
+ "vue/require-render-return": {
2654
+ "$ref": "#/definitions/DummyRule"
2655
+ },
2656
+ "vue/require-slots-as-functions": {
2657
+ "$ref": "#/definitions/DummyRule"
2658
+ },
2614
2659
  "vue/require-typed-ref": {
2615
2660
  "$ref": "#/definitions/DummyRule"
2616
2661
  },
2617
2662
  "vue/return-in-computed-property": {
2618
2663
  "$ref": "#/definitions/DummyRule"
2619
2664
  },
2665
+ "vue/return-in-emits-validator": {
2666
+ "$ref": "#/definitions/DummyRule"
2667
+ },
2620
2668
  "vue/valid-define-emits": {
2621
2669
  "$ref": "#/definitions/DummyRule"
2622
2670
  },
2671
+ "vue/valid-define-options": {
2672
+ "$ref": "#/definitions/DummyRule"
2673
+ },
2623
2674
  "vue/valid-define-props": {
2624
2675
  "$ref": "#/definitions/DummyRule"
2625
2676
  },
2677
+ "vue/valid-next-tick": {
2678
+ "$ref": "#/definitions/DummyRule"
2679
+ },
2626
2680
  "yoda": {
2627
2681
  "$ref": "#/definitions/DummyRule"
2628
2682
  }
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.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
41
+ if (bindingPackageVersion !== "1.67.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.67.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.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
54
+ if (bindingPackageVersion !== "1.67.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.67.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);
@@ -65,7 +65,7 @@ function requireNative() {
65
65
  }
66
66
  try {
67
67
  let binding = require("@oxlint/binding-win32-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-win32-x64-gnu/package.json").version;
68
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
68
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
69
69
  return binding;
70
70
  } catch (e) {
71
71
  loadErrors.push(e);
@@ -78,7 +78,7 @@ function requireNative() {
78
78
  }
79
79
  try {
80
80
  let binding = require("@oxlint/binding-win32-x64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-x64-msvc/package.json").version;
81
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
81
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
82
82
  return binding;
83
83
  } catch (e) {
84
84
  loadErrors.push(e);
@@ -92,7 +92,7 @@ function requireNative() {
92
92
  }
93
93
  try {
94
94
  let binding = require("@oxlint/binding-win32-ia32-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-ia32-msvc/package.json").version;
95
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
95
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
96
96
  return binding;
97
97
  } catch (e) {
98
98
  loadErrors.push(e);
@@ -105,7 +105,7 @@ function requireNative() {
105
105
  }
106
106
  try {
107
107
  let binding = require("@oxlint/binding-win32-arm64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-arm64-msvc/package.json").version;
108
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
108
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
109
109
  return binding;
110
110
  } catch (e) {
111
111
  loadErrors.push(e);
@@ -119,7 +119,7 @@ function requireNative() {
119
119
  }
120
120
  try {
121
121
  let binding = require("@oxlint/binding-darwin-universal"), bindingPackageVersion = require("@oxlint/binding-darwin-universal/package.json").version;
122
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
122
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
123
123
  return binding;
124
124
  } catch (e) {
125
125
  loadErrors.push(e);
@@ -132,7 +132,7 @@ function requireNative() {
132
132
  }
133
133
  try {
134
134
  let binding = require("@oxlint/binding-darwin-x64"), bindingPackageVersion = require("@oxlint/binding-darwin-x64/package.json").version;
135
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
135
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
136
136
  return binding;
137
137
  } catch (e) {
138
138
  loadErrors.push(e);
@@ -145,7 +145,7 @@ function requireNative() {
145
145
  }
146
146
  try {
147
147
  let binding = require("@oxlint/binding-darwin-arm64"), bindingPackageVersion = require("@oxlint/binding-darwin-arm64/package.json").version;
148
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
148
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
149
149
  return binding;
150
150
  } catch (e) {
151
151
  loadErrors.push(e);
@@ -159,7 +159,7 @@ function requireNative() {
159
159
  }
160
160
  try {
161
161
  let binding = require("@oxlint/binding-freebsd-x64"), bindingPackageVersion = require("@oxlint/binding-freebsd-x64/package.json").version;
162
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
162
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
163
163
  return binding;
164
164
  } catch (e) {
165
165
  loadErrors.push(e);
@@ -172,7 +172,7 @@ function requireNative() {
172
172
  }
173
173
  try {
174
174
  let binding = require("@oxlint/binding-freebsd-arm64"), bindingPackageVersion = require("@oxlint/binding-freebsd-arm64/package.json").version;
175
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
175
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
176
176
  return binding;
177
177
  } catch (e) {
178
178
  loadErrors.push(e);
@@ -186,7 +186,7 @@ function requireNative() {
186
186
  }
187
187
  try {
188
188
  let binding = require("@oxlint/binding-linux-x64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-x64-musl/package.json").version;
189
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
189
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
190
190
  return binding;
191
191
  } catch (e) {
192
192
  loadErrors.push(e);
@@ -199,7 +199,7 @@ function requireNative() {
199
199
  }
200
200
  try {
201
201
  let binding = require("@oxlint/binding-linux-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-x64-gnu/package.json").version;
202
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
202
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
203
203
  return binding;
204
204
  } catch (e) {
205
205
  loadErrors.push(e);
@@ -213,7 +213,7 @@ function requireNative() {
213
213
  }
214
214
  try {
215
215
  let binding = require("@oxlint/binding-linux-arm64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-musl/package.json").version;
216
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
216
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
217
217
  return binding;
218
218
  } catch (e) {
219
219
  loadErrors.push(e);
@@ -226,7 +226,7 @@ function requireNative() {
226
226
  }
227
227
  try {
228
228
  let binding = require("@oxlint/binding-linux-arm64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-gnu/package.json").version;
229
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
229
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
230
230
  return binding;
231
231
  } catch (e) {
232
232
  loadErrors.push(e);
@@ -240,7 +240,7 @@ function requireNative() {
240
240
  }
241
241
  try {
242
242
  let binding = require("@oxlint/binding-linux-arm-musleabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-musleabihf/package.json").version;
243
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
243
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
244
244
  return binding;
245
245
  } catch (e) {
246
246
  loadErrors.push(e);
@@ -253,7 +253,7 @@ function requireNative() {
253
253
  }
254
254
  try {
255
255
  let binding = require("@oxlint/binding-linux-arm-gnueabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-gnueabihf/package.json").version;
256
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
256
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
257
257
  return binding;
258
258
  } catch (e) {
259
259
  loadErrors.push(e);
@@ -267,7 +267,7 @@ function requireNative() {
267
267
  }
268
268
  try {
269
269
  let binding = require("@oxlint/binding-linux-loong64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-musl/package.json").version;
270
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
270
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
271
271
  return binding;
272
272
  } catch (e) {
273
273
  loadErrors.push(e);
@@ -280,7 +280,7 @@ function requireNative() {
280
280
  }
281
281
  try {
282
282
  let binding = require("@oxlint/binding-linux-loong64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-gnu/package.json").version;
283
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
283
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
284
284
  return binding;
285
285
  } catch (e) {
286
286
  loadErrors.push(e);
@@ -294,7 +294,7 @@ function requireNative() {
294
294
  }
295
295
  try {
296
296
  let binding = require("@oxlint/binding-linux-riscv64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-musl/package.json").version;
297
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
297
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
298
298
  return binding;
299
299
  } catch (e) {
300
300
  loadErrors.push(e);
@@ -307,7 +307,7 @@ function requireNative() {
307
307
  }
308
308
  try {
309
309
  let binding = require("@oxlint/binding-linux-riscv64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-gnu/package.json").version;
310
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
310
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
311
311
  return binding;
312
312
  } catch (e) {
313
313
  loadErrors.push(e);
@@ -321,7 +321,7 @@ function requireNative() {
321
321
  }
322
322
  try {
323
323
  let binding = require("@oxlint/binding-linux-ppc64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-ppc64-gnu/package.json").version;
324
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
324
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
325
325
  return binding;
326
326
  } catch (e) {
327
327
  loadErrors.push(e);
@@ -334,7 +334,7 @@ function requireNative() {
334
334
  }
335
335
  try {
336
336
  let binding = require("@oxlint/binding-linux-s390x-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-s390x-gnu/package.json").version;
337
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
337
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
338
338
  return binding;
339
339
  } catch (e) {
340
340
  loadErrors.push(e);
@@ -348,7 +348,7 @@ function requireNative() {
348
348
  }
349
349
  try {
350
350
  let binding = require("@oxlint/binding-openharmony-arm64"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm64/package.json").version;
351
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
351
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
352
352
  return binding;
353
353
  } catch (e) {
354
354
  loadErrors.push(e);
@@ -361,7 +361,7 @@ function requireNative() {
361
361
  }
362
362
  try {
363
363
  let binding = require("@oxlint/binding-openharmony-x64"), bindingPackageVersion = require("@oxlint/binding-openharmony-x64/package.json").version;
364
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
364
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
365
365
  return binding;
366
366
  } catch (e) {
367
367
  loadErrors.push(e);
@@ -374,7 +374,7 @@ function requireNative() {
374
374
  }
375
375
  try {
376
376
  let binding = require("@oxlint/binding-openharmony-arm"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm/package.json").version;
377
- if (bindingPackageVersion !== "1.65.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.65.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
377
+ if (bindingPackageVersion !== "1.67.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.67.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
378
378
  return binding;
379
379
  } catch (e) {
380
380
  loadErrors.push(e);
package/dist/index.d.ts CHANGED
@@ -502,6 +502,7 @@ interface DummyRuleMap {
502
502
  "grouped-accessor-pairs"?: DummyRule;
503
503
  "guard-for-in"?: DummyRule;
504
504
  "id-length"?: DummyRule;
505
+ "id-match"?: DummyRule;
505
506
  "import/consistent-type-specifier-style"?: DummyRule;
506
507
  "import/default"?: DummyRule;
507
508
  "import/export"?: DummyRule;
@@ -512,6 +513,7 @@ interface DummyRuleMap {
512
513
  "import/max-dependencies"?: DummyRule;
513
514
  "import/named"?: DummyRule;
514
515
  "import/namespace"?: DummyRule;
516
+ "import/newline-after-import"?: DummyRule;
515
517
  "import/no-absolute-path"?: DummyRule;
516
518
  "import/no-amd"?: DummyRule;
517
519
  "import/no-anonymous-default-export"?: DummyRule;
@@ -725,6 +727,7 @@ interface DummyRuleMap {
725
727
  "no-global-assign"?: DummyRule;
726
728
  "no-implicit-coercion"?: DummyRule;
727
729
  "no-implicit-globals"?: DummyRule;
730
+ "no-implied-eval"?: DummyRule;
728
731
  "no-import-assign"?: DummyRule;
729
732
  "no-inline-comments"?: DummyRule;
730
733
  "no-inner-declarations"?: DummyRule;
@@ -804,6 +807,7 @@ interface DummyRuleMap {
804
807
  "no-void"?: DummyRule;
805
808
  "no-warning-comments"?: DummyRule;
806
809
  "no-with"?: DummyRule;
810
+ "node/callback-return"?: DummyRule;
807
811
  "node/global-require"?: DummyRule;
808
812
  "node/handle-callback-err"?: DummyRule;
809
813
  "node/no-exports-assign"?: DummyRule;
@@ -911,6 +915,7 @@ interface DummyRuleMap {
911
915
  "react/no-is-mounted"?: DummyRule;
912
916
  "react/no-multi-comp"?: DummyRule;
913
917
  "react/no-namespace"?: DummyRule;
918
+ "react/no-object-type-as-default-prop"?: DummyRule;
914
919
  "react/no-react-children"?: DummyRule;
915
920
  "react/no-redundant-should-component-update"?: DummyRule;
916
921
  "react/no-render-return-value"?: DummyRule;
@@ -920,6 +925,7 @@ interface DummyRuleMap {
920
925
  "react/no-unescaped-entities"?: DummyRule;
921
926
  "react/no-unknown-property"?: DummyRule;
922
927
  "react/no-unsafe"?: DummyRule;
928
+ "react/no-unstable-nested-components"?: DummyRule;
923
929
  "react/no-will-update-set-state"?: DummyRule;
924
930
  "react/only-export-components"?: DummyRule;
925
931
  "react/prefer-es6-class"?: DummyRule;
@@ -1061,6 +1067,7 @@ interface DummyRuleMap {
1061
1067
  "unicorn/escape-case"?: DummyRule;
1062
1068
  "unicorn/explicit-length-check"?: DummyRule;
1063
1069
  "unicorn/filename-case"?: DummyRule;
1070
+ "unicorn/import-style"?: DummyRule;
1064
1071
  "unicorn/new-for-builtins"?: DummyRule;
1065
1072
  "unicorn/no-abusive-eslint-disable"?: DummyRule;
1066
1073
  "unicorn/no-accessor-recursion"?: DummyRule;
@@ -1210,6 +1217,7 @@ interface DummyRuleMap {
1210
1217
  "vitest/no-test-prefixes"?: DummyRule;
1211
1218
  "vitest/no-test-return-statement"?: DummyRule;
1212
1219
  "vitest/no-unneeded-async-expect-function"?: DummyRule;
1220
+ "vitest/padding-around-after-all-blocks"?: DummyRule;
1213
1221
  "vitest/prefer-called-exactly-once-with"?: DummyRule;
1214
1222
  "vitest/prefer-called-once"?: DummyRule;
1215
1223
  "vitest/prefer-called-times"?: DummyRule;
@@ -1257,26 +1265,36 @@ interface DummyRuleMap {
1257
1265
  "vue/define-props-destructuring"?: DummyRule;
1258
1266
  "vue/max-props"?: DummyRule;
1259
1267
  "vue/no-arrow-functions-in-watch"?: DummyRule;
1268
+ "vue/no-computed-properties-in-data"?: DummyRule;
1260
1269
  "vue/no-deprecated-data-object-declaration"?: DummyRule;
1261
1270
  "vue/no-deprecated-delete-set"?: DummyRule;
1262
1271
  "vue/no-deprecated-destroyed-lifecycle"?: DummyRule;
1263
1272
  "vue/no-deprecated-events-api"?: DummyRule;
1264
1273
  "vue/no-deprecated-model-definition"?: DummyRule;
1274
+ "vue/no-deprecated-props-default-this"?: DummyRule;
1265
1275
  "vue/no-deprecated-vue-config-keycodes"?: DummyRule;
1266
1276
  "vue/no-export-in-script-setup"?: DummyRule;
1277
+ "vue/no-expose-after-await"?: DummyRule;
1267
1278
  "vue/no-import-compiler-macros"?: DummyRule;
1268
1279
  "vue/no-lifecycle-after-await"?: DummyRule;
1269
1280
  "vue/no-multiple-slot-args"?: DummyRule;
1270
1281
  "vue/no-required-prop-with-default"?: DummyRule;
1282
+ "vue/no-shared-component-data"?: DummyRule;
1271
1283
  "vue/no-this-in-before-route-enter"?: DummyRule;
1284
+ "vue/no-watch-after-await"?: DummyRule;
1272
1285
  "vue/prefer-import-from-vue"?: DummyRule;
1273
1286
  "vue/require-default-export"?: DummyRule;
1287
+ "vue/require-render-return"?: DummyRule;
1288
+ "vue/require-slots-as-functions"?: DummyRule;
1274
1289
  "vue/require-typed-ref"?: DummyRule;
1275
1290
  "vue/return-in-computed-property"?: DummyRule;
1291
+ "vue/return-in-emits-validator"?: DummyRule;
1276
1292
  "vue/valid-define-emits"?: DummyRule;
1293
+ "vue/valid-define-options"?: DummyRule;
1277
1294
  "vue/valid-define-props"?: DummyRule;
1295
+ "vue/valid-next-tick"?: DummyRule;
1278
1296
  yoda?: DummyRule;
1279
- [k: string]: DummyRule;
1297
+ [k: string]: DummyRule | undefined;
1280
1298
  }
1281
1299
  /**
1282
1300
  * Configure the behavior of linter plugins.
package/dist/js_config.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { a as JSONStringify, n as ArrayIsArray, r as DateNow } from "./globals.js";
2
- import { t as getErrorMessage } from "./utils.js";
2
+ import { t as getErrorMessage$1 } from "./utils.js";
3
3
  import { extname } from "node:path";
4
- import { fileURLToPath } from "node:url";
5
- //#region src-js/utils/node_version.ts
6
- const TS_MODULE_EXTENSIONS = new Set([
4
+ import { fileURLToPath, pathToFileURL } from "node:url";
5
+ //#region ../shared/src-js/utils.ts
6
+ const isObject$1 = (v) => typeof v == "object" && !!v && !ArrayIsArray(v), TS_MODULE_EXTENSIONS = new Set([
7
7
  ".ts",
8
8
  ".mts",
9
9
  ".cts"
@@ -25,10 +25,70 @@ function isUnknownFileExtensionError(err) {
25
25
  let message = err?.message;
26
26
  return typeof message == "string" && /unknown(?: or unsupported)? file extension/i.test(message);
27
27
  }
28
+ function getErrorMessage(err) {
29
+ return err instanceof Error ? err.message : String(err);
30
+ }
31
+ /**
32
+ * Returns a complete replacement string suitable for `Error.message` assignment
33
+ * (includes the original error message + appended hint), or `null` when the
34
+ * error is unrelated to TS module loading. Callers should overwrite, not append.
35
+ */
28
36
  function getUnsupportedTypeScriptModuleLoadHintForError(err, specifier, nodeVersion = process.version) {
29
37
  return !isTypeScriptModuleSpecifier(specifier) || !isUnknownFileExtensionError(err) ? null : `${getErrorMessage(err)}\n\nTypeScript config files require Node.js ^20.19.0 || >=22.18.0.\nDetected Node.js ${nodeVersion}.\nPlease upgrade Node.js or use a JSON config file instead.`;
30
38
  }
31
39
  //#endregion
40
+ //#region ../shared/src-js/js_config/index.ts
41
+ /**
42
+ * Import a JS/TS config file and return its `default` export as a plain object.
43
+ *
44
+ * - Bypasses Node.js module cache (uses `?cache=<key>`) so changed files reload (used for LSP).
45
+ * - On `ERR_UNKNOWN_FILE_EXTENSION` for TS specifiers, wraps the error with a Node.js upgrade hint message;
46
+ * The original error is preserved via `Error.cause`.
47
+ *
48
+ * @param path - Absolute path to the JS/TS config file
49
+ * @param cacheKey - Cache-busting key.
50
+ * Callers decide whether to use a fresh value per call or share one across a batch.
51
+ * @throws When the file has no `default` export, the export is not a plain object,
52
+ * or import fails (wrapped with hint message for unsupported TS module load).
53
+ */
54
+ async function importJsConfig(path, cacheKey) {
55
+ let fileUrl = pathToFileURL(path);
56
+ fileUrl.searchParams.set("cache", cacheKey.toString());
57
+ let module;
58
+ try {
59
+ module = await import(fileUrl.href);
60
+ } catch (err) {
61
+ let hint = getUnsupportedTypeScriptModuleLoadHintForError(err, path);
62
+ throw hint ? Error(hint, { cause: err }) : err;
63
+ }
64
+ if (module.default === void 0) throw Error("Configuration file has no default export.");
65
+ if (!isObject$1(module.default)) throw Error("Configuration file must have a default export that is an object.");
66
+ return module.default;
67
+ }
68
+ //#endregion
69
+ //#region ../shared/src-js/vite_plus_config.ts
70
+ let vitePlusCache = null;
71
+ /**
72
+ * Resolve a Vite+ config via `vite-plus`'s `resolveConfig` and extract the given field.
73
+ *
74
+ * `vite-plus` is loaded lazily and memoized for the process.
75
+ * Consumers declare it as an optional peer dependency; tsdown leaves the specifier external
76
+ * so the user-installed copy is used at runtime.
77
+ *
78
+ * @param path - Absolute path to the Vite config file
79
+ * @param fieldName - Field name to extract from the resolved config (e.g. `"fmt"`, `"lint"`)
80
+ * @returns The field as an object, or `null` when the field is missing (signals "skip")
81
+ * @throws When the field exists but is not a plain object
82
+ */
83
+ async function loadViteConfigField(path, fieldName) {
84
+ vitePlusCache ??= import("vite-plus");
85
+ let { resolveConfig } = await vitePlusCache, config = await resolveConfig({ configFile: path }, "build");
86
+ if (!(fieldName in config)) return null;
87
+ let fieldValue = config[fieldName];
88
+ if (!isObject$1(fieldValue)) throw Error(`The \`${fieldName}\` field in the default export must be an object.`);
89
+ return fieldValue;
90
+ }
91
+ //#endregion
32
92
  //#region src-js/js_config.ts
33
93
  const isObject = (v) => typeof v == "object" && !!v && !ArrayIsArray(v);
34
94
  function validateConfigExtends(root) {
@@ -60,72 +120,54 @@ ${refPath} points back to ${cycleStart}\nCycle: ${idx === -1 ? `${cycleStart} ->
60
120
  visit(root, "<root>");
61
121
  }
62
122
  /**
63
- * Import a JS/TS config file and return its default export.
64
- */
65
- async function importConfig(path, cacheKey) {
66
- let config = (await import(new URL(`file://${path}?cache=${cacheKey}`).href)).default;
67
- if (config === void 0) throw Error("Configuration file has no default export.");
68
- return config;
69
- }
70
- /**
71
123
  * Resolve a single config path to a `JsConfigResult`.
72
124
  * Standard mode: default export must be a plain object.
73
125
  */
74
126
  async function resolveJsConfig(path, cacheKey) {
75
- let config = await importConfig(path, cacheKey);
76
- if (!isObject(config)) throw Error("Configuration file must have a default export that is an object.");
127
+ let config = await importJsConfig(path, cacheKey);
77
128
  return validateConfigExtends(config), {
78
129
  path,
79
130
  config
80
131
  };
81
132
  }
82
- const VITE_OXLINT_CONFIG_FIELD = "lint";
83
133
  /**
84
134
  * Resolve a single Vite+ config path to a `JsConfigResult`.
85
- * Extracts the `.lint` field. Returns `null` config when missing (signals "skip").
135
+ * Extracts the `.lint` field via `vite-plus`. Returns `null` config when missing (signals "skip").
86
136
  */
87
- async function resolveVitePlusConfig(path, cacheKey) {
88
- let config = await importConfig(path, cacheKey);
89
- if (!isObject(config)) return {
137
+ async function resolveVitePlusConfig(path) {
138
+ let lintConfig = await loadViteConfigField(path, "lint");
139
+ return lintConfig === null ? {
90
140
  path,
91
141
  config: null
92
- };
93
- let lintConfig = config[VITE_OXLINT_CONFIG_FIELD];
94
- if (lintConfig === void 0) return {
95
- path,
96
- config: null
97
- };
98
- if (!isObject(lintConfig)) throw Error(`The \`${VITE_OXLINT_CONFIG_FIELD}\` field in the default export must be an object.`);
99
- return validateConfigExtends(lintConfig), {
142
+ } : (validateConfigExtends(lintConfig), {
100
143
  path,
101
144
  config: lintConfig
102
- };
145
+ });
103
146
  }
104
147
  /**
105
148
  * Load config files in parallel using the given resolver, and return JSON-stringified result.
106
149
  */
107
150
  async function loadConfigs(paths, resolver) {
108
151
  try {
109
- let cacheKey = DateNow(), results = await Promise.allSettled(paths.map((path) => resolver(path, cacheKey))), successes = [], errors = [];
152
+ let results = await Promise.allSettled(paths.map(resolver)), successes = [], errors = [];
110
153
  for (let i = 0; i < results.length; i++) {
111
154
  let result = results[i];
112
- if (result.status === "fulfilled") successes.push(result.value);
113
- else {
114
- let path = paths[i], unsupportedNodeHint = getUnsupportedTypeScriptModuleLoadHintForError(result.reason, path);
115
- errors.push({
116
- path,
117
- error: unsupportedNodeHint ?? getErrorMessage(result.reason)
118
- });
119
- }
155
+ result.status === "fulfilled" ? successes.push(result.value) : errors.push({
156
+ path: paths[i],
157
+ error: getErrorMessage$1(result.reason)
158
+ });
120
159
  }
121
160
  return errors.length > 0 ? JSONStringify({ Failures: errors }) : JSONStringify({ Success: successes });
122
161
  } catch (err) {
123
- return JSONStringify({ Error: getErrorMessage(err) });
162
+ return JSONStringify({ Error: getErrorMessage$1(err) });
124
163
  }
125
164
  }
126
165
  /**
127
166
  * Load standard oxlint JS/TS config files in parallel.
128
167
  */
129
- const loadJsConfigs = (paths) => loadConfigs(paths, resolveJsConfig), loadVitePlusConfigs = (paths) => loadConfigs(paths, resolveVitePlusConfig);
168
+ const loadJsConfigs = (paths) => {
169
+ let cacheKey = DateNow();
170
+ return loadConfigs(paths, (path) => resolveJsConfig(path, cacheKey));
171
+ }, loadVitePlusConfigs = (paths) => loadConfigs(paths, resolveVitePlusConfig);
130
172
  //#endregion
131
173
  export { loadJsConfigs, loadVitePlusConfigs };
package/dist/lint.js CHANGED
@@ -14099,7 +14099,7 @@ function resetSettings() {
14099
14099
  }
14100
14100
  //#endregion
14101
14101
  //#region package.json
14102
- var version = "1.65.0";
14102
+ var version = "1.67.0";
14103
14103
  //#endregion
14104
14104
  //#region src-js/plugins/context.ts
14105
14105
  let filePath = null, cwd = null;
@@ -17706,7 +17706,7 @@ function conformHookFn(hookFn, hookName) {
17706
17706
  return hookFn;
17707
17707
  }
17708
17708
  //#endregion
17709
- //#region ../../node_modules/.pnpm/eslint@10.3.0/node_modules/eslint/lib/shared/assert.js
17709
+ //#region ../../node_modules/.pnpm/eslint@10.4.0/node_modules/eslint/lib/shared/assert.js
17710
17710
  /**
17711
17711
  * @fileoverview Assertion utilities equivalent to the Node.js node:asserts module.
17712
17712
  * @author Josh Goldberg
@@ -18276,6 +18276,14 @@ var require_assert = /* @__PURE__ */ __commonJSMin(((exports, module) => {
18276
18276
  default: return `${node.type}${suffix}`;
18277
18277
  }
18278
18278
  }
18279
+ /**
18280
+ * Escape text for use in a DOT label.
18281
+ * @param {string} value The value to escape.
18282
+ * @returns {string} The escaped value.
18283
+ */
18284
+ function escapeDotLabelText(value) {
18285
+ return value.replace(/\\/gu, String.raw`\\`).replace(/"/gu, String.raw`\"`);
18286
+ }
18279
18287
  module.exports = {
18280
18288
  /**
18281
18289
  * A flag that debug dumping is enabled or not.
@@ -18319,7 +18327,7 @@ var require_assert = /* @__PURE__ */ __commonJSMin(((exports, module) => {
18319
18327
  let traceMap = Object.create(null), arrows = this.makeDotArrows(codePath, traceMap);
18320
18328
  for (let id in traceMap) {
18321
18329
  let segment = traceMap[id];
18322
- text += `${id}[`, segment.reachable ? text += "label=\"" : text += "style=\"rounded,dashed,filled\",fillcolor=\"#FF9800\",label=\"<<unreachable>>\\n", segment.internal.nodes.length > 0 ? text += segment.internal.nodes.join("\\n") : text += "????", text += "\"];\n";
18330
+ text += `${id}[`, segment.reachable ? text += "label=\"" : text += "style=\"rounded,dashed,filled\",fillcolor=\"#FF9800\",label=\"<<unreachable>>\\n", segment.internal.nodes.length > 0 ? text += segment.internal.nodes.map(escapeDotLabelText).join("\\n") : text += "????", text += "\"];\n";
18323
18331
  }
18324
18332
  text += `${arrows}\n`, text += "}", debug("DOT", text);
18325
18333
  } : debug,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxlint",
3
- "version": "1.65.0",
3
+ "version": "1.67.0",
4
4
  "description": "Linter for the JavaScript Oxidation Compiler",
5
5
  "keywords": [
6
6
  "eslint",
@@ -46,11 +46,15 @@
46
46
  "./package.json": "./package.json"
47
47
  },
48
48
  "peerDependencies": {
49
- "oxlint-tsgolint": ">=0.22.1"
49
+ "oxlint-tsgolint": ">=0.22.1",
50
+ "vite-plus": "*"
50
51
  },
51
52
  "peerDependenciesMeta": {
52
53
  "oxlint-tsgolint": {
53
54
  "optional": true
55
+ },
56
+ "vite-plus": {
57
+ "optional": true
54
58
  }
55
59
  },
56
60
  "napi": {
@@ -83,24 +87,24 @@
83
87
  },
84
88
  "preferUnplugged": true,
85
89
  "optionalDependencies": {
86
- "@oxlint/binding-darwin-arm64": "1.65.0",
87
- "@oxlint/binding-android-arm64": "1.65.0",
88
- "@oxlint/binding-win32-arm64-msvc": "1.65.0",
89
- "@oxlint/binding-linux-arm64-gnu": "1.65.0",
90
- "@oxlint/binding-linux-arm64-musl": "1.65.0",
91
- "@oxlint/binding-openharmony-arm64": "1.65.0",
92
- "@oxlint/binding-android-arm-eabi": "1.65.0",
93
- "@oxlint/binding-linux-arm-gnueabihf": "1.65.0",
94
- "@oxlint/binding-linux-arm-musleabihf": "1.65.0",
95
- "@oxlint/binding-win32-ia32-msvc": "1.65.0",
96
- "@oxlint/binding-linux-ppc64-gnu": "1.65.0",
97
- "@oxlint/binding-linux-riscv64-gnu": "1.65.0",
98
- "@oxlint/binding-linux-riscv64-musl": "1.65.0",
99
- "@oxlint/binding-linux-s390x-gnu": "1.65.0",
100
- "@oxlint/binding-darwin-x64": "1.65.0",
101
- "@oxlint/binding-win32-x64-msvc": "1.65.0",
102
- "@oxlint/binding-freebsd-x64": "1.65.0",
103
- "@oxlint/binding-linux-x64-gnu": "1.65.0",
104
- "@oxlint/binding-linux-x64-musl": "1.65.0"
90
+ "@oxlint/binding-darwin-arm64": "1.67.0",
91
+ "@oxlint/binding-android-arm64": "1.67.0",
92
+ "@oxlint/binding-win32-arm64-msvc": "1.67.0",
93
+ "@oxlint/binding-linux-arm64-gnu": "1.67.0",
94
+ "@oxlint/binding-linux-arm64-musl": "1.67.0",
95
+ "@oxlint/binding-openharmony-arm64": "1.67.0",
96
+ "@oxlint/binding-android-arm-eabi": "1.67.0",
97
+ "@oxlint/binding-linux-arm-gnueabihf": "1.67.0",
98
+ "@oxlint/binding-linux-arm-musleabihf": "1.67.0",
99
+ "@oxlint/binding-win32-ia32-msvc": "1.67.0",
100
+ "@oxlint/binding-linux-ppc64-gnu": "1.67.0",
101
+ "@oxlint/binding-linux-riscv64-gnu": "1.67.0",
102
+ "@oxlint/binding-linux-riscv64-musl": "1.67.0",
103
+ "@oxlint/binding-linux-s390x-gnu": "1.67.0",
104
+ "@oxlint/binding-darwin-x64": "1.67.0",
105
+ "@oxlint/binding-win32-x64-msvc": "1.67.0",
106
+ "@oxlint/binding-freebsd-x64": "1.67.0",
107
+ "@oxlint/binding-linux-x64-gnu": "1.67.0",
108
+ "@oxlint/binding-linux-x64-musl": "1.67.0"
105
109
  }
106
110
  }