// https://docs.expo.dev/guides/using-eslint/ const { defineConfig } = require('eslint/config'); const expoConfig = require('eslint-config-expo/flat'); module.exports = defineConfig([ expoConfig, { ignores: ['dist/*'], }, { settings: { // In the monorepo, eslint-plugin-import is hoisted to the root and can't find the resolver by // its short name ("typescript"), so reference it by path and point it at this app's tsconfig. 'import/resolver': { node: true, [require.resolve('eslint-import-resolver-typescript')]: { project: __dirname + '/tsconfig.json' }, }, }, }, ]);