tsg-ut/mnemo

View on GitHub
stages/8809.js

Summary

Maintainability
A
1 hr
Test Coverage

Function ioGenerator has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    ioGenerator: (random) => {
        const calc = (number) => (
            number.toString().split('').map((digit) => (
                [1, 0, 0, 0, 1, 0, 1, 0, 2, 1][parseInt(digit)]
            )).reduce((previous, current) => previous + current)
Severity: Minor
Found in stages/8809.js - About 1 hr to fix

    Definition for rule 'no-buffer-constructor' was not found
    Open

    const assert = require('assert');
    Severity: Minor
    Found in stages/8809.js by eslint

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

    Definition for rule 'getter-return' was not found
    Open

    const assert = require('assert');
    Severity: Minor
    Found in stages/8809.js by eslint

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

    Definition for rule 'react/no-will-update-set-state' was not found
    Open

    const assert = require('assert');
    Severity: Minor
    Found in stages/8809.js by eslint

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

    Definition for rule 'semi-style' was not found
    Open

    const assert = require('assert');
    Severity: Minor
    Found in stages/8809.js by eslint

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

    Definition for rule 'switch-colon-spacing' was not found
    Open

    const assert = require('assert');
    Severity: Minor
    Found in stages/8809.js by eslint

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

    Definition for rule 'for-direction' was not found
    Open

    const assert = require('assert');
    Severity: Minor
    Found in stages/8809.js by eslint

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

    There are no issues that match your filters.

    Category
    Status