mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 09:59:55 +08:00
chore: disable rules in oxlint (#9154)
This commit is contained in:
@@ -236,6 +236,7 @@ export function revertUpdate(
|
||||
} else if (type === 'Array') {
|
||||
return snapshotDoc.getArray(key);
|
||||
}
|
||||
// eslint-disable-next-line array-callback-return
|
||||
throw new Error('Unknown type');
|
||||
})
|
||||
);
|
||||
|
||||
+1
-1
@@ -27,12 +27,12 @@ import { DebugLogger } from '@affine/debug';
|
||||
import { track } from '@affine/track';
|
||||
import {
|
||||
type BlockService,
|
||||
BlockServiceWatcher,
|
||||
BlockViewIdentifier,
|
||||
ConfigIdentifier,
|
||||
type ExtensionType,
|
||||
type WidgetComponent,
|
||||
} from '@blocksuite/affine/block-std';
|
||||
import { BlockServiceWatcher } from '@blocksuite/affine/block-std';
|
||||
import type {
|
||||
AffineReference,
|
||||
DocMode,
|
||||
|
||||
Reference in New Issue
Block a user