kodadot/nft-gallery

View on GitHub
composables/massmint/parsers/parseJson.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function parseJson has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function parseJson(jsonData: string): Record<string, Entry> {
  const { $consola } = useNuxtApp()

  try {
    const data = JSON.parse(jsonData)
Severity: Minor
Found in composables/massmint/parsers/parseJson.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status