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:
463 files changed
+3439
-3152
No files matched your search
@@ -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()
|
||||
})
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user