chore: disable rules in oxlint (#9154)

This commit is contained in:
Brooooooklyn
2024-12-13 10:49:35 +00:00
parent 2452ccd1e5
commit ea746e3d77
53 changed files with 621 additions and 269 deletions

View File

@@ -24,7 +24,7 @@ vi.mock('@blocksuite/affine/presets', () => ({
}));
if (typeof window !== 'undefined' && HTMLCanvasElement) {
// @ts-expect-error
// @ts-expect-error allow vitest global mock
HTMLCanvasElement.prototype.getContext = () => {
return {
fillRect: vi.fn(),