fix lint issues (#1208)

This commit is contained in:
Justin Hernandez
2025-10-04 09:20:21 -07:00
committed by GitHub
parent 0d3439fb59
commit efacb8db94
10 changed files with 24 additions and 33 deletions

View File

@@ -45,7 +45,7 @@ export async function checkBiometricsAvailable(): Promise<boolean> {
const rnBiometrics = new ReactNativeBiometrics();
const { available } = await rnBiometrics.isSensorAvailable();
return available;
} catch (error) {
} catch (_error) {
console.log('Biometrics not available');
return false;
}
@@ -64,7 +64,7 @@ export async function checkPasscodeAvailable(): Promise<boolean> {
// Clean up test entry
await Keychain.resetGenericPassword({ service: testService });
return true;
} catch (error) {
} catch (_error) {
console.log('Device passcode not available');
return false;
}
@@ -187,7 +187,7 @@ export async function getMaxSecurityLevel(): Promise<SECURITY_LEVEL> {
// Try to get the device's security level
const securityLevel = await Keychain.getSecurityLevel();
return securityLevel || Keychain.SECURITY_LEVEL.ANY;
} catch (error) {
} catch (_error) {
console.log('Could not determine security level, defaulting to ANY');
return Keychain.SECURITY_LEVEL.ANY;
}

View File

@@ -9,7 +9,6 @@ import type { PassportData } from '@selfxyz/common/types';
import type { NFCScanContext } from '@selfxyz/mobile-sdk-alpha';
import { logNFCEvent } from '@/Sentry';
import { configureNfcAnalytics } from '@/utils/analytics';
import {
PassportReader,
reset,