🎨 style(vscode): eslint 自动修复格式与排序

Claude-Session: https://claude.ai/code/session_01HTMgwaE3woqM5yvsHiuSAa
This commit is contained in:
cruldra committed 2026-08-31 22:30:42 +08:00
1 parent df35bcfd49
commit 8c22a29ce5
41 files changed
+248 -167

No files matched your search

+4 -2
View File
@@ -15,9 +15,11 @@ import { RelativePattern, workspace } from 'vscode'
const ENV_PATTERN = '**/.env*'
const EXCLUDE_PATTERN = '{**/node_modules/**,**/.git/**,**/.claude/**}'
/** Scan the workspace folder rooted at `workspaceRoot` for all `.env*`
/**
* Scan the workspace folder rooted at `workspaceRoot` for all `.env*`
* files, skipping `node_modules`, `.git`, and `.claude`. Returns absolute
* fs paths. Empty array if the workspace folder isn't currently open. */
* fs paths. Empty array if the workspace folder isn't currently open.
*/
export async function findEnvFiles(workspaceRoot: string): Promise<string[]> {
const folder = workspace.workspaceFolders?.find(f => f.uri.fsPath === workspaceRoot)
if (!folder)