Files
callstack__react-native-tes…/examples/basic/eslint.config.mjs
2026-04-13 20:17:20 +02:00

21 lines
449 B
JavaScript

import testingLibrary from 'eslint-plugin-testing-library';
import tseslint from 'typescript-eslint';
export default [
{
ignores: [
'node_modules/**',
'.expo/**',
'dist/**',
'web-build/**',
'expo-env.d.ts',
'jest-setup.ts',
],
},
...tseslint.configs.recommended,
{
files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
...testingLibrary.configs['flat/react'],
},
];