Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.
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
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
{
"env": {
"es2022": true,
"node": true
"node": true,
"react-native/react-native": true
},
"extends": [
"eslint:recommended",
Expand Down
8 changes: 3 additions & 5 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
import * as Sentry from '@sentry/react-native';
import { ActionSheetProvider, connectActionSheet } from '@expo/react-native-action-sheet';

import { LogBox } from 'react-native';
import Navigation from './src/navigation/Navigation';
import UserProvider from './src/states/UserContextProvider';
import GeolocationProvider from './src/states/GeolocationContextProvider';
Expand All @@ -27,16 +26,15 @@ import DropiesAroundContextProvider from './src/states/DropiesAroundContextProvi

Sentry.init({
dsn: 'https://[email protected]/6567185',
// eslint-disable-next-line no-undef

environment: __DEV__ ? 'dev' : 'production',

// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// We recommend adjusting this value in production.
tracesSampleRate: 1.0,
tracesSampleRate: __DEV__ ? 1.0 : 0.5,
debug: __DEV__,
});

LogBox.ignoreLogs(['rgb']);

const NavigationApp = () => (
<NavigationContainer>
<OverlayContextProvider>
Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { AppRegistry } from 'react-native';
import App from './App';
import { name as appName, productionMode } from './app.json';

// eslint-disable-next-line no-undef
if (__DEV__ && productionMode)
console.error('WATCH OUT YOU PROBABLY DONT WANT THAT : You are using production mode in development, this may impact production servers');

Expand Down
Loading