gerard2p/koaton-cli

View on GitHub
src/support/ExtendedStrings.js

Summary

Maintainability
A
1 hr
Test Coverage

Function add has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    add (...args) {
        let [target, transforms, alias] = args;
        if (target.indexOf(':') === -1) {
            alias = target;
            this.privot[target] = new MutableString(target, transforms);
Severity: Minor
Found in src/support/ExtendedStrings.js - About 1 hr to fix

    TODO found
    Open

                    // TODO: console.log(`Deprecated: Please use only lower strings for the models datatypes (${capitalize(datatype)})`.yellow);
    Severity: Minor
    Found in src/support/ExtendedStrings.js by fixme

    There are no issues that match your filters.

    Category
    Status