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.
This commit is contained in:
parent
aace1cd4c7
commit
2d451b30f9
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user