Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"icon": "./assets/images/icon.png",
"scheme": "myapp",
"userInterfaceStyle": "dark",
"newArchEnabled": true,
"ios": {
"supportsTablet": true,
"bitcode": false,
"bundleIdentifier": "io.livekit.voiceassistantreactnative"
"bundleIdentifier": "io.livekit.voiceassistantreactnative",
"appleTeamId": "76TVFCUKK7"
},
"android": {
"adaptiveIcon": {
Expand Down
6 changes: 3 additions & 3 deletions app/assistant/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ const RoomView = () => {
source: Track.Source.Camera,
} satisfies TrackReference)
: localScreenShareTrack.length > 0 && isScreenShareEnabled
? localScreenShareTrack[0]
: null;
? localScreenShareTrack[0]
: null;

// Messages
const { messages, send } = useSessionMessages();
Expand Down Expand Up @@ -331,7 +331,7 @@ const useAgentVisualizationPosition = (
const useLocalVideoPosition = (
isChatVisible: boolean,
containerDimens: { width: number; height: number }
): ViewStyle => {
): Animated.AnimatedProps<ViewStyle> => {
const width = useAnimatedValue(
isChatVisible ? collapsedWidth : expandedLocalWidth
);
Expand Down
24 changes: 24 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// https://docs.expo.dev/guides/using-eslint/
const { defineConfig, globalIgnores } = require('eslint/config');
const expoConfig = require('eslint-config-expo/flat');
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

module.exports = defineConfig([
globalIgnores(['dist/*', '**/*.d.ts']),
expoConfig,
eslintPluginPrettierRecommended,
{
rules: {
'prettier/prettier': [
'error',
{
quoteProps: 'consistent',
singleQuote: true,
tabWidth: 2,
trailingComma: 'es5',
useTabs: false,
},
],
},
},
]);
Loading
Loading