Skip to content

Commit f5244b3

Browse files
committed
chore: tweak eslint
1 parent e596e42 commit f5244b3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

examples/cookbook/.eslintrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
{
2-
"extends": "@callstack"
2+
"extends": "@callstack",
3+
"rules": {
4+
"react-native-a11y/has-valid-accessibility-ignores-invert-colors": "off",
5+
"react-native/no-color-literals": "off",
6+
"react-native-a11y/has-valid-accessibility-descriptors": "off",
7+
}
38
}

examples/cookbook/app/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable react-native-a11y/has-valid-accessibility-ignores-invert-colors */
21
import React from 'react';
32
import { FlatList, Image, Pressable, StyleSheet, Text, View } from 'react-native';
43
import { useRouter } from 'expo-router';
@@ -35,7 +34,6 @@ export default function Home() {
3534
);
3635
}
3736

38-
/* eslint-disable react-native/no-color-literals */
3937
const styles = StyleSheet.create({
4038
container: {
4139
flex: 1,

0 commit comments

Comments
 (0)