lint mobile properly on ts7 and fix the provider bugs that turned up #55
Annotations
10 warnings
|
typescript(no-unsafe-type-assertion):
src/lib/crypto.ts#L148
src/lib/crypto.ts:148:20: Unsafe type assertion: type 'Cipheriv & { getAuthTag: () => Buffer<ArrayBufferLike>; }' is more narrow than the original type.
|
|
typescript(no-unsafe-type-assertion):
src/lib/crypto.ts#L122
src/lib/crypto.ts:122:21: Unsafe assertion from `any` detected: consider using type guards or a safer assertion.
|
|
typescript(no-unsafe-type-assertion):
src/lib/crypto.ts#L111
src/lib/crypto.ts:111:22: Unsafe type assertion: type 'Decipheriv & { setAuthTag: (tag: Buffer<ArrayBufferLike>) => void; }' is more narrow than the original type.
|
|
typescript(restrict-template-expressions):
src/lib/crypto.ts#L83
src/lib/crypto.ts:83:56: Invalid type used in template literal expression.
|
|
typescript(no-unsafe-type-assertion):
src/lib/backgroundTasks.ts#L64
src/lib/backgroundTasks.ts:64:22: Unsafe type assertion: type 'string | undefined' is more narrow than the original type.
|
|
typescript(no-unsafe-type-assertion):
src/lib/backgroundTasks.ts#L43
src/lib/backgroundTasks.ts:43:10: Unsafe type assertion: type 'DecryptedPayload' is more narrow than the original type.
|
|
typescript(no-unsafe-type-assertion):
src/lib/backgroundTasks.ts#L19
src/lib/backgroundTasks.ts:19:19: Unsafe type assertion: type 'Record<string, unknown>' is more narrow than the original type.
|
|
typescript(no-unsafe-type-assertion):
src/components/charts/useChartFont.ts#L8
src/components/charts/useChartFont.ts:8:21: Unsafe assertion from `any` detected: consider using type guards or a safer assertion.
|
|
react(preserve-manual-memoization):
src/components/history/FilterBottomSheet.tsx#L199
src/components/history/FilterBottomSheet.tsx:199:8: Existing memoization could not be preserved
|
|
jsx-a11y(no-autofocus):
app/(tabs)/(dashboard,activity,users,history)/session/[id].tsx#L658
app/(tabs)/(dashboard,activity,users,history)/session/[id].tsx:658:17: The `autoFocus` attribute is found here, which can cause usability issues for sighted and non-sighted users.
|