diff --git a/apps/expo/features/ai/components/AIModeSelector.tsx b/apps/expo/features/ai/components/AIModeSelector.tsx index 2ff5e61760..6bd15a9d99 100644 --- a/apps/expo/features/ai/components/AIModeSelector.tsx +++ b/apps/expo/features/ai/components/AIModeSelector.tsx @@ -5,7 +5,7 @@ import { useColorScheme } from 'expo-app/lib/hooks/useColorScheme'; import { useTranslation } from 'expo-app/lib/hooks/useTranslation'; import { useAtomValue } from 'jotai'; import * as React from 'react'; -import { TouchableOpacity, View } from 'react-native'; +import { TouchableOpacity } from 'react-native'; import { aiModeAtom, localModelStatusAtom } from '../atoms/aiModeAtoms'; import { AIModeSheet } from './AIModeSheet'; diff --git a/apps/expo/features/ai/components/AIModeSheet.tsx b/apps/expo/features/ai/components/AIModeSheet.tsx index 7a94ef5ef1..3c2e3203d2 100644 --- a/apps/expo/features/ai/components/AIModeSheet.tsx +++ b/apps/expo/features/ai/components/AIModeSheet.tsx @@ -23,7 +23,7 @@ import { } from '../lib/localModelManager'; import { CircularDownloadButton } from './CircularDownloadButton'; -type AIModeSheetProps = {}; +type AIModeSheetProps = object; export const AIModeSheet = React.forwardRef( function AIModeSheet(_props, ref) { diff --git a/biome.json b/biome.json index 46acc41c2c..5d89bd6f4d 100644 --- a/biome.json +++ b/biome.json @@ -65,5 +65,24 @@ "organizeImports": "on" } } - } + }, + "overrides": [ + { + "includes": [ + "**/__tests__/**", + "**/test/**", + "**/*.test.ts", + "**/*.test.tsx", + "**/*.spec.ts", + "**/*.spec.tsx" + ], + "linter": { + "rules": { + "suspicious": { + "noExplicitAny": "off" + } + } + } + } + ] }