mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 11:36:25 +08:00
chore: bump oxlint & enable more supported rules (#14769)
This commit is contained in:
@@ -820,7 +820,7 @@ export class CalDAVProvider extends CalendarProvider {
|
||||
});
|
||||
}
|
||||
|
||||
// eslint-disable-next-line sonarjs/no-identical-functions
|
||||
// oxlint-disable-next-line sonarjs/no-identical-functions
|
||||
override async exchangeCode(): Promise<any> {
|
||||
throw new GraphqlBadRequest({
|
||||
code: 'caldav_oauth_unsupported',
|
||||
@@ -828,7 +828,7 @@ export class CalDAVProvider extends CalendarProvider {
|
||||
});
|
||||
}
|
||||
|
||||
// eslint-disable-next-line sonarjs/no-identical-functions
|
||||
// oxlint-disable-next-line sonarjs/no-identical-functions
|
||||
override async refreshTokens(): Promise<any> {
|
||||
throw new GraphqlBadRequest({
|
||||
code: 'caldav_oauth_unsupported',
|
||||
@@ -836,7 +836,7 @@ export class CalDAVProvider extends CalendarProvider {
|
||||
});
|
||||
}
|
||||
|
||||
// eslint-disable-next-line sonarjs/no-identical-functions
|
||||
// oxlint-disable-next-line sonarjs/no-identical-functions
|
||||
override async getAccountProfile(): Promise<any> {
|
||||
throw new GraphqlBadRequest({
|
||||
code: 'caldav_oauth_unsupported',
|
||||
|
||||
@@ -344,7 +344,7 @@ export class CopilotTranscriptionResolver {
|
||||
user.id,
|
||||
workspaceId,
|
||||
blobId,
|
||||
// eslint-disable-next-line @typescript-eslint/await-thenable
|
||||
// oxlint-disable-next-line @typescript-eslint/await-thenable
|
||||
await Promise.all(allBlobs),
|
||||
input ?? undefined
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user