From cca0ea14bec1c9752736cfdae1eaa6c433cf6560 Mon Sep 17 00:00:00 2001 From: lodev09 Date: Fri, 12 Dec 2025 03:35:22 +0800 Subject: [PATCH] chore: extend root tsconfig in expo example and fix eslint ignore --- eslint.config.mjs | 2 +- example/expo/tsconfig.json | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 9bb4a3b..e56d9fb 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -35,6 +35,6 @@ export default defineConfig([ }, }, { - ignores: ['node_modules/', 'lib/', 'docs/', 'jest.setup.js', 'expo-example/.expo/'], + ignores: ['node_modules/', 'lib/', 'docs/', 'jest.setup.js', 'example/**/.expo/'], }, ]); diff --git a/example/expo/tsconfig.json b/example/expo/tsconfig.json index f4f0fe0..03345e4 100644 --- a/example/expo/tsconfig.json +++ b/example/expo/tsconfig.json @@ -1,13 +1,5 @@ { - "extends": "expo/tsconfig.base", - "compilerOptions": { - "strict": true, - "paths": { - "@lodev09/react-native-true-sheet": ["../src/index"], - "@lodev09/react-native-true-sheet/reanimated": ["../src/reanimated/index"], - "@lodev09/react-native-true-sheet/navigation": ["../src/navigation/index"] - } - }, + "extends": ["expo/tsconfig.base", "../../tsconfig.json"], "include": [ "**/*.ts", "**/*.tsx",