summaryrefslogtreecommitdiffhomepage
path: root/packages/console/core
diff options
context:
space:
mode:
authorKit Langton <[email protected]>2026-04-15 21:33:54 -0400
committerGitHub <[email protected]>2026-04-15 21:33:54 -0400
commitf7d4665e4091c88c2fde0f9db70d6333f83b86fd (patch)
tree6ba0c28c195c73bfe93e2db478592a5de1d39733 /packages/console/core
parentbbdbc107ae1f935f9694fc36b79c833643ee87a4 (diff)
downloadopencode-f7d4665e4091c88c2fde0f9db70d6333f83b86fd.tar.gz
opencode-f7d4665e4091c88c2fde0f9db70d6333f83b86fd.zip
fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687)
Diffstat (limited to 'packages/console/core')
-rw-r--r--packages/console/core/script/black-cancel-waitlist.ts6
-rw-r--r--packages/console/core/script/black-gift.ts6
-rw-r--r--packages/console/core/script/black-onboard-waitlist.ts6
-rw-r--r--packages/console/core/script/black-select-workspaces.ts2
-rw-r--r--packages/console/core/src/util/env.cloudflare.ts1
-rw-r--r--packages/console/core/src/util/log.ts2
6 files changed, 9 insertions, 14 deletions
diff --git a/packages/console/core/script/black-cancel-waitlist.ts b/packages/console/core/script/black-cancel-waitlist.ts
index ab2aa16d5..7c3584e00 100644
--- a/packages/console/core/script/black-cancel-waitlist.ts
+++ b/packages/console/core/script/black-cancel-waitlist.ts
@@ -1,7 +1,5 @@
-import { subscribe } from "diagnostics_channel"
-import { Billing } from "../src/billing.js"
-import { and, Database, eq } from "../src/drizzle/index.js"
-import { BillingTable, PaymentTable, SubscriptionTable } from "../src/schema/billing.sql.js"
+import { Database, eq } from "../src/drizzle/index.js"
+import { BillingTable } from "../src/schema/billing.sql.js"
const workspaceID = process.argv[2]
diff --git a/packages/console/core/script/black-gift.ts b/packages/console/core/script/black-gift.ts
index c666a1ab6..e57ec9775 100644
--- a/packages/console/core/script/black-gift.ts
+++ b/packages/console/core/script/black-gift.ts
@@ -1,12 +1,10 @@
import { Billing } from "../src/billing.js"
-import { and, Database, eq, isNull, sql } from "../src/drizzle/index.js"
+import { and, Database, eq, isNull } from "../src/drizzle/index.js"
import { UserTable } from "../src/schema/user.sql.js"
-import { BillingTable, PaymentTable, SubscriptionTable } from "../src/schema/billing.sql.js"
+import { BillingTable, SubscriptionTable } from "../src/schema/billing.sql.js"
import { Identifier } from "../src/identifier.js"
-import { centsToMicroCents } from "../src/util/price.js"
import { AuthTable } from "../src/schema/auth.sql.js"
import { BlackData } from "../src/black.js"
-import { Actor } from "../src/actor.js"
const plan = "200"
const couponID = "JAIr0Pe1"
diff --git a/packages/console/core/script/black-onboard-waitlist.ts b/packages/console/core/script/black-onboard-waitlist.ts
index 96d0f8f91..9e7d9e935 100644
--- a/packages/console/core/script/black-onboard-waitlist.ts
+++ b/packages/console/core/script/black-onboard-waitlist.ts
@@ -1,7 +1,5 @@
-import { subscribe } from "diagnostics_channel"
-import { Billing } from "../src/billing.js"
-import { and, Database, eq } from "../src/drizzle/index.js"
-import { BillingTable, PaymentTable, SubscriptionTable } from "../src/schema/billing.sql.js"
+import { Database, eq } from "../src/drizzle/index.js"
+import { BillingTable } from "../src/schema/billing.sql.js"
const workspaceID = process.argv[2]
diff --git a/packages/console/core/script/black-select-workspaces.ts b/packages/console/core/script/black-select-workspaces.ts
index 63bfab887..0772bd212 100644
--- a/packages/console/core/script/black-select-workspaces.ts
+++ b/packages/console/core/script/black-select-workspaces.ts
@@ -1,4 +1,4 @@
-import { Database, eq, and, sql, inArray, isNull, count } from "../src/drizzle/index.js"
+import { Database, eq, and, sql, inArray, isNull } from "../src/drizzle/index.js"
import { BillingTable, BlackPlans } from "../src/schema/billing.sql.js"
import { UserTable } from "../src/schema/user.sql.js"
import { AuthTable } from "../src/schema/auth.sql.js"
diff --git a/packages/console/core/src/util/env.cloudflare.ts b/packages/console/core/src/util/env.cloudflare.ts
index e69de29bb..336ce12bb 100644
--- a/packages/console/core/src/util/env.cloudflare.ts
+++ b/packages/console/core/src/util/env.cloudflare.ts
@@ -0,0 +1 @@
+export {}
diff --git a/packages/console/core/src/util/log.ts b/packages/console/core/src/util/log.ts
index 4f2d25c13..ef3ad85c6 100644
--- a/packages/console/core/src/util/log.ts
+++ b/packages/console/core/src/util/log.ts
@@ -48,7 +48,7 @@ export namespace Log {
function use() {
try {
return ctx.use()
- } catch (e) {
+ } catch {
return { tags: {} }
}
}