Skip to content

Commit c1bc1a6

Browse files
committed
fix(example): fix eslint config
1 parent 493c3ae commit c1bc1a6

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

example/tsconfig.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
2-
"extends": "expo/tsconfig.base",
32
"compilerOptions": {
3+
"allowJs": true,
4+
"customConditions": ["react-native"],
5+
"esModuleInterop": true,
6+
"jsx": "react-jsx",
7+
"lib": ["DOM", "ESNext"],
8+
"module": "preserve",
9+
"moduleDetection": "force",
10+
"moduleResolution": "bundler",
11+
"noEmit": true,
12+
"resolveJsonModule": true,
13+
"skipLibCheck": true,
14+
"target": "ESNext",
415
"strict": true,
516
"paths": {
617
"@/*": [
@@ -13,5 +24,13 @@
1324
"**/*.tsx",
1425
".expo/types/**/*.ts",
1526
"expo-env.d.ts"
27+
],
28+
"exclude": [
29+
"node_modules",
30+
"babel.config.js",
31+
"metro.config.js",
32+
"jest.config.js",
33+
"android",
34+
"ios"
1635
]
1736
}

0 commit comments

Comments
 (0)