brussell98/node-osu

View on GitHub
lib/Base/Beatmap.js

Summary

Maintainability
A
0 mins
Test Coverage

Function constructor has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

    constructor(config, data) {
        const num = getNumeric(config.parseNumeric);

        this.id = data.beatmap_id;
        this.beatmapSetId = data.beatmapset_id;
Severity: Minor
Found in lib/Base/Beatmap.js - About 1 hr to fix

    Parsing error: Invalid ecmaVersion.
    Open

    const { getNumeric } = require('../utils.js');
    Severity: Minor
    Found in lib/Base/Beatmap.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status