tdreyno/pretty-please

View on GitHub
src/react/useRemoteData.ts

Summary

Maintainability
A
0 mins
Test Coverage

Function useRemoteData has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

export const useRemoteData = <E, S>(
  task: () => Task<E, S>,
): [
  state: RemoteData<E, S>,
  caseof: <R>(
Severity: Minor
Found in src/react/useRemoteData.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status