diff --git a/.oxlintrc.json b/.oxlintrc.json index b2eafc49c..3876f8e04 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -7,5 +7,6 @@ ], "categories": { "correctness": "error" - } + }, + "ignorePatterns": ["src/canvas-host/a2ui/a2ui.bundle.js"] } diff --git a/package.json b/package.json index c3f7cf7bc..7df4f34b8 100644 --- a/package.json +++ b/package.json @@ -90,10 +90,10 @@ "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 --ignore-pattern src/canvas-host/a2ui/a2ui.bundle.js", + "lint": "oxlint --type-aware src test", "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 --ignore-pattern src/canvas-host/a2ui/a2ui.bundle.js", + "lint:fix": "pnpm format:fix && oxlint --type-aware --fix src test", "format": "oxfmt --check src test", "format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/ClawdbotKit/Sources", "format:all": "pnpm format && pnpm format:swift",