From 78136c43680ba118a40a4af0cbdea5939daeb747 Mon Sep 17 00:00:00 2001 From: Connor Shea Date: Fri, 16 Jan 2026 20:04:34 -0700 Subject: [PATCH] Update oxlint config to put ignore pattern inside the oxlint config. --- .oxlintrc.json | 3 ++- package.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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",