Apply biome rules: noUnusedVariables, noUnusedFunctionParameters, noUnusedImports (#5545)

* Enable biome rules: noUnusedVariables, noUnusedFunctionParameters, noUnusedImports

* Apply new rules with format

* remove unused currentReplaceContent

* update nextTerminalId

* fix all format issues

* update biome config

* add back applyContextOptimizations and killAllChromeBrowsers
This commit is contained in:
Bee authored and GitHub committed 2025-08-19 11:57:50 -07:00
1 parent 54faddb3ff
commit 06e0973c04
463 files changed
+3439 -3152

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import { expect } from "chai"
import proxyquire from "proxyquire"
import path from "path"
import proxyquire from "proxyquire"
import sinon from "sinon"
const createMockProcess = () => {
@@ -53,7 +53,7 @@ const createMockReadlineInterface = () => {
return mockInterface
}
const mockExeca = sinon.fake((...args) => {
const mockExeca = sinon.fake((..._args) => {
return createMockProcess()
})
+3 -3
View File
@@ -1,12 +1,12 @@
import { getCwd } from "@/utils/path"
import crypto from "node:crypto"
import fs from "node:fs/promises"
import os from "node:os"
import path from "node:path"
import fs from "node:fs/promises"
import type Anthropic from "@anthropic-ai/sdk"
import { execa } from "execa"
import readline from "readline"
import { getCwd } from "@/utils/path"
import { ClaudeCodeMessage } from "./types"
import crypto from "node:crypto"
type ClaudeCodeOptions = {
systemPrompt: string