File tree Expand file tree Collapse file tree 6 files changed +271
-1768
lines changed Expand file tree Collapse file tree 6 files changed +271
-1768
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import eslint from '@eslint/js' ;
2+ import tseslint from 'typescript-eslint' ;
3+
4+ export default tseslint . config (
5+ eslint . configs . recommended ,
6+ tseslint . configs . strict ,
7+ tseslint . configs . stylistic ,
8+ ) ;
Original file line number Diff line number Diff line change 7171 "@babel/preset-flow" : " ^7.25.9" ,
7272 "@babel/preset-react" : " ^7.25.9" ,
7373 "@babel/preset-typescript" : " ^7.26.0" ,
74- "@callstack/ eslint-config " : " ^15.0 .0" ,
74+ "@eslint/js " : " ^9.17 .0" ,
7575 "@react-native/babel-preset" : " 0.77.0-rc.0" ,
7676 "@release-it/conventional-changelog" : " ^9.0.2" ,
7777 "@relmify/jest-serializer-strip-ansi" : " ^1.0.2" ,
8181 "babel-jest" : " ^29.7.0" ,
8282 "babel-plugin-module-resolver" : " ^5.0.2" ,
8383 "del-cli" : " ^6.0.0" ,
84- "eslint" : " ^8.57.1" ,
85- "eslint-plugin-prettier" : " ^4.2.1" ,
84+ "eslint" : " ^9.17.0" ,
8685 "flow-bin" : " ~0.170.0" ,
8786 "jest" : " ^29.7.0" ,
8887 "prettier" : " ^2.8.8" ,
9190 "react-test-renderer" : " 18.3.1" ,
9291 "release-it" : " ^18.0.0" ,
9392 "strip-ansi" : " ^6.0.1" ,
94- "typescript" : " ^5.6.3"
93+ "typescript" : " ^5.6.3" ,
94+ "typescript-eslint" : " ^8.19.1"
9595 },
9696 "publishConfig" : {
9797 "registry" : " https://registry.npmjs.org"
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { View } from 'react-native';
44let render : ( element : React . ReactElement ) => void ;
55beforeAll ( ( ) => {
66 process . env . RNTL_SKIP_AUTO_CLEANUP = 'true' ;
7+ // eslint-disable-next-line @typescript-eslint/no-require-imports
78 const rntl = require ( '..' ) ;
89 render = rntl . render ;
910} ) ;
Original file line number Diff line number Diff line change 1- /* eslint-disable react/no-multi-comp */
21import * as React from 'react' ;
32import { View } from 'react-native' ;
43import { cleanup , render } from '../pure' ;
You can’t perform that action at this time.
0 commit comments