Skip to content

Commit 7bf8a45

Browse files
committed
fix ts include
1 parent 4ba6841 commit 7bf8a45

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

eslint.config.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { defineConfig } from 'eslint/config'
22
import reactNative from '@strv/eslint-config-react-native'
33

44
/** @type {import("eslint").Linter.Config} */
5-
const custom = { rules: {} }
5+
const project = {
6+
rules: {},
7+
}
68

7-
export default defineConfig([reactNative, custom])
9+
export default defineConfig([reactNative, project])

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
"strict": true,
55
"noUnusedLocals": true,
66
"incremental": true,
7+
"allowJs": true,
78
"typeRoots": ["./src/types", "node_modules/@types"],
89
"baseUrl": ".",
910
"paths": {
1011
"~/*": ["src/*"]
1112
}
1213
},
13-
"include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts"]
14+
"include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "eslint.config.mjs", "expo-env.d.ts"]
1415
}

0 commit comments

Comments
 (0)