chore: bump oxlint & enable more supported rules (#14769)

This commit is contained in:
DarkSky
2026-04-03 03:36:52 +08:00
committed by GitHub
parent cdadf8588a
commit 233004f867
285 changed files with 937 additions and 1983 deletions

View File

@@ -58,8 +58,7 @@
"@preact/signals-core": "^1.8.0",
"lib0": "^0.2.114",
"lit": "^3.2.0",
"rxjs": "^7.8.2",
"zod": "^3.25.76"
"rxjs": "^7.8.2"
},
"devDependencies": {
"vitest": "^4.0.18"

View File

@@ -553,7 +553,7 @@ export class Vec {
*/
static clamp(n: number, min: number): number;
// eslint-disable-next-line @typescript-eslint/unified-signatures
// oxlint-disable-next-line @typescript-eslint/unified-signatures
static clamp(n: number, min: number, max: number): number;
static clamp(n: number, min: number, max?: number): number {
@@ -569,7 +569,7 @@ export class Vec {
static clampV(A: number[], min: number): number[];
// eslint-disable-next-line @typescript-eslint/unified-signatures
// oxlint-disable-next-line @typescript-eslint/unified-signatures
static clampV(A: number[], min: number, max: number): number[];
static clampV(A: number[], min: number, max?: number): number[] {