pankod/refine

View on GitHub
packages/codemod/src/helpers/separate-imports.ts

Summary

Maintainability
B
4 hrs
Test Coverage

Function separateImports has 114 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function separateImports(payload: {
  j: JSCodeshift;
  source: Collection<any>;
  imports: string[];
  renameImports: { [key: string]: string };
Severity: Major
Found in packages/codemod/src/helpers/separate-imports.ts - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status