Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function main() {
}

if (Reflect.has(global, "gc")) {
// @ts-ignore
// @ts-expect-error
global.gc()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function genericErrorMiddleware(ctx: Context, next: Next) {
ctx.body = {
message: "request validation failed",
code: 400,
// @ts-ignore - petstore example doesn't include metadata on it's errors
// @ts-expect-error - petstore example doesn't include metadata on it's errors
meta: err.cause instanceof ZodError ? {issues: err.cause.issues} : {},
} satisfies t_Error
return
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "2.1.2",
"@biomejs/js-api": "2.0.3",
"@biomejs/wasm-nodejs": "2.1.2",
"@biomejs/biome": "2.2.5",
"@biomejs/js-api": "3.0.0",
"@biomejs/wasm-nodejs": "2.2.5",
"@commander-js/extra-typings": "^14.0.0",
"@jest/reporters": "^30.0.5",
"@swc/core": "^1.13.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/openapi-code-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"tsx": "^4.20.3"
},
"dependencies": {
"@biomejs/biome": "2.1.2",
"@biomejs/js-api": "2.0.3",
"@biomejs/wasm-nodejs": "2.1.2",
"@biomejs/biome": "2.2.5",
"@biomejs/js-api": "3.0.0",
"@biomejs/wasm-nodejs": "2.2.5",
"@commander-js/extra-typings": "^14.0.0",
"ajv": "^8.17.1",
"ajv-draft-04": "^1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ export class ImportBuilder {
Object.entries(builder.imports).forEach(([key, value]) => {
// biome-ignore lint/suspicious/noAssignInExpressions: todo
const imports = (result.imports[key] = result.imports[key] ?? new Set())
// biome-ignore lint/complexity/noForEach: todo
value.forEach((it) => imports.add(it))

for (const it of value) {
imports.add(it)
}
})

// biome-ignore lint/complexity/noForEach: todo
Expand Down
Loading