pankod/refine

View on GitHub
packages/codemod/src/transformations/v4/add-v3LegacyAuthProviderCompatible-true-to-auth-hooks.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function addV3LegacyAuthProviderCompatibleTrueToAuthHooks has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const addV3LegacyAuthProviderCompatibleTrueToAuthHooks = (
  j: JSCodeshift,
  root: Collection<any>,
) => {
  const authHooks = root.find(j.CallExpression, {

    There are no issues that match your filters.

    Category
    Status