Update oxlint config to put ignore pattern inside the oxlint config.
This commit is contained in:
committed by
Peter Steinberger
parent
25edbdacc2
commit
78136c4368
@@ -7,5 +7,6 @@
|
|||||||
],
|
],
|
||||||
"categories": {
|
"categories": {
|
||||||
"correctness": "error"
|
"correctness": "error"
|
||||||
}
|
},
|
||||||
|
"ignorePatterns": ["src/canvas-host/a2ui/a2ui.bundle.js"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,10 +90,10 @@
|
|||||||
"mac:restart": "bash scripts/restart-mac.sh",
|
"mac:restart": "bash scripts/restart-mac.sh",
|
||||||
"mac:package": "bash scripts/package-mac-app.sh",
|
"mac:package": "bash scripts/package-mac-app.sh",
|
||||||
"mac:open": "open dist/Clawdbot.app",
|
"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:swift": "swiftlint lint --config .swiftlint.yml && (cd apps/ios && swiftlint lint --config .swiftlint.yml)",
|
||||||
"lint:all": "pnpm lint && pnpm lint:swift",
|
"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": "oxfmt --check src test",
|
||||||
"format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/ClawdbotKit/Sources",
|
"format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/ClawdbotKit/Sources",
|
||||||
"format:all": "pnpm format && pnpm format:swift",
|
"format:all": "pnpm format && pnpm format:swift",
|
||||||
|
|||||||
Reference in New Issue
Block a user