From 2d451b30f94b248529db7685c9c90595428419b1 Mon Sep 17 00:00:00 2001 From: Cyrus Goh Date: Sun, 25 Jan 2026 13:35:36 -0800 Subject: [PATCH] chore: extend lint and format commands to include UI Add ui/src to lint, lint:fix, format, and format:fix scripts so the UI codebase is covered by the same quality checks as the main source code. --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0c63d5d69..9be21860a 100644 --- a/package.json +++ b/package.json @@ -107,14 +107,14 @@ "mac:restart": "bash scripts/restart-mac.sh", "mac:package": "bash scripts/package-mac-app.sh", "mac:open": "open dist/Clawdbot.app", - "lint": "oxlint --type-aware src test", + "lint": "oxlint --type-aware src test ui/src", "lint:swift": "swiftlint lint --config .swiftlint.yml && (cd apps/ios && swiftlint lint --config .swiftlint.yml)", "lint:all": "pnpm lint && pnpm lint:swift", - "lint:fix": "pnpm format:fix && oxlint --type-aware --fix src test", - "format": "oxfmt --check src test", + "lint:fix": "pnpm format:fix && oxlint --type-aware --fix src test ui/src", + "format": "oxfmt --check src test ui/src", "format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/ClawdbotKit/Sources", "format:all": "pnpm format && pnpm format:swift", - "format:fix": "oxfmt --write src test", + "format:fix": "oxfmt --write src test ui/src", "test": "node scripts/test-parallel.mjs", "test:watch": "vitest", "test:ui": "pnpm --dir ui test",