Skip to content

Commit 919ef33

Browse files
committed
fix lint
1 parent 69d61a9 commit 919ef33

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

eslint.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import tseslint from 'typescript-eslint';
22
import callstackConfig from '@callstack/eslint-config/react-native.flat.js';
33
import simpleImportSort from 'eslint-plugin-simple-import-sort';
4+
import jest from 'eslint-plugin-jest';
45

56
export default [
67
{
@@ -37,6 +38,9 @@ export default [
3738
},
3839
{
3940
files: ['**/*.test.{ts,tsx}', 'src/test-utils/**'],
41+
plugins: {
42+
jest: jest,
43+
},
4044
rules: {
4145
'react/no-multi-comp': 'off',
4246
'react-native/no-color-literals': 'off',
@@ -46,6 +50,10 @@ export default [
4650
'react-native-a11y/has-valid-accessibility-ignores-invert-colors': 'off',
4751
'react-native-a11y/has-valid-accessibility-value': 'off',
4852
'@typescript-eslint/no-explicit-any': 'off',
53+
'jest/no-standalone-expect': [
54+
'error',
55+
{ additionalTestBlockFunctions: ['testGateReact19'] },
56+
],
4957
},
5058
},
5159
];

0 commit comments

Comments
 (0)