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

@@ -3,7 +3,7 @@ import {
ExplorerService,
ExplorerTreeRoot,
} from '@affine/core/modules/explorer';
import type { FavoriteSupportType } from '@affine/core/modules/favorite';
import type { FavoriteSupportTypeUnion } from '@affine/core/modules/favorite';
import { FavoriteService } from '@affine/core/modules/favorite';
import { useI18n } from '@affine/i18n';
import {
@@ -73,7 +73,7 @@ export const FavoriteNode = ({
}: {
favorite: {
id: string;
type: FavoriteSupportType;
type: FavoriteSupportTypeUnion;
};
}) => {
return favorite.type === 'doc' ? (