mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
21 lines
449 B
JavaScript
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'],
|
|
},
|
|
];
|