Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable no-unsafe-member-access eslint rule #43557

Merged
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b825ac9
enable no-member-access rule
bgawkuc Jun 6, 2024
2286f81
add draft solution for require errors
bgawkuc Jun 6, 2024
b60e0ba
override node require interface
bgawkuc Jun 6, 2024
372319f
fix no member access error in navigation files
bgawkuc Jun 6, 2024
f4730ca
fix no member access error in require usages
bgawkuc Jun 6, 2024
4f82ac1
use generic type with require
bgawkuc Jun 6, 2024
7a68f02
fix crashing desktop
bgawkuc Jun 6, 2024
37a8032
fix no member access error for error type
bgawkuc Jun 7, 2024
933a865
fix more no member access errors
bgawkuc Jun 7, 2024
3a80440
fix no unsafe member access errors in tests
bgawkuc Jun 10, 2024
73df95f
fix no unsafe member access errors in tests 2
bgawkuc Jun 11, 2024
74c8147
simplify types
bgawkuc Jun 12, 2024
d5fd866
Merge branch 'main' into ts/enable-no-unsafe-member-access
bgawkuc Jun 12, 2024
a4e6bc6
review adjustments
bgawkuc Jun 12, 2024
d4fbe38
fix kie/act-js types
bgawkuc Jun 13, 2024
64ca929
Merge branch 'main' into ts/enable-no-unsafe-member-access
bgawkuc Jun 13, 2024
04fcd4b
fix kie/act-js types
bgawkuc Jun 13, 2024
852ef29
wip
bgawkuc Jun 14, 2024
d7b053c
improve custom step identifier type
bgawkuc Jun 14, 2024
0dfd63c
remove redundant module
bgawkuc Jun 14, 2024
ba0b925
Merge branch 'main' into ts/enable-no-unsafe-member-access
bgawkuc Jun 17, 2024
c708fe4
Fix @kie/act-js types
blazejkustra Jun 17, 2024
9859158
move EventJSON export to custom module
bgawkuc Jun 17, 2024
2156f68
review adjustments
bgawkuc Jun 18, 2024
feec659
Merge branch 'main' into ts/enable-no-unsafe-member-access
bgawkuc Jun 18, 2024
c47a908
review adjustments
bgawkuc Jun 18, 2024
ece8190
Merge branch 'main' into ts/enable-no-unsafe-member-access
bgawkuc Jun 18, 2024
c5b93db
add error type
bgawkuc Jun 18, 2024
f139618
update RN type
bgawkuc Jun 18, 2024
fefc1a2
Merge branch 'main' into ts/enable-no-unsafe-member-access
blazejkustra Jun 19, 2024
9783a00
Merge branch 'main' into ts/enable-no-unsafe-member-access
blazejkustra Jun 20, 2024
1212d13
Merge branch 'main' into ts/enable-no-unsafe-member-access
blazejkustra Jun 24, 2024
e5907c2
Fix new lint errors
blazejkustra Jun 24, 2024
81a96d8
Merge branch 'main' into ts/enable-no-unsafe-member-access
blazejkustra Jun 24, 2024
683e4c0
Fix lint error
blazejkustra Jun 24, 2024
05f12a4
Merge branch 'main' into ts/enable-no-unsafe-member-access
blazejkustra Jun 25, 2024
15a5db2
Add generic argument to require
blazejkustra Jun 25, 2024
0bb01b7
Remove unnecessary assertion
blazejkustra Jun 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix lint error
  • Loading branch information
blazejkustra committed Jun 24, 2024
commit 683e4c0fec16b949460f5d6232bcfe56feb7558c
3 changes: 2 additions & 1 deletion tests/perf-test/ReportScreen.perf-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type {StackNavigationProp, StackScreenProps} from '@react-navigation/stac
import {screen} from '@testing-library/react-native';
import type {ComponentType} from 'react';
import React from 'react';
import type ReactNative from 'react-native';
import {Dimensions, InteractionManager} from 'react-native';
import Onyx from 'react-native-onyx';
import type Animated from 'react-native-reanimated';
Expand Down Expand Up @@ -50,7 +51,7 @@ jest.mock('react-native/Libraries/Interaction/InteractionManager', () => ({
}));

jest.mock('react-native', () => {
const actualReactNative = jest.requireActual('react-native');
const actualReactNative = jest.requireActual<typeof ReactNative>('react-native');
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return {
...actualReactNative,
Expand Down
Loading