Fix lint errors

This commit is contained in:
Brent Vatne
2018-10-12 11:34:03 -07:00
parent 81f1915075
commit 8c952abc2c
10 changed files with 18 additions and 49 deletions

View File

@@ -12,12 +12,12 @@ import ModalStack from './src/ModalStack';
import LifecycleInteraction from './src/LifecycleInteraction';
import GestureInteraction from './src/GestureInteraction';
// Uncomment the following line to force RTL. Requires closing and re-opening
// your app after you first load it with this option enabled.
// I18nManager.forceRTL(true);
// Comment the following two lines to stop using react-native-screens
import { useScreens } from 'react-native-screens';
// Uncomment the following line to force RTL. Requires closing and re-opening
// your app after you first load it with this option enabled.
I18nManager.forceRTL(false);
useScreens();
const data = [

View File

@@ -5,18 +5,13 @@ import {
InteractionManager,
WebView,
View,
StyleSheet,
} from 'react-native';
import { MapView } from 'expo';
import { withNavigationFocus } from 'react-navigation';
import {
createStackNavigator,
StackGestureContext,
} from 'react-navigation-stack';
import {
PanGestureHandler,
NativeViewGestureHandler,
} from 'react-native-gesture-handler';
import { NativeViewGestureHandler } from 'react-native-gesture-handler';
const IndexScreen = ({ navigation }) => (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>

View File

@@ -1,5 +1,5 @@
import React from 'react';
import { Dimensions, Button, Image, View, Text } from 'react-native';
import { Dimensions, Button, Image, View } from 'react-native';
import { createStackNavigator } from 'react-navigation-stack';
import { FlatList, BorderlessButton } from 'react-native-gesture-handler';

View File

@@ -1,11 +1,5 @@
import React from 'react';
import {
ActivityIndicator,
Button,
Text,
View,
StyleSheet,
} from 'react-native';
import { Button, Text, View, StyleSheet } from 'react-native';
import { BarCodeScanner } from 'expo';
import { withNavigationFocus } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';