Skip to content

Commit 4a37272

Browse files
committed
chore: suppress complexity warnings for large sync functions
1 parent caff92d commit 4a37272

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/logging/context.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export const getServerContext = (webContents?: WebContents): string => {
101101
/**
102102
* Get component context based on the calling code location
103103
*/
104+
// eslint-disable-next-line complexity
104105
export const getComponentContext = (error?: Error): string => {
105106
if (!error) {
106107
// Create error to get stack trace

src/outlookCalendar/ipc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ export async function syncEventsWithRocketChatServer(
470470
}
471471
}
472472

473+
// eslint-disable-next-line complexity
473474
async function performSync(
474475
serverUrl: string,
475476
credentials: OutlookCredentials,

0 commit comments

Comments
 (0)