vmpowerio/chartjs-node

View on GitHub

Showing 1 of 1 total issue

Function drawChart has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    drawChart(configuration) {
        // ensure we clean up any existing window if drawChart was called more than once.
        this.destroy();
        return jsdom.envAsync(
            `<html>
Severity: Minor
Found in index.js - About 2 hrs to fix
    Severity
    Category
    Status
    Source
    Language