achievement-watcher/celes

View on GitHub
src/lib/utils/generator.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function generateActiveAchievement has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

export function generateActiveAchievement(name: string, unlockTime = 0, achieved: 1 | 0 = 1, currentProgress = 0,
                                          maxProgress = 0): UnlockedOrInProgressAchievement {
Severity: Minor
Found in src/lib/utils/generator.ts - About 35 mins to fix

    Function generateScrapError has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export function generateScrapError(error: Error, pluginName?: string, platform?: Platform, source?: Source,
                                       appId?: string): ScrapError {
    Severity: Minor
    Found in src/lib/utils/generator.ts - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status