chore: upgrade eslint config

This commit is contained in:
satyajit.happy
2019-09-28 11:58:21 +02:00
parent 7393464515
commit 1345a8fec6
15 changed files with 147 additions and 353 deletions

View File

@@ -1,5 +1,3 @@
/* eslint-disable import/namespace, import/default */
import * as React from 'react';
import { MaterialIcons } from '@expo/vector-icons';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';

View File

@@ -25,6 +25,7 @@ export default function Albums() {
contentContainerStyle={styles.content}
>
{COVERS.map((source, i) => (
// eslint-disable-next-line react/no-array-index-key
<Image key={i} source={source} style={styles.cover} />
))}
</ScrollView>

View File

@@ -32,6 +32,7 @@ export default function Chat() {
return (
<View
// eslint-disable-next-line react/no-array-index-key
key={i}
style={[odd ? styles.odd : styles.even, styles.inverted]}
>