File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 11import tseslint from 'typescript-eslint' ;
22import callstackConfig from '@callstack/eslint-config/react-native.flat.js' ;
33import simpleImportSort from 'eslint-plugin-simple-import-sort' ;
4+ import jest from 'eslint-plugin-jest' ;
45
56export 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] ;
You can’t perform that action at this time.
0 commit comments