Skip to content

Commit

Permalink
Disable rules in debug.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Jul 1, 2024
1 parent 22fd2c6 commit e47f7e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/libs/Navigation/linkTo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default function linkTo(navigation: NavigationContainerRef<RootStackParam
// If action type is different than NAVIGATE we can't change it to the PUSH safely
if (action?.type === CONST.NAVIGATION.ACTION_TYPE.NAVIGATE) {
const actionPayloadParams = action.payload.params as ActionPayloadParams;

const topRouteName = lastRoute?.name;

// CentralPane screens aren't nested in any navigator, if actionPayloadParams?.screen is undefined, it means the screen name and parameters have to be read directly from action.payload
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* the app.
*/

/* eslint-disable no-console, testing-library/no-node-access, testing-library/no-debugging-utils, @typescript-eslint/no-unsafe-return, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */
/* eslint-disable no-console, testing-library/no-node-access, testing-library/no-debugging-utils, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */
import type {NewPlugin} from 'pretty-format';
import prettyFormat, {plugins} from 'pretty-format';
import ReactIs from 'react-is';
Expand Down

0 comments on commit e47f7e1

Please sign in to comment.