From b2fc83fbd7cf67c9dcfddf9d015e6821bd5d302b Mon Sep 17 00:00:00 2001 From: almouro Date: Fri, 10 May 2024 17:39:04 +0200 Subject: [PATCH] chore(ios): fix eslint errors --- packages/platforms/ios-instruments/src/XcodePerfParser.ts | 1 + packages/platforms/ios-instruments/src/index.ts | 2 +- packages/platforms/ios/src/index.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/platforms/ios-instruments/src/XcodePerfParser.ts b/packages/platforms/ios-instruments/src/XcodePerfParser.ts index 57d44361..415e89da 100644 --- a/packages/platforms/ios-instruments/src/XcodePerfParser.ts +++ b/packages/platforms/ios-instruments/src/XcodePerfParser.ts @@ -69,6 +69,7 @@ export const computeMeasures = (inputFileName: string) => { ignoreAttributes: false, parseAttributeValue: true, textNodeName: "value", + // eslint-disable-next-line @typescript-eslint/no-unused-vars updateTag(tagName: string, jPath: string, attrs: { [x: string]: string | number }) { switch (tagName) { case "trace-query-result": { diff --git a/packages/platforms/ios-instruments/src/index.ts b/packages/platforms/ios-instruments/src/index.ts index ac04babf..f254cddd 100644 --- a/packages/platforms/ios-instruments/src/index.ts +++ b/packages/platforms/ios-instruments/src/index.ts @@ -84,7 +84,7 @@ export class IOSInstrumentsProfiler implements Profiler { // Do we need anything here? } - getScreenRecorder(videoPath: string): ScreenRecorder | undefined { + getScreenRecorder(): ScreenRecorder | undefined { return undefined; } diff --git a/packages/platforms/ios/src/index.ts b/packages/platforms/ios/src/index.ts index 0a2efd16..bc700712 100644 --- a/packages/platforms/ios/src/index.ts +++ b/packages/platforms/ios/src/index.ts @@ -105,7 +105,7 @@ export class IOSProfiler implements Profiler { return new Promise((resolve) => resolve()); } - async waitUntilReady(bundleId: string): Promise { + async waitUntilReady(): Promise { return new Promise((resolve) => resolve()); }